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 |
---|---|---|
CVSS |
v2 : v3 : |
v2 : 7.5
v3 : 7.3 |
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 |
12 Jul 2022, 17:42
Type | Values Removed | Values Added |
---|---|---|
CWE | CWE-78 |
01 Jul 2021, 19:21
Type | Values Removed | Values Added |
---|---|---|
CVSS |
v2 : v3 : |
v2 : 7.5
v3 : 9.8 |
CPE | cpe:2.3:a:wincred_project:wincred:*:*:*:*:*:*:*:* | |
CWE | CWE-20 | |
References | (MISC) https://snyk.io/vuln/SNYK-JS-WINCRED-1078538 - Exploit, Third Party Advisory | |
References | (MISC) https://github.com/rolangom/wincred/blob/3fd39186ee32add9c12046cdccf2765d19565335/index.ts%23L20 - Broken Link |
28 Jun 2021, 08:15
Type | Values Removed | Values Added |
---|---|---|
New CVE |
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')