Skip to main content
← All vulnerabilities
CVE-2024-21532GHSA-62CX-5XJ4-WFM4

All versions of the package ggit are vulnerable to Command Injection via the fetchTags(branch) API, which allows user input to specify the b

Published
Last modified
published
Not listed in CISA KEV
1 proof of concept on GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

All versions of the package ggit are vulnerable to Command Injection via the fetchTags(branch) API, which allows user input to specify the branch to be fetched and then concatenates this string along with a git command which is then passed to the unsafe exec() Node.js child process API.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • n/a ggit

    All versions

  • ggitnpm

    through 2.4.12

References 3

security.snyk.io

gist.github.com

GitHub · lirantal/CVE-2024-21532-PoC-ggit