GHSA-qjg4-w4c6-f6c6

Suggest an improvement
Source
https://github.com/advisories/GHSA-qjg4-w4c6-f6c6
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/06/GHSA-qjg4-w4c6-f6c6/GHSA-qjg4-w4c6-f6c6.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-qjg4-w4c6-f6c6
Aliases
Published
2020-06-18T19:23:17Z
Modified
2026-09-10T03:48:51Z
Severity
  • 7.3 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L CVSS Calculator
Summary
Command injection in mversion
Details

Impact

This issue may lead to remote code execution if a client of the library calls the vulnerable method with untrusted input.

Patches

Patched by version 2.0.0. Previous releases are deprecated in npm.

Workarounds

Make sure to escape git commit messages when using the commitMessage option for the update function.

Database specific
{
    "cwe_ids":  [
        "CWE-77"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2020-06-17T20:22:48Z",
    "nvd_published_at":  null,
    "severity":  "HIGH"
}
References

Affected packages

npm / mversion

Package

Affected ranges

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

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/06/GHSA-qjg4-w4c6-f6c6/GHSA-qjg4-w4c6-f6c6.json"