RCE in P4 Project
CVE-2022-25171
- CVSS v3
- 7.4 High
- Public exploits
- None known
- EPSS
- 0.025 · 84.9th percentile
- Published
- 2022-12-20
The package p4 before 0.0.7 are vulnerable to Command Injection via the run() function due to improper input sanitization
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.4 (High). Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.
- Attack Vector
- Local
AV:L - Attack Complexity
- High
AC:H - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- High
I:H - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.025, 84.9th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- P4 Project
- P4 — versions unspecified
Weakness classification (CWE)
References
- security.snyk.io/vuln/SNYK-JS-P4-3167330 (Exploit, Patch, Third Party Advisory)
- github.com/natelong/p4/blob/master/p4.js#L12 (Third Party Advisory, Broken Link)
- github.com/natelong/p4/commit/ae42e251beabf67c00539ec0e1d7aa149ca445fb (Patch, Third Party Advisory)