VulnerabilityModified
CVE-2021-23399
If attacker-controlled user input is given to the getCredential 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 wincred. If attacker-controlled user input is given to the getCredential 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
- wincred project/wincred
- Source
- report@snyk.io
References
- https://github.com/rolangom/wincred/blob/3fd39186ee32add9c12046cdccf2765d19565335/index.ts%23L20Broken Link
- https://snyk.io/vuln/SNYK-JS-WINCRED-1078538Exploit, Third Party Advisory
- https://github.com/rolangom/wincred/blob/3fd39186ee32add9c12046cdccf2765d19565335/index.ts%23L20Broken Link
- https://snyk.io/vuln/SNYK-JS-WINCRED-1078538Exploit, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.