{ "id": "CVE-2022-25171", "sourceIdentifier": "report@snyk.io", "published": "2022-12-20T05:15:11.260", "lastModified": "2022-12-29T18:43:50.213", "vulnStatus": "Analyzed", "descriptions": [ { "lang": "en", "value": "The package p4 before 0.0.7 are vulnerable to Command Injection via the run() function due to improper input sanitization" } ], "metrics": { "cvssMetricV31": [ { "source": "nvd@nist.gov", "type": "Primary", "cvssData": { "version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH", "baseScore": 9.8, "baseSeverity": "CRITICAL" }, "exploitabilityScore": 3.9, "impactScore": 5.9 }, { "source": "report@snyk.io", "type": "Secondary", "cvssData": { "version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H", "attackVector": "LOCAL", "attackComplexity": "HIGH", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH", "baseScore": 7.4, "baseSeverity": "HIGH" }, "exploitabilityScore": 1.4, "impactScore": 5.9 } ] }, "weaknesses": [ { "source": "nvd@nist.gov", "type": "Primary", "description": [ { "lang": "en", "value": "CWE-77" } ] } ], "configurations": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:a:p4_project:p4:*:*:*:*:*:node.js:*:*", "versionEndExcluding": "0.0.7", "matchCriteriaId": "1D061930-7958-4C8C-A8F7-798EFE58E17A" } ] } ] } ], "references": [ { "url": "https://github.com/natelong/p4/blob/master/p4.js%23L12", "source": "report@snyk.io", "tags": [ "Broken Link", "Third Party Advisory" ] }, { "url": "https://github.com/natelong/p4/commit/ae42e251beabf67c00539ec0e1d7aa149ca445fb", "source": "report@snyk.io", "tags": [ "Patch", "Third Party Advisory" ] }, { "url": "https://security.snyk.io/vuln/SNYK-JS-P4-3167330", "source": "report@snyk.io", "tags": [ "Exploit", "Patch", "Third Party Advisory" ] } ] }