Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS1xd3JxLXZ4dnctNTM3cs4AA_4l
git-shallow-clone OS Command Injection vulnerability
All versions of the package git-shallow-clone are vulnerable to Command injection due to missing sanitization or mitigation flags in the process variable of the gitShallowClone function.
Permalink: https://github.com/advisories/GHSA-qwrq-vxvw-537rJSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1xd3JxLXZ4dnctNTM3cs4AA_4l
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: 12 days ago
Updated: 12 days ago
CVSS Score: 5.3
CVSS vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Identifiers: GHSA-qwrq-vxvw-537r, CVE-2024-21531
References:
- https://nvd.nist.gov/vuln/detail/CVE-2024-21531
- https://security.snyk.io/vuln/SNYK-JS-GITSHALLOWCLONE-3253853
- https://github.com/10uei011/git-shallow-clone/blob/master/index.js#L27
- https://github.com/advisories/GHSA-qwrq-vxvw-537r
Blast Radius: 3.2
Affected Packages
npm:git-shallow-clone
Dependent packages: 3Dependent repositories: 4
Downloads: 18 last month
Affected Version Ranges: <= 0.0.2
No known fixed version
All affected versions: 0.0.1, 0.0.2