{"id":"CVE-2022-25853","aliases":["GHSA-8h3g-hcwp-6hxq"],"summary":"All versions of the package semver-tags are vulnerable to Command Injection via the getGitTagsRemote function due to improper input sanitization.","published_at":"2023-02-06T00:00:00Z","modified_at":"2025-03-25T21:46:36Z","products":[],"rating":{"severity":"high","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","attack_path":"local","user_interaction":false,"malicious":false,"red_hat":"Moderate","vendor_ratings":[{"source":"Red Hat","rating":"Moderate"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.010889999568462372,"percentile":0.6609600186347961,"date":"2026-11-19T00:00:00Z"},"priority":7.3,"details":"All versions of the package semver-tags are vulnerable to Command Injection via the getGitTagsRemote function due to improper input sanitization.","affected_stack":[],"affected_other":[{"ecosystem":"npm","package":"semver-tags","purl":"pkg:npm/semver-tags","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.4.10"}]}],"provider":"osv","source":"GHSA-8h3g-hcwp-6hxq","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Red Hat Decision Manager 7","cpe":"cpe:/a:redhat:jboss_enterprise_brms_platform:7","status":"not_affected","packages":["semver-tags"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2022-25853"},{"vendor":"Red Hat","product":"Red Hat Discovery 1","cpe":"cpe:/a:redhat:discovery:1","status":"not_affected","packages":["discovery-server-container"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2022-25853"},{"vendor":"Red Hat","product":"Red Hat Integration Camel K 1","cpe":"cpe:/a:redhat:camel_k:1","status":"not_affected","packages":["semver-tags"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2022-25853"},{"vendor":"Red Hat","product":"Red Hat OpenShift Dev Spaces","cpe":"cpe:/a:redhat:openshift_devspaces:3","status":"not_affected","packages":["devspaces/dashboard-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2022-25853"},{"vendor":"Red Hat","product":"Red Hat OpenShift distributed tracing 2","cpe":"cpe:/a:redhat:openshift_distributed_tracing:2","status":"affected","packages":["rhosdt/jaeger-agent-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2022-25853"},{"vendor":"Red Hat","product":"Red Hat build of Apicurio Registry 2","cpe":"cpe:/a:redhat:service_registry:2","status":"not_affected","packages":["semver-tags"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2022-25853"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2022-25853","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2022-25853","license":"CC-BY-4.0","published_at":"2023-02-06T05:00:01.967Z","modified_at":"2025-03-25T18:10:39.844Z","summary":"All versions of the package semver-tags are vulnerable to Command Injection via the getGitTagsRemote function due to improper input sanitization.","details":"All versions of the package semver-tags are vulnerable to Command Injection via the getGitTagsRemote function due to improper input sanitization.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P","source":"CVE-2022-25853"}],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://security.snyk.io/vuln/SNYK-JS-SEMVERTAGS-3175612"},{"type":"WEB","url":"https://github.com/jtrussell/semver-tags/blob/db1ba680bafed0d51e1bb36bd38f2c5439fe8b00/lib/get-tags.js%23L21"}]},{"provider":"osv","source_id":"GHSA-8h3g-hcwp-6hxq","relation":"self","url":"https://osv.dev/vulnerability/GHSA-8h3g-hcwp-6hxq","license":"CC-BY-4.0","published_at":"2023-02-06T06:30:25Z","modified_at":"2025-03-25T21:46:36Z","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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"GHSA-8h3g-hcwp-6hxq"}],"affected":[{"ecosystem":"npm","package":"semver-tags","purl":"pkg:npm/semver-tags","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.4.10"}]}],"provider":"osv","source":"GHSA-8h3g-hcwp-6hxq","relation":"self"}],"product_status":[],"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"}]},{"provider":"redhat-vex","source_id":"CVE-2022-25853","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2022-25853","license":"CC-BY-4.0","published_at":"2023-02-06T00:00:00Z","modified_at":"2025-03-25T19:20:08Z","summary":"semver-tags: Command Injection via the getGitTagsRemote function in semver-tags","details":"All versions of the package semver-tags are vulnerable to Command Injection via the getGitTagsRemote function due to improper input sanitization.\r\r","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"CVE-2022-25853"},{"type":"Red Hat","score":"Moderate","source":"CVE-2022-25853"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Red Hat Decision Manager 7","cpe":"cpe:/a:redhat:jboss_enterprise_brms_platform:7","status":"not_affected","packages":["semver-tags"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2022-25853"},{"vendor":"Red Hat","product":"Red Hat Discovery 1","cpe":"cpe:/a:redhat:discovery:1","status":"not_affected","packages":["discovery-server-container"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2022-25853"},{"vendor":"Red Hat","product":"Red Hat Integration Camel K 1","cpe":"cpe:/a:redhat:camel_k:1","status":"not_affected","packages":["semver-tags"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2022-25853"},{"vendor":"Red Hat","product":"Red Hat OpenShift Dev Spaces","cpe":"cpe:/a:redhat:openshift_devspaces:3","status":"not_affected","packages":["devspaces/dashboard-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2022-25853"},{"vendor":"Red Hat","product":"Red Hat OpenShift distributed tracing 2","cpe":"cpe:/a:redhat:openshift_distributed_tracing:2","status":"affected","packages":["rhosdt/jaeger-agent-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2022-25853"},{"vendor":"Red Hat","product":"Red Hat build of Apicurio Registry 2","cpe":"cpe:/a:redhat:service_registry:2","status":"not_affected","packages":["semver-tags"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2022-25853"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-25853.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2022-25853"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2167563"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2022-25853"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25853"}]}],"references":[{"type":"WEB","url":"https://security.snyk.io/vuln/SNYK-JS-SEMVERTAGS-3175612"},{"type":"WEB","url":"https://github.com/jtrussell/semver-tags/blob/db1ba680bafed0d51e1bb36bd38f2c5439fe8b00/lib/get-tags.js%23L21"},{"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://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-25853.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2022-25853"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2167563"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2022-25853"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2022-25853","url":"https://www.cve.org/CVERecord?id=CVE-2022-25853","license":"CC-BY-4.0","modified_at":"2025-03-25T18:10:39.844Z","relation":"self"},{"provider":"osv","source_id":"GHSA-8h3g-hcwp-6hxq","url":"https://osv.dev/vulnerability/GHSA-8h3g-hcwp-6hxq","license":"CC-BY-4.0","modified_at":"2025-03-25T21:46:36Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2022-25853","url":"https://access.redhat.com/security/cve/CVE-2022-25853","license":"CC-BY-4.0","modified_at":"2025-03-25T19:20:08Z","relation":"self"}]}
