7.3
HIGH CVSS 3.1
CVE-2024-21532
Git executable Injection in ggit
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.

INFO

Published Date :

Oct. 8, 2024, 5:15 a.m.

Last Modified :

Oct. 10, 2024, 12:57 p.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2024-21532 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

No affected product recoded yet

CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 HIGH [email protected]
Public PoC/Exploit Available at Github

CVE-2024-21532 has a 3 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2024-21532.

URL Resource
https://gist.github.com/lirantal/d8f87b366d2078e6118ab7bf2b005f02
https://security.snyk.io/vuln/SNYK-JS-GGIT-5731320
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-21532 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

CVE POC repo 자동 수집기

Python

Updated: 22 hours, 36 minutes ago
0 stars 1 fork 1 watcher
Born at : June 8, 2025, 3:07 p.m. This repo has been linked 125 different CVEs too.

CVE-2024-21532 PoC ggit

Updated: 3 months, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : May 10, 2025, 2:44 p.m. This repo has been linked 1 different CVEs too.

None

HTML Python Shell

Updated: 1 month, 3 weeks ago
0 stars 0 fork 0 watcher
Born at : Feb. 13, 2025, 8:50 a.m. This repo has been linked 891 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-21532 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2024-21532 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Received by [email protected]

    Oct. 08, 2024

    Action Type Old Value New Value
    Added 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.
    Added Reference Snyk https://security.snyk.io/vuln/SNYK-JS-GGIT-5731320 [No types assigned]
    Added Reference Snyk https://gist.github.com/lirantal/d8f87b366d2078e6118ab7bf2b005f02 [No types assigned]
    Added CWE Snyk CWE-78
    Added CVSS V3.1 Snyk AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 7.3
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact