CVE-2023-35931 Shescape potential environment variable exposure on Windows with CMD

Low 3.1 Published Updated
Exploited in the wild
Not known
Fix
Available

What is CVE-2023-35931?

CVE-2023-35931 is a low-severity vulnerability in ericcornelissen shescape, published on 23 Jun 2023.

Official description

Shescape is a simple shell escape library for JavaScript. An attacker may be able to get read-only access to environment variables. This bug has been patched in version 1.7.1.

Weakness: CWE-526

Which versions are affected by CVE-2023-35931?

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

PackageAffectedFixed in
shescape npmAll versions1.7.1
shescape npmAll versions1.7.1

Products include Shescape Project Shescape.

How do I fix CVE-2023-35931?

Upgrade shescape to 1.7.1 or later.

Is CVE-2023-35931 being exploited?

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

Sources

Also known as GHSA-3g7p-8qhx-mc8r.

Is CVE-2023-35931 in your software?

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

Check your SBOMs for free