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

CVE-2023-40185: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

August 23, 2023 (updated September 1, 2023)

Improper Neutralization of Special Elements used in an OS Command (‘OS Command Injection’) in shescape.

References

  • github.com/advisories/GHSA-j55r-787p-m549
  • github.com/ericcornelissen/shescape/commit/0b976dab645abf45ffd85e74a8c6e51ee2f42d63
  • github.com/ericcornelissen/shescape/pull/1142
  • github.com/ericcornelissen/shescape/releases/tag/v1.7.4
  • github.com/ericcornelissen/shescape/security/advisories/GHSA-j55r-787p-m549

Code Behaviors & Features

Detect and mitigate CVE-2023-40185 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.4

Fixed versions

  • 1.7.4

Solution

Upgrade to version 1.7.4 or above.

Impact 8.6 HIGH

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

Learn more about CVSS

Weakness

  • CWE-150: Improper Neutralization of Escape, Meta, or Control Sequences

Source file

npm/shescape/CVE-2023-40185.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:39 +0000.