GHSA-v85c-hgq5-7pfw

Suggest an improvement
Source
https://github.com/advisories/GHSA-v85c-hgq5-7pfw
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/06/GHSA-v85c-hgq5-7pfw/GHSA-v85c-hgq5-7pfw.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-v85c-hgq5-7pfw
Aliases
  • CVE-2021-23399
Published
2021-06-29T18:26:05Z
Modified
2023-11-08T04:05:07Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
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.

Database specific
{
    "cwe_ids":  [
        "CWE-20"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2021-06-29T17:20:39Z",
    "nvd_published_at":  "2021-06-28T08:15:00Z",
    "severity":  "CRITICAL"
}
References

Affected packages

npm / wincred

Package

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
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"