logo

CVE-2024-21533 ggit

Package

Manager: npm
Name: ggit
Vulnerable Version: >=0 <=2.4.12

Severity

Level: Medium

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

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N

EPSS: 0.00047 pctl0.14022

Details

ggit is vulnerable to Arbitrary Argument Injection via the clone() API 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.

Metadata

Created: 2024-10-08T06:30:48Z
Modified: 2024-10-08T14:38:54Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/10/GHSA-pr45-cg4x-ff4m/GHSA-pr45-cg4x-ff4m.json
CWE IDs: ["CWE-88"]
Alternative ID: GHSA-pr45-cg4x-ff4m
Finding: F014
Auto approve: 1