{"id":"CVE-2022-25171","published":"2022-12-21T01:21:43Z","modified":"2025-04-16T14:42:51Z","title":"Command Injection","vendor":null,"product":null,"tier":"tail","description":{"text":"The package p4 before 0.0.7 are vulnerable to Command Injection via the run() function due to improper input sanitization","provenance":"source","from":"CVE.org"},"cvss":{"score":7.4,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.03607,"percentile":0.90233,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-P4-3167330","tags":[]},{"url":"https://github.com/natelong/p4/blob/master/p4.js%23L12","tags":[]},{"url":"https://github.com/natelong/p4/commit/ae42e251beabf67c00539ec0e1d7aa149ca445fb","tags":[]}],"priority":{"score":23.2,"factors":[{"name":"EPSS percentile","points":18.05},{"name":"CVSS severity","points":5.18}]},"affectedVersions":[{"vendor":"n/a","product":"p4","versions":[">= unspecified, < 0.0.7"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2025-04-16T14:42:36.907632Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"p4","vulnerableRanges":["<0.0.7"],"patched":["0.0.7"],"from":["GHSA-jfm8-hwhg-r6gg"],"provenance":"source"}],"summary":{"text":"The p4 package before version 0.0.7 contains a command injection flaw in its run() function, caused by improper sanitisation of input. An attacker with local access and no privileges can exploit this without user interaction, though exploitation is considered high-complexity.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:50:09Z"},"euvd":{"id":"EUVD-2022-7664","exploited":false,"provenance":"source"}}