Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTZtOHAtNGZ4ai1wZ2My
OS Command Injection in mversion
The issue occurs because tagName user input is formatted inside the exec function is executed without any checks.
Permalink: https://github.com/advisories/GHSA-6m8p-4fxj-pgc2JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTZtOHAtNGZ4ai1wZ2My
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: about 3 years ago
Updated: over 1 year ago
CVSS Score: 7.8
CVSS vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Identifiers: GHSA-6m8p-4fxj-pgc2, CVE-2020-7688
References:
- https://nvd.nist.gov/vuln/detail/CVE-2020-7688
- https://github.com/418sec/huntr/pull/102
- https://github.com/mikaelbr/mversion/commit/b7a8b32600e60759a7ad3921ec4a2750bf173482
- https://snyk.io/vuln/SNYK-JS-MVERSION-573174
- https://github.com/advisories/GHSA-6m8p-4fxj-pgc2
Blast Radius: 25.6
Affected Packages
npm:mversion
Dependent packages: 370Dependent repositories: 1,903
Downloads: 8,452 last month
Affected Version Ranges: <= 1.13.0
Fixed in: 2.0.1
All affected versions: 0.0.1, 0.0.4, 0.0.5, 0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.3.0, 0.3.1, 0.4.1, 0.4.2, 0.4.3, 0.5.0, 0.5.1, 1.0.0, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0, 1.6.0, 1.6.1, 1.7.0, 1.8.0, 1.9.0, 1.10.0, 1.10.1, 1.12.0, 1.13.0
All unaffected versions: 2.0.0, 2.0.1