{"id":"CVE-2022-25853","aliases":["CVE-2022-25853","GHSA-8h3g-hcwp-6hxq"],"related":[],"kind":"vulnerability","state":"published","title":"semver-tags is vulnerable to Command Injection via the getGitTagsRemote function","summary":"All versions of the package semver-tags are vulnerable to Command Injection via the getGitTagsRemote function due to improper input sanitization.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"All versions of the package semver-tags are vulnerable to Command Injection via the getGitTagsRemote function due to improper input sanitization.","source":"cvelist"}],"published":"2023-02-06T05:00:01.967Z","modified":"2026-06-17T04:34:23.653Z","severity":{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P","score":7.4,"rating":"HIGH"},"severities":[{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P","score":7.4,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-77","CWE-78"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"*","status":"affected"}],"product":"semver-tags","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"0.4.10"}],"ecosystem":"npm","package":"semver-tags","purl":"pkg:npm/semver-tags","source":"ghsa"},{"ranges":[],"vendor":"semver-tags_project","product":"semver-tags","cpe":"cpe:2.3:a:semver-tags_project:semver-tags:-:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-SEMVERTAGS-3175612","tags":["exploit","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/jtrussell/semver-tags/blob/db1ba680bafed0d51e1bb36bd38f2c5439fe8b00/lib/get-tags.js%23L21","tags":["broken-link","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25853","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/jtrussell/semver-tags","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/jtrussell/semver-tags/blob/db1ba680bafed0d51e1bb36bd38f2c5439fe8b00/lib/get-tags.js#L21","tags":["web"],"sources":["ghsa"]}],"credits":["Junmin Zhu at SJTU","JHU System Security Lab"],"assigner":"snyk","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2025-03-25T18:08:14.342Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-25853","url":"https://www.cve.org/CVERecord?id=CVE-2022-25853","licence":"CVE Terms of Use","modified":"2025-03-25T18:10:39.844Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-8h3g-hcwp-6hxq","url":"https://github.com/advisories/GHSA-8h3g-hcwp-6hxq","licence":"CC-BY-4.0","modified":"2025-03-25T21:46:36.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-25853","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25853","licence":"Public domain","modified":"2026-06-17T04:34:23.653Z"}],"updatedAt":"2026-11-25T22:58:18.504Z","epss":{"score":0.01089,"percentile":0.66321,"date":"2026-12-01T12:00:22.000Z"}}