GHSA-pr45-cg4x-ff4m

Suggest an improvement
Source
https://github.com/advisories/GHSA-pr45-cg4x-ff4m
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/10/GHSA-pr45-cg4x-ff4m/GHSA-pr45-cg4x-ff4m.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-pr45-cg4x-ff4m
Aliases
  • CVE-2024-21533
Published
2024-10-08T06:30:48Z
Modified
2024-10-08T15:12:10.916712Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L CVSS Calculator
  • 6.9 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
ggit is vulnerable to Arbitrary Argument Injection via the clone() API
Details

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.

Database specific
{
    "github_reviewed_at": "2024-10-08T14:38:54Z",
    "cwe_ids": [
        "CWE-88"
    ],
    "nvd_published_at": "2024-10-08T05:15:14Z",
    "severity": "MODERATE",
    "github_reviewed": true
}
References

Affected packages

npm / ggit

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
2.4.12