CVE-2022-25171P4 Project P4
Critical 9.8 No auth needed
Follow: this CVE · P4 Project · P4 Project P4 We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 3.6% probability of exploitation in 30 days · percentile 90
- Auth required
- No
- Published
- Dec 20, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-78
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
The package p4 before 0.0.7 are vulnerable to Command Injection via the run() function due to improper input sanitization
What to do
- Apply the vendor's security update for P4.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | p4 |
< 0.0.7 |
0.0.7 |
npm install p4@0.0.7 |
Per OSV / GitHub Advisories (GHSA-jfm8-hwhg-r6gg). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| p4_project | p4 | < 0.0.7 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Broken Link Third Party Advisory
- github.com Patch Third Party Advisory
- security.snyk.io Exploit Patch Third Party Advisory