Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @npmcli/git
  4. ›
  5. GMS-2021-25

GMS-2021-25: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

August 5, 2021

Improper Neutralization of Special Elements used in an OS Command (‘OS Command Injection’) in @npmcli/git.

References

  • github.com/advisories/GHSA-hxwm-x553-x359
  • github.com/npm/git/pull/29
  • github.com/npm/git/security/advisories/GHSA-hxwm-x553-x359

Code Behaviors & Features

Detect and mitigate GMS-2021-25 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 2.0.8

Fixed versions

  • 2.0.8

Solution

Upgrade to version 2.0.8 or above.

Weakness

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

npm/@npmcli/git/GMS-2021-25.yml

Spotted a mistake? Edit the file on GitLab.

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

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