CVE-2022-25853 json
semver-tags is vulnerable to Command Injection via the getGitTagsRemote function
published 2023-02-06 3 y ago modified 2026-06-17 4 mo ago also GHSA-8h3g-hcwp-6hxq , EUVD-2023-0667
- cvss
- 7.4
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.1%
- EPSS 1.1% chance of exploitation in 30 days, percentile 65%
- public exploits
- 0
- none known
Summary
All versions of the package semver-tags are vulnerable to Command Injection via the getGitTagsRemote function due to improper input sanitization.
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-25853 updated cvss 7.4
semver-tags: Command Injection via the getGitTagsRemote function in semver-tags
-
Red Hat OpenShift distributed tracing 2 rhosdt/jaeger-agent-rhel8affected: no fix planned “Will not fix”
-
Red Hat build of Apicurio Registry 2 semver-tags semver-tags Red Hat Decision Manager 7 semver-tags semver-tags Red Hat Discovery 1 discovery-server-container Red Hat Integration Camel K 1 semver-tags semver-tags Red Hat OpenShift Dev Spaces devspaces/dashboard-rhel8not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 19 mo ago
Exploit prediction
1.08% chance of exploitation in the next 30 days, higher than 65% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- security.snyk.io https://security.snyk.io/vuln/SNYK-JS-SEMVERTAGS-3175612 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.4 | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P |
| CNA | 3.1 | 7.4 | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | semver-tags | <=0.4.10 |
no fix listed |
Affected products
- n/a semver-tags
Classification
References
-
security.snyk.io
/vuln/SNYK-JS-SEMVERTAGS-3175612
web, exploit, third-party-advisory
-
github.com
/jtrussell/semver-tags/blob/db1ba680bafed0d51e1bb36bd38f2c5439fe8b00/lib/get-tags.js%23L21
web, broken-link
-
nvd.nist.gov
/vuln/detail/CVE-2022-25853
advisory
-
github.com
/jtrussell/semver-tags
package
-
github.com
/jtrussell/semver-tags/blob/db1ba680bafed0d51e1bb36bd38f2c5439fe8b00/lib/get-tags.js#L21
web
Sources
- CVE List CVE-2022-25853
- GitHub Advisory GHSA-8h3g-hcwp-6hxq
- NVD CVE-2022-25853
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.