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-7pfw
JSON: 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: Repository: https://github.com/rolangom/wincred
Blast Radius: 0.0

Affected Packages

npm:wincred
Dependent packages: 0
Dependent 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