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.
References
Link | Resource |
---|---|
https://github.com/rolangom/wincred/blob/3fd39186ee32add9c12046cdccf2765d19565335/index.ts%23L20 | Broken Link |
https://snyk.io/vuln/SNYK-JS-WINCRED-1078538 | Exploit Third Party Advisory |
https://github.com/rolangom/wincred/blob/3fd39186ee32add9c12046cdccf2765d19565335/index.ts%23L20 | Broken Link |
https://snyk.io/vuln/SNYK-JS-WINCRED-1078538 | Exploit Third Party Advisory |
Configurations
History
21 Nov 2024, 05:51
Type | Values Removed | Values Added |
---|---|---|
References | () https://github.com/rolangom/wincred/blob/3fd39186ee32add9c12046cdccf2765d19565335/index.ts%23L20 - Broken Link | |
References | () https://snyk.io/vuln/SNYK-JS-WINCRED-1078538 - Exploit, Third Party Advisory | |
CVSS |
v2 : v3 : |
v2 : 7.5
v3 : 7.3 |
Information
Published : 2021-06-28 08:15
Updated : 2024-11-21 05:51
NVD link : CVE-2021-23399
Mitre link : CVE-2021-23399
CVE.ORG link : CVE-2021-23399
JSON object : View
Products Affected
wincred_project
- wincred
CWE
CWE-78
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')