Vulnerability · Published Jun 23, 2023 · Assigned by GitHub_M

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

Low 3.1

In plain English

A low-severity security flaw in shescape from ericcornelissen. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 57% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)3.1Low
Exploit odds (30 days)0.8%top 42.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmshescape1.7.1GHSA-3g7p-8qhx-mc8r

Affected products (as reported)

VendorProductVersions
ericcornelissen shescape < 1.7.1

Weakness: CWE-526 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N

References