CVE-2020-4059
CVSS V2 High 7.5
CVSS V3 High 7.3
Description
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.
Overview
- CVE ID
- CVE-2020-4059
- Assigner
- security-advisories@github.com
- Vulnerability Status
- Analyzed
- Published Version
- 2020-06-18T20:15:10
- Last Modified Date
- 2020-06-29T00:50:13
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:mversion_project:mversion:*:*:*:*:*:*:*:* | 1 | OR | 2.0.0 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:L/Au:N/C:P/I:P/A:P
- Access Vector
- NETWORK
- Access Compatibility
- LOW
- Authentication
- NONE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- PARTIAL
- Availability Impact
- PARTIAL
- Base Score
- 7.5
- Severity
- HIGH
- Exploitability Score
- 10
- Impact Score
- 6.4
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- LOW
- Availability Impact
- LOW
- Base Score
- 7.3
- Base Severity
- HIGH
- Exploitability Score
- 3.9
- Impact Score
- 3.4
References
Reference URL | Reference Tags |
---|---|
https://github.com/mikaelbr/mversion/commit/6c76c9efd27c7ff5a5c6f187e8b7a435c4722338 | Patch Third Party Advisory |
https://github.com/mikaelbr/mversion/security/advisories/GHSA-qjg4-w4c6-f6c6 | Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2020-4059 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-4059 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 16:41:51 | Added to TrackCVE | |||
2022-12-04 18:18:50 | 2020-06-18T20:15Z | 2020-06-18T20:15:10 | CVE Published Date | updated |
2022-12-04 18:18:50 | 2020-06-29T00:50:13 | CVE Modified Date | updated | |
2022-12-04 18:18:50 | Analyzed | Vulnerability Status | updated |