| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.2 | $0-$5k | 0.00 |
Summary
A vulnerability was found in p4 up to 0.0.6 and classified as critical. Affected by this issue is the function run. The manipulation results in command injection.
This vulnerability is known as CVE-2022-25171. Attacking locally is a requirement. No exploit is available.
It is suggested to upgrade the affected component.
Details
A vulnerability classified as critical has been found in p4 up to 0.0.6. Affected is the function run. The manipulation with an unknown input leads to a command injection vulnerability. CWE is classifying the issue as CWE-77. The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component. This is going to have an impact on confidentiality, integrity, and availability. CVE summarizes:
The package p4 before 0.0.7 are vulnerable to Command Injection via the run() function due to improper input sanitization
The weakness was published 12/20/2022 as SNYK-JS-P4-3167330. The advisory is shared for download at security.snyk.io. This vulnerability is traded as CVE-2022-25171 since 02/24/2022. There are known technical details, but no exploit is available. The MITRE ATT&CK project declares the attack technique as T1202.
Upgrading to version 0.0.7 eliminates this vulnerability. Applying the patch ae42e251beabf67c00539ec0e1d7aa149ca445fb is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
VulDB is the best source for vulnerability data and more expert information about this specific topic.
Product
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.2VulDB Meta Temp Score: 7.2
VulDB Base Score: 4.5
VulDB Temp Score: 4.3
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 9.8
NVD Vector: 🔍
CNA Base Score: 7.4
CNA Vector (Snyk): 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Command injectionCWE: CWE-77 / CWE-74 / CWE-707
CAPEC: 🔍
ATT&CK: 🔍
Physical: Partially
Local: Yes
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: p4 0.0.7
Patch: ae42e251beabf67c00539ec0e1d7aa149ca445fb
Timeline
02/24/2022 🔍12/20/2022 🔍
12/20/2022 🔍
04/16/2025 🔍
Sources
Advisory: SNYK-JS-P4-3167330Status: Confirmed
CVE: CVE-2022-25171 (🔍)
GCVE (CVE): GCVE-0-2022-25171
GCVE (VulDB): GCVE-100-216360
Entry
Created: 12/20/2022 09:20Updated: 04/16/2025 17:55
Changes: 12/20/2022 09:20 (42), 01/21/2023 08:44 (21), 04/16/2025 17:55 (16)
Complete: 🔍
Cache ID: 216::103
VulDB is the best source for vulnerability data and more expert information about this specific topic.
No comments yet. Languages: en.
Please log in to comment.