CVE-2022-25853: semver-tags is vulnerable to Command Injection via the getGitTagsRemote function
(updated )
All versions of the package semver-tags are vulnerable to Command Injection via the getGitTagsRemote function due to improper input sanitization.
References
- github.com/advisories/GHSA-8h3g-hcwp-6hxq
- github.com/jtrussell/semver-tags
- github.com/jtrussell/semver-tags/blob/db1ba680bafed0d51e1bb36bd38f2c5439fe8b00/lib/get-tags.js
- github.com/jtrussell/semver-tags/blob/db1ba680bafed0d51e1bb36bd38f2c5439fe8b00/lib/get-tags.js%23L21
- nvd.nist.gov/vuln/detail/CVE-2022-25853
- security.snyk.io/vuln/SNYK-JS-SEMVERTAGS-3175612
Code Behaviors & Features
Detect and mitigate CVE-2022-25853 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →