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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | shescape | 1.7.1 | GHSA-3g7p-8qhx-mc8r |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 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
- https://github.com/ericcornelissen/shescape/security/advisories/GHSA-3g7p-8qhx-mc8r x_refsource_CONFIRM
- https://github.com/ericcornelissen/shescape/pull/982 x_refsource_MISC
- https://github.com/ericcornelissen/shescape/commit/d0fce70f987ac0d8331f93cb45d47e79436173ac x_refsource_MISC
- https://github.com/ericcornelissen/shescape/releases/tag/v1.7.1 x_refsource_MISC