Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. node-windows
  4. ›
  5. CVE-2021-45459

CVE-2021-45459: Improper Neutralization of Special Elements used in a Command ('Command Injection')

December 22, 2021 (updated March 29, 2022)

lib/cmd.js in the node-windows package for Node.js allows command injection via the PID parameter.

References

  • github.com/coreybutler/node-windows/compare/1.0.0-beta.5...1.0.0-beta.6
  • github.com/dwisiswant0/advisory/issues/4
  • nvd.nist.gov/vuln/detail/CVE-2021-45459

Code Behaviors & Features

Detect and mitigate CVE-2021-45459 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions up to 0.1.14, version 1.0.0

Solution

Unfortunately, there is no solution available yet.

Impact 9.8 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')

Source file

npm/node-windows/CVE-2021-45459.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:16:34 +0000.