{"id":"GHSA-8h3g-hcwp-6hxq","summary":"semver-tags is vulnerable to Command Injection via the getGitTagsRemote function","details":"All versions of the package semver-tags are vulnerable to Command Injection via the getGitTagsRemote function due to improper input sanitization.","aliases":["CVE-2022-25853"],"modified":"2025-03-25T21:46:36Z","published":"2023-02-06T06:30:25Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2023-02-07T20:08:41Z","nvd_published_at":"2023-02-06T05:15:00Z","cwe_ids":["CWE-77","CWE-78"],"severity":"HIGH"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25853"},{"type":"PACKAGE","url":"https://github.com/jtrussell/semver-tags"},{"type":"WEB","url":"https://github.com/jtrussell/semver-tags/blob/db1ba680bafed0d51e1bb36bd38f2c5439fe8b00/lib/get-tags.js#L21"},{"type":"WEB","url":"https://github.com/jtrussell/semver-tags/blob/db1ba680bafed0d51e1bb36bd38f2c5439fe8b00/lib/get-tags.js%23L21"},{"type":"WEB","url":"https://security.snyk.io/vuln/SNYK-JS-SEMVERTAGS-3175612"}],"affected":[{"package":{"name":"semver-tags","ecosystem":"npm","purl":"pkg:npm/semver-tags"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.4.10"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/02/GHSA-8h3g-hcwp-6hxq/GHSA-8h3g-hcwp-6hxq.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}