CVE-2024-21533

medium

Description

All versions of the package ggit are vulnerable to Arbitrary Argument Injection via the clone() API, which allows specifying the remote URL to clone and the file on disk to clone to. The library does not sanitize for user input or validate a given URL scheme, nor does it properly pass command-line flags to the git binary using the double-dash POSIX characters (--) to communicate the end of options.

References

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

https://gist.github.com/lirantal/80c6d59ac1b682a32bc9d2ff92044bb9

Details

Source: Mitre, NVD

Published: 2024-10-08

Updated: 2024-10-10

Risk Information

CVSS v2

Base Score: 6.4

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

Severity: Medium

CVSS v3

Base Score: 6.5

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

Severity: Medium