CVE-2022-3939 lanyulei ferry API file.go path traversal

Medium 6.3 Published Updated

Remote attackers can exploit a path traversal vulnerability in the ferry API to read arbitrary files from the server.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2022-3939?

CVE-2022-3939 is a medium-severity path traversal vulnerability in lanyulei ferry, published on 11 Nov 2022. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A vulnerability, which was classified as critical, has been found in lanyulei ferry. Affected by this issue is some unknown functionality of the file apis/public/file.go of the component API. The manipulation of the argument file leads to path traversal. The attack may be launched remotely. VDB-213446 is the identifier assigned to this vulnerability.

Weakness: CWE-22

Which versions are affected by CVE-2022-3939?

It affects 1 product.

Products include Ferry Project Ferry.

How do I fix CVE-2022-3939?

No fix has been published for CVE-2022-3939 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2022-3939 being exploited?

There is no known exploitation of CVE-2022-3939 in the wild and no public exploit code.

Sources

Also known as GHSA-q939-gqg6-jqvf.

Is CVE-2022-3939 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free