CVE-2024-21532

high

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.

References

https://security.snyk.io/vuln/SNYK-JS-GGIT-5731320

https://gist.github.com/lirantal/d8f87b366d2078e6118ab7bf2b005f02

Details

Source: Mitre, NVD

Published: 2024-10-08

Updated: 2024-10-10

Risk Information

CVSS v2

Base Score: 7.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Severity: High

CVSS v3

Base Score: 7.3

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

Severity: High