high7.8
CVE-2022-25853
semver-tags is vulnerable to Command Injection via the getGitTagsRemote function
Impact
All versions of the package semver-tags are vulnerable to Command Injection via the getGitTagsRemote function due to improper input sanitization.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | semver-tags | <= 0.4.10 | none recorded |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Semver-Tags Project | Semver-Tags | All versions |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/jtrussell/semver-tags/blob/db1ba680bafed0d51e1bb36bd38f2c5439fe8b00/lib/get-tags.js%23L21
- https://security.snyk.io/vuln/SNYK-JS-SEMVERTAGS-3175612
- https://github.com/advisories/GHSA-8h3g-hcwp-6hxq
- https://nvd.nist.gov/vuln/detail/CVE-2022-25853
- https://github.com/jtrussell/semver-tags/blob/db1ba680bafed0d51e1bb36bd38f2c5439fe8b00/lib/get-tags.js#L21