CVE-2021-23430 Directory Traversal

High 7.5 Published Updated

Attackers can read arbitrary files from the server due to missing input sanitization in the startserver npm package.

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

What is CVE-2021-23430?

CVE-2021-23430 is a high-severity path traversal vulnerability in startserver, published on 24 Aug 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

All versions of package startserver are vulnerable to Directory Traversal due to missing sanitization.

Weakness: CWE-22

Which versions are affected by CVE-2021-23430?

2 open source packages ship an affected version, including startserver. It affects 1 product.

PackageAffectedFixed in
startserver npmAll versions to 1.4.1None
startserver npmAll versions to 1.4.1None

Products include Startserver Project Startserver.

How do I fix CVE-2021-23430?

No fix has been published for CVE-2021-23430 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-2021-23430 being exploited?

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

Sources

Also known as GHSA-hqv3-qq72-78cv.

Is CVE-2021-23430 in your software?

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

Check your SBOMs for free