Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLXY4NWMtaGdxNS03cGZ3
Arbitrary Command Injection
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.
Permalink: https://github.com/advisories/GHSA-v85c-hgq5-7pfwJSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLXY4NWMtaGdxNS03cGZ3
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Critical
Classification: General
Published: almost 3 years ago
Updated: over 1 year ago
CVSS Score: 9.8
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Identifiers: GHSA-v85c-hgq5-7pfw, CVE-2021-23399
References:
- https://nvd.nist.gov/vuln/detail/CVE-2021-23399
- https://github.com/rolangom/wincred/blob/3fd39186ee32add9c12046cdccf2765d19565335/index.ts%23L20
- https://snyk.io/vuln/SNYK-JS-WINCRED-1078538
- https://github.com/advisories/GHSA-v85c-hgq5-7pfw
Blast Radius: 0.0
Affected Packages
npm:wincred
Dependent packages: 0Dependent repositories: 1
Downloads: 10 last month
Affected Version Ranges: <= 1.0.2
No known fixed version
All affected versions: 1.0.1, 1.0.2