Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLXYyanYtMzNnaC14eDI5
Command Injection in ps-visitor
This affects all versions up to and including version 0.0.2 of package ps-visitor. If attacker-controlled user input is given to the kill function, it is possible for an attacker to execute arbitrary commands. This is due to use of the child_process exec function without input sanitization.
Permalink: https://github.com/advisories/GHSA-v2jv-33gh-xx29JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLXYyanYtMzNnaC14eDI5
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Critical
Classification: General
Published: about 3 years ago
Updated: over 1 year ago
CVSS Score: 9.8
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Identifiers: GHSA-v2jv-33gh-xx29, CVE-2021-23374
References:
- https://nvd.nist.gov/vuln/detail/CVE-2021-23374
- https://snyk.io/vuln/SNYK-JS-PSVISITOR-1078544
- https://github.com/WisdomKwan/ps-visitor/blob/cdfc934a8e4af95aa0473f4b2a4bd091d09faf2f/index.js#23L404
- https://github.com/advisories/GHSA-v2jv-33gh-xx29
Blast Radius: 0.0
Affected Packages
npm:ps-visitor
Dependent packages: 1Dependent repositories: 1
Downloads: 11 last month
Affected Version Ranges: <= 0.0.2
No known fixed version
All affected versions: 0.0.1, 0.0.2