{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2022-25171","published":"2022-12-20T05:15:11.260000Z","last_modified":"2026-06-17T04:33:08.740000Z","status":"Modified","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-78"],"cpes":[{"criteria":"cpe:2.3:a:p4_project:p4:*:*:*:*:*:node.js:*:*","part":"a","vendor":"p4_project","product":"p4","version_end_excluding":"0.0.7"}],"cpes_truncated":false,"vendors":["p4_project"],"products":["p4_project/p4"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"total"},"epss":{"score":0.03638,"percentile":0.90347,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-jfm8-hwhg-r6gg","ecosystem":"npm","name":"p4","purl":"pkg:npm/p4","ranges":[{"introduced":"0","fixed":"0.0.7"}],"versions":[],"versions_truncated":false}],"severity":"critical","priority_score":74,"links":{"html_es":"/es/cve/CVE-2022-25171/","html_en":"/en/cve/CVE-2022-25171/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-25171","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-25171"},"untrusted":{"vendor_name":"P4 Project","product_name":"P4","desc_en":"The package p4 before 0.0.7 are vulnerable to Command Injection via the run() function due to improper input sanitization","affected":[],"references":[{"url":"https://github.com/natelong/p4/blob/master/p4.js%23L12","tags":["Broken Link","Third Party Advisory"]},{"url":"https://github.com/natelong/p4/commit/ae42e251beabf67c00539ec0e1d7aa149ca445fb","tags":["Patch","Third Party Advisory"]},{"url":"https://security.snyk.io/vuln/SNYK-JS-P4-3167330","tags":["Exploit","Patch","Third Party Advisory"]}]}}