Security mailing lists by PureSourceCode

CVE-2020-4059

HIGH 7.3CVSS 3.1

Command injection in mversion

In mversion before 2.0.0, there is a command injection vulnerability. This issue may lead to remote code execution if a client of the library calls the vulnerable method with untrusted input. This vulnerability is patched by version 2.0.0. Previous releases are deprecated in npm. As a workaround, make sure to escape git commit messages when using the commitMessage option for the update function.

Published
18 Jun 2020
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-77
Also known as
GHSA-qjg4-w4c6-f6c6
Sources
NVDJSONOSV GHSA-qjg4-w4c6-f6c6JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
OSV GitHub CVSS 3.1 HIGH 7.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
NVD nvd@nist.gov (Primary) CVSS 2.0 HIGH 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD mversion_project mversion
cpe:2.3:a:mversion_project:mversion:*:*:*:*:*:*:*:*
< 2.0.0 2.0.0
OSV npm mversion < 2.0.0 2.0.0

References

History

  • 25 Nov 2026 20:31 UTC · NVD: first stored (published 18 Jun 2020)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 18 Jun 2020)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.