GHSA-74cp-qw7f-7hpw Path Traversal in statics-server

Not scored Published

Attackers can read arbitrary server files via path traversal in statics-server due to insufficient input 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-74cp-qw7f-7hpw?

GHSA-74cp-qw7f-7hpw is a path traversal vulnerability in statics-server, published on 5 Jun 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

All versions of statics-server are vulnerable to Path Traversal. Due to insufficient input sanitization, attackers can access server files by using relative paths.

Recommendation

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

Which versions are affected by GHSA-74cp-qw7f-7hpw?

2 open source packages ship an affected version, including statics-server.

PackageAffectedFixed in
statics-server npmAll versions to 0.0.9None
statics-server npmAll versions to 0.0.9None

How do I fix GHSA-74cp-qw7f-7hpw?

No fix has been published for GHSA-74cp-qw7f-7hpw 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-74cp-qw7f-7hpw being exploited?

There is no known exploitation of GHSA-74cp-qw7f-7hpw in the wild and no public exploit code.

Sources

Is GHSA-74cp-qw7f-7hpw in your software?

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

Check your SBOMs for free