Exploitation Summary
EIP tracks 1 public exploit for CVE-2024-21532. PoCs published by lirantal.
AI-analyzed exploit summary The repository contains a functional proof-of-concept for CVE-2024-21532, demonstrating a command injection vulnerability in the `ggit` npm package. The exploit leverages unsafe string concatenation in the `fetchTags` API, allowing arbitrary command execution via the `exec()` Node.js child process API.
Description
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.
Exploits (1)
The repository contains a functional proof-of-concept for CVE-2024-21532, demonstrating a command injection vulnerability in the `ggit` npm package. The exploit leverages unsafe string concatenation in the `fetchTags` API, allowing arbitrary command execution via the `exec()` Node.js child process API.
References (3)
Scores
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L