The package get-npm-package-version before 1.0.7 are vulnerable to Command Injection via main function in index.js.
References
Link | Resource |
---|---|
https://www.npmjs.com/package/get-npm-package-version/v/1.0.6 | Release Notes Third Party Advisory |
https://security.snyk.io/vuln/SNYK-JS-GETNPMPACKAGEVERSION-1050390 | Exploit Patch Third Party Advisory |
https://github.com/hoperyy/get-npm-package-version/commit/40b1cf31a0607ea66f9e30a0c3af1383b52b2dec | Patch Third Party Advisory |
https://github.com/hoperyy/get-npm-package-version/blob/338a5882298eb2c2194538db41166cae13c39e03/index.js%23L17 | Broken Link |
Configurations
Configuration 1 (hide)
|
Information
Published : 2022-08-02 07:15
Updated : 2022-08-05 08:58
NVD link : CVE-2020-7795
Mitre link : CVE-2020-7795
JSON object : View
CWE
CWE-77
Improper Neutralization of Special Elements used in a Command ('Command Injection')
Products Affected
get-npm-package-version_project
- get-npm-package-version