The package get-npm-package-version before 1.0.7 are vulnerable to Command Injection via main function in index.js.
The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component.
Link | Tags |
---|---|
https://security.snyk.io/vuln/SNYK-JS-GETNPMPACKAGEVERSION-1050390 | patch third party advisory exploit |
https://www.npmjs.com/package/get-npm-package-version/v/1.0.6 | third party advisory release notes |
https://github.com/hoperyy/get-npm-package-version/blob/338a5882298eb2c2194538db41166cae13c39e03/index.js%23L17 | broken link |
https://github.com/hoperyy/get-npm-package-version/commit/40b1cf31a0607ea66f9e30a0c3af1383b52b2dec | third party advisory patch |