GHSA-JFM8-HWHG-R6GG
Vulnerability from github – Published: 2022-12-20 06:30 – Updated: 2025-04-16 16:08
VLAI?
Summary
p4 vulnerable to Command Injection due to improper input sanitization
Details
The package p4 before 0.0.7 is vulnerable to Command Injection via the run() function due to improper input sanitization
Severity ?
7.4 (High)
{
"affected": [
{
"package": {
"ecosystem": "npm",
"name": "p4"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "0.0.7"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2022-25171"
],
"database_specific": {
"cwe_ids": [
"CWE-78"
],
"github_reviewed": true,
"github_reviewed_at": "2022-12-20T17:38:21Z",
"nvd_published_at": "2022-12-20T05:15:00Z",
"severity": "HIGH"
},
"details": "The package p4 before 0.0.7 is vulnerable to Command Injection via the run() function due to improper input sanitization",
"id": "GHSA-jfm8-hwhg-r6gg",
"modified": "2025-04-16T16:08:22Z",
"published": "2022-12-20T06:30:36Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2022-25171"
},
{
"type": "WEB",
"url": "https://github.com/natelong/p4/commit/ae42e251beabf67c00539ec0e1d7aa149ca445fb"
},
{
"type": "PACKAGE",
"url": "https://github.com/natelong/p4"
},
{
"type": "WEB",
"url": "https://github.com/natelong/p4/blob/master/p4.js#23L12"
},
{
"type": "WEB",
"url": "https://security.snyk.io/vuln/SNYK-JS-P4-3167330"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
}
],
"summary": "p4 vulnerable to Command Injection due to improper input sanitization"
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…