Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. shescape
  4. ›
  5. CVE-2023-35931

CVE-2023-35931: Cleartext Storage of Sensitive Information in an Environment Variable

June 23, 2023 (updated July 4, 2023)

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.

References

  • github.com/ericcornelissen/shescape/commit/d0fce70f987ac0d8331f93cb45d47e79436173ac
  • github.com/ericcornelissen/shescape/pull/982
  • github.com/ericcornelissen/shescape/releases/tag/v1.7.1
  • github.com/ericcornelissen/shescape/security/advisories/GHSA-3g7p-8qhx-mc8r
  • nvd.nist.gov/vuln/detail/CVE-2023-35931

Code Behaviors & Features

Detect and mitigate CVE-2023-35931 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.7.1

Fixed versions

  • 1.7.1

Solution

Upgrade to version 1.7.1 or above.

Impact 4.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-526: Cleartext Storage of Sensitive Information in an Environment Variable

Source file

npm/shescape/CVE-2023-35931.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:46 +0000.