GHSA-8h3g-hcwp-6hxq
semver-tags is vulnerable to Command Injection via the getGitTagsRemote function
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | semver-tags | <= 0.4.10 | no fix listed |
Details
As written in the advisory (Markdown source, shown as plain text).
All versions of the package semver-tags are vulnerable to Command Injection via the getGitTagsRemote function due to improper input sanitization.
References
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2022-25853
- https://github.com/jtrussell/semver-tags
- https://github.com/jtrussell/semver-tags/blob/db1ba680bafed0d51e1bb36bd38f2c5439fe8b00/lib/get-tags.js#L21
- https://github.com/jtrussell/semver-tags/blob/db1ba680bafed0d51e1bb36bd38f2c5439fe8b00/lib/get-tags.js%23L21
- https://security.snyk.io/vuln/SNYK-JS-SEMVERTAGS-3175612