{"id":"GHSA-v85c-hgq5-7pfw","summary":"Arbitrary Command Injection","details":"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.","aliases":["CVE-2021-23399"],"modified":"2023-11-08T04:05:07.389962Z","published":"2021-06-29T18:26:05Z","database_specific":{"cwe_ids":["CWE-20"],"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2021-06-29T17:20:39Z","nvd_published_at":"2021-06-28T08:15:00Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23399"},{"type":"WEB","url":"https://github.com/rolangom/wincred/blob/3fd39186ee32add9c12046cdccf2765d19565335/index.ts%23L20"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-WINCRED-1078538"}],"affected":[{"package":{"name":"wincred","ecosystem":"npm","purl":"pkg:npm/wincred"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"1.0.2"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/06/GHSA-v85c-hgq5-7pfw/GHSA-v85c-hgq5-7pfw.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}