CVE-2022-25853
HIGH 7.8CVSS 3.1semver-tags is vulnerable to Command Injection via the getGitTagsRemote function
All versions of the package semver-tags are vulnerable to Command Injection via the getGitTagsRemote function due to improper input sanitization.
- Published
- 6 Feb 2023
- Last modified
- 17 Jun 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-77CWE-78
- Also known as
- GHSA-8h3g-hcwp-6hxq
- Sources
- NVDJSONOSV GHSA-8h3g-hcwp-6hxqJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | HIGH 7.4 | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | semver-tags_project | semver-tagscpe:2.3:a:semver-tags_project:semver-tags:-:*:*:*:*:node.js:*:* |
(no version) | |
| OSV | npm | semver-tags | <= 0.4.10 |
References
- https://github.com/jtrussell/semver-tags/blob/db1ba680bafed0d51e1bb36bd38f2c5439fe8b00/lib/get-tags.js%23L21 · Broken Link, WEB
- https://security.snyk.io/vuln/SNYK-JS-SEMVERTAGS-3175612 · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-25853 · ADVISORY
- https://github.com/jtrussell/semver-tags · PACKAGE
- https://github.com/jtrussell/semver-tags/blob/db1ba680bafed0d51e1bb36bd38f2c5439fe8b00/lib/get-tags.js#L21 · WEB
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 6 Feb 2023)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 6 Feb 2023)