Products
git-shallow-clone
Source
report@snyk.io
Tags
CVE-2024-21531 details
Published : Oct. 1, 2024, 5:15 a.m.
Last Modified : Oct. 1, 2024, 5:15 a.m.
Last Modified : Oct. 1, 2024, 5:15 a.m.
Description
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.
CVSS Score
1 | 2 | 3 | 4 | 5.3 | 6 | 7 | 8 | 9 | 10 |
---|
Weakness
Weakness | Name | Description |
---|---|---|
CWE-78 | Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') | The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component. |
CVSS Data
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
LOW
Scope
UNCHANGED
Confidentiality Impact
LOW
Integrity Impact
LOW
Availability Impact
LOW
Base Score
5.3
Exploitability Score
1.8
Impact Score
3.4
Base Severity
MEDIUM
Vector String : CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
References
URL | Source |
---|---|
https://github.com/10uei011/git-shallow-clone/blob/master/index.js%23L27 | report@snyk.io |
https://security.snyk.io/vuln/SNYK-JS-GITSHALLOWCLONE-3253853 | report@snyk.io |
This website uses the NVD API, but is not approved or certified by it.