VulnerabilityModified
CVE-2021-23374
If attacker-controlled user input is given to the kill function, it is possible for an attacker to execute arbitrary commands.
CRITICAL 9.8EPSS 1.34%
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (1.34%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
This affects all versions 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.
- CVSS 3.1
- 9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 1.34% probability · 70th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-78
- Affected
- ps-visitor project/ps-visitor
- Source
- report@snyk.io
References
- https://github.com/WisdomKwan/ps-visitor/blob/cdfc934a8e4af95aa0473f4b2a4bd091d09faf2f/index.js%23L404Broken Link
- https://snyk.io/vuln/SNYK-JS-PSVISITOR-1078544Exploit, Third Party Advisory
- https://github.com/WisdomKwan/ps-visitor/blob/cdfc934a8e4af95aa0473f4b2a4bd091d09faf2f/index.js%23L404Broken Link
- https://snyk.io/vuln/SNYK-JS-PSVISITOR-1078544Exploit, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.