GHSA-vx5w-cxch-wwc9 Path Traversal in f-serv

Not scored Published

Attackers can read arbitrary server files via path traversal in f-serv due to insufficient URL sanitization.

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

What is GHSA-vx5w-cxch-wwc9?

GHSA-vx5w-cxch-wwc9 is a path traversal vulnerability in f-serv, published on 3 Sep 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

All versions of f-serv are vulnerable to Path Traversal. Due to insufficient input sanitization in URLs, attackers can access server files by using relative paths when fetching files.

Recommendation

No fix is currently available. Consider using an alternative package until a fix is made available.

Which versions are affected by GHSA-vx5w-cxch-wwc9?

2 open source packages ship an affected version, including f-serv.

PackageAffectedFixed in
f-serv npmFrom 0.0.0None
f-serv npmFrom 0.0.0None

How do I fix GHSA-vx5w-cxch-wwc9?

No fix has been published for GHSA-vx5w-cxch-wwc9 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 GHSA-vx5w-cxch-wwc9 being exploited?

There is no known exploitation of GHSA-vx5w-cxch-wwc9 in the wild and no public exploit code.

Sources

Is GHSA-vx5w-cxch-wwc9 in your software?

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

Check your SBOMs for free