Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. windows-cpu
  4. ›
  5. GMS-2017-133

GMS-2017-133: Command Execution

May 19, 2017

The findLoad method passes a provided string directly to the shell, allowing arbitrary command execution.

References

  • github.com/KyleRoss/windows-cpu/blob/master/index.js

Code Behaviors & Features

Detect and mitigate GMS-2017-133 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

Solution

Avoid passing user input to the findLoad method. If you must, pass user input through a sanitizer (such as a shell escaping tool) prior to passing it to findLoad.

Source file

npm/windows-cpu/GMS-2017-133.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:15:25 +0000.