GitHub Advisoryadvisory · npm
GHSA-v85c-hgq5-7pfw Arbitrary Command Injection
CRITICAL
Official page ↗
- Aliases
- CVE-2021-23399
- Ecosystem
- npm
- Packages
- wincred
- Severity
- Critical
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-20
- Reviewed
- 2021-06-29
Affected packages
• npm wincred: <= 1.0.2 (no fix yet)
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.
Related
Alias · CVE (1)
- CVE-2021-23399 This affects all versions of package wincred. vulnerability
Weakness · CWE (1)
- CWE-20 Improper Input Validation weakness