CVE-2022-25171
7.4high
Command Injection
- Severity
- 7.4high CVSS:3.1 by snyk
- Exploit likelihood
- 2.49% (higher than 85% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- snyk
- Also known as
- GHSA-jfm8-hwhg-r6gg
Description
The package p4 before 0.0.7 are vulnerable to Command Injection via the run() function due to improper input sanitization
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| p4 | from unspecified before 0.0.7 | CVE List |
| p4 (npm) | before 0.0.7 | GitHub Advisory Database |
| p4_project p4 | before 0.0.7 | NVD |
All scores
| snyk | 7.4high CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P |
| GitHub | 7.4high CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.
What each source says
CVE List
The package p4 before 0.0.7 are vulnerable to Command Injection via the run() function due to improper input sanitization
GitHub Advisory Database
The package p4 before 0.0.7 is vulnerable to Command Injection via the run() function due to improper input sanitization
NVD (es)
El paquete p4 anterior a 0.0.7 es vulnerable a la inyección de comandos a través de la función run() debido a una sanitización de entrada inadecuada.
References
| https://security.snyk.io/vuln/SNYK-JS-P4-3167330 | exploit, patch, third-party-advisory, web | |
| https://github.com/natelong/p4/blob/master/p4.js%23L12 | broken-link, third-party-advisory | |
| https://github.com/natelong/p4/commit/ae42e251beabf67c00539ec0e1d7aa149ca445fb | patch, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2022-25171 | advisory | |
| https://github.com/natelong/p4 | package | |
| https://github.com/natelong/p4/blob/master/p4.js#23L12 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-25171 changed 2025-04-16 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-jfm8-hwhg-r6gg changed 2025-04-16 | CC-BY-4.0 |
| NVD | CVE-2022-25171 changed 2026-06-17 | Public domain |