Every CVE Search/ Get API key

CVE-2022-25171

Command Injection

7.4 HighFix available

The package p4 before 0.0.7 are vulnerable to Command Injection via the run() function due to improper input sanitization

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
High
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

2.47%Up 1.4 points since Dec 21, 2022
90%50%10%1%

What each source reports

CVE List Score used 7.4

Command Injection

The package p4 before 0.0.7 are vulnerable to Command Injection via the run() function due to improper input sanitization

Record
CVE-2022-25171
CVSS 3.1
7.4 HighCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P
Weakness
CWE-78
Updated
2026-11-02
EUVDEUVD-2022-7664 7.4

The package p4 before 0.0.7 are vulnerable to Command Injection via the run() function due to improper input sanitization

Record
EUVD-2022-7664
CVSS 3.1
7.4 HighCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P
Updated
2026-11-02
GitHub AdvisoriesGHSA-jfm8-hwhg-r6gg 7.4

p4 vulnerable to Command Injection due to improper input sanitization

The package p4 before 0.0.7 is vulnerable to Command Injection via the run() function due to improper input sanitization

Record
GHSA-jfm8-hwhg-r6gg
CVSS 3.1
7.4 HighCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-78
Updated
2026-11-02
NVD 7.4

The package p4 before 0.0.7 are vulnerable to Command Injection via the run() function due to improper input sanitization

Record
CVE-2022-25171
CVSS 3.1
7.4 HighCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-78
Updated
2026-11-02
OSV 7.4

Command Injection

The package p4 before 0.0.7 are vulnerable to Command Injection via the run() function due to improper input sanitization

Record
CVE-2022-25171
CVSS 3.1
7.4 HighCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P
Updated
2026-11-02
OSVGHSA-jfm8-hwhg-r6gg 7.4

p4 vulnerable to Command Injection due to improper input sanitization

The package p4 before 0.0.7 is vulnerable to Command Injection via the run() function due to improper input sanitization

Record
GHSA-jfm8-hwhg-r6gg
CVSS 3.1
7.4 HighCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-78
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
p4
npm
before 0.0.7
0.0.7

History

History
RecordedChangedSources
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2022-25171 is a high vulnerability (CVSS 7.4) in P4 Project P4, published December 20, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.47%, the 84th percentile. Fixed in p4 0.0.7.

References

MoveEnter Open