{"id":"CVE-2022-25853","aliases":["EUVD-2023-0667","GHSA-8h3g-hcwp-6hxq"],"status":"published","title":"semver-tags is vulnerable to Command Injection via the getGitTagsRemote function","description":"All versions of the package semver-tags are vulnerable to Command Injection via the getGitTagsRemote function due to improper input sanitization.","severity":{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-12","score":0.01078,"percentile":0.65506,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-77","CWE-78"],"published":"2023-02-06T05:00:01Z","modified":"2026-06-17T04:34:23Z","affected":[{"source":"ghsa","ecosystem":"npm","package":"semver-tags","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.4.10"}]}]},{"source":"osv","ecosystem":"npm","package":"semver-tags","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.4.10"}]}]}],"products":[{"vendor":"semver-tags_project","product":"semver-tags"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-SEMVERTAGS-3175612","tags":["x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://github.com/jtrussell/semver-tags/blob/db1ba680bafed0d51e1bb36bd38f2c5439fe8b00/lib/get-tags.js%23L21","tags":["x_transferred","Broken Link","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25853","tags":["advisory"]},{"url":"https://github.com/jtrussell/semver-tags/blob/db1ba680bafed0d51e1bb36bd38f2c5439fe8b00/lib/get-tags.js#L21","tags":["web"]},{"url":"https://github.com/advisories/GHSA-8h3g-hcwp-6hxq"},{"url":"https://github.com/jtrussell/semver-tags","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2022-25853","description":"All versions of the package semver-tags are vulnerable to Command Injection via the getGitTagsRemote function due to improper input sanitization.\r\r","status":"published","published":"2023-02-06T05:00:01.967Z","modified":"2025-03-25T18:10:39.844Z","cvss":[{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P","level":"high","assessor":"cna"}],"cwes":["CWE-78","CWE-78"],"updated_at":"2026-11-02T14:34:28.707644Z"}],"euvd":[{"id":"EUVD-2023-0667","description":"All versions of the package semver-tags are vulnerable to Command Injection via the getGitTagsRemote function due to improper input sanitization.\r\r","status":"published","published":"2023-02-06T05:00:01Z","modified":"2025-03-25T18:10:39Z","cvss":[{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P","level":"high"}],"updated_at":"2026-11-02T20:52:52.192094Z"}],"ghsa":[{"id":"GHSA-8h3g-hcwp-6hxq","title":"semver-tags is vulnerable to Command Injection via the getGitTagsRemote function","description":"All versions of the package semver-tags are vulnerable to Command Injection via the getGitTagsRemote function due to improper input sanitization.","status":"published","published":"2023-02-06T06:30:25Z","modified":"2025-03-25T21:46:37Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-77","CWE-78"],"updated_at":"2026-11-02T14:38:36.51789Z"}],"nvd":[{"id":"CVE-2022-25853","description":"All versions of the package semver-tags are vulnerable to Command Injection via the getGitTagsRemote function due to improper input sanitization.\r\r","status":"published","published":"2023-02-06T05:15:11.857Z","modified":"2026-06-17T04:34:23.653Z","cvss":[{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"secondary"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T14:07:36.026349Z"}],"osv":[{"id":"GHSA-8h3g-hcwp-6hxq","title":"semver-tags is vulnerable to Command Injection via the getGitTagsRemote function","description":"All versions of the package semver-tags are vulnerable to Command Injection via the getGitTagsRemote function due to improper input sanitization.","status":"published","published":"2023-02-06T06:30:25Z","modified":"2025-03-25T21:46:36Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-77","CWE-78"],"updated_at":"2026-11-02T15:46:42.437513Z"}]}}
