GHSA-6m8p-4fxj-pgc2

Suggest an improvement
Source
https://github.com/advisories/GHSA-6m8p-4fxj-pgc2
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/05/GHSA-6m8p-4fxj-pgc2/GHSA-6m8p-4fxj-pgc2.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-6m8p-4fxj-pgc2
Aliases
Published
2021-05-17T21:01:08Z
Modified
2025-01-08T07:43:28.449843Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
OS Command Injection in mversion
Details

The issue occurs because tagName user input is formatted inside the exec function is executed without any checks.

Database specific
{
    "nvd_published_at": "2020-07-01T17:15:00Z",
    "github_reviewed_at": "2021-05-11T19:56:27Z",
    "severity": "MODERATE",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-78"
    ]
}
References

Affected packages

npm / mversion

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.0.1

Database specific

{
    "last_known_affected_version_range": "<= 1.13.0"
}