CVE-2024-21532

HIGHCVSS 7.3/10EPSS 1.25%

Last modified

CVE-2024-21532 is a high-severity vulnerability rated 7.3/10 on the CVSS scale. 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.. EPSS estimates a 1.25% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
7.3/10

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

EPSS Probability
1.25%

65.5th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

References

Timeline

Published
Last Modified
Status
Deferred

Frequently Asked Questions

What is CVE-2024-21532?
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.
How severe is CVE-2024-21532?
CVE-2024-21532 has a CVSS score of 7.3/10 (HIGH severity). The EPSS model estimates a 1.25% probability of exploitation in the next 30 days.
How do I fix CVE-2024-21532?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2024-21532?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST