Description
The package p4 before 0.0.7 are vulnerable to Command Injection via the run() function due to improper input sanitization
References (3)
Core 3
Core References
Broken Link, Third Party Advisory
https://github.com/natelong/p4/blob/master/p4.js%23L12
Patch, Third Party Advisory
https://github.com/natelong/p4/commit/ae42e251beabf67c00539ec0e1d7aa149ca445fb
Exploit, Patch, Third Party Advisory
https://security.snyk.io/vuln/SNYK-JS-P4-3167330
Scores
CVSS v3
7.4
EPSS
0.0191
EPSS Percentile
83.5%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
no
Technical Impact
total
Details
CWE
CWE-78
Status
published
Products (2)
npm/p4
0 - 0.0.7npm
p4_project/p4
< 0.0.7
Published
Dec 20, 2022
Tracked Since
Feb 18, 2026