{"id":"CVE-2022-25171","summary":"Command Injection","details":"The package p4 before 0.0.7 are vulnerable to Command Injection via the run() function due to improper input sanitization","aliases":["GHSA-jfm8-hwhg-r6gg"],"modified":"2026-08-12T03:51:48.910558701Z","published":"2022-12-20T05:15:11.260Z","database_specific":{"unresolved_ranges":[{"source":"AFFECTED_FIELD","extracted_events":[{"fixed":"0.0.7"}]},{"extracted_events":[{"introduced":"p4"},{"fixed":"0.0.7"}],"source":"DESCRIPTION"}],"cna_assigner":"snyk","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/25xxx/CVE-2022-25171.json"},"references":[{"type":"WEB","url":"https://github.com/natelong/p4/blob/master/p4.js%23L12"},{"type":"WEB","url":"https://security.snyk.io/vuln/SNYK-JS-P4-3167330"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/25xxx/CVE-2022-25171.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25171"},{"type":"FIX","url":"https://github.com/natelong/p4/commit/ae42e251beabf67c00539ec0e1d7aa149ca445fb"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/natelong/p4","events":[{"introduced":"0"},{"fixed":"ae42e251beabf67c00539ec0e1d7aa149ca445fb"}],"database_specific":{"source":"REFERENCES"}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-25171.json"}}],"schema_version":"1.9.0","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"}]}