Mercurial up to 4.6.0 mpatch.c mpatch_apply input validation
CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
---|---|---|
7.3 | $0-$5k | 0.00 |
A vulnerability was found in Mercurial up to 4.6.0. It has been classified as critical. Affected is the function mpatch_apply
of the file mpatch.c. The manipulation with an unknown input leads to a input validation vulnerability. CWE is classifying the issue as CWE-20. The product receives input or data, but it does
not validate or incorrectly validates that the input has the
properties that are required to process the data safely and
correctly. This is going to have an impact on integrity.
The bug was discovered 06/06/2018. The weakness was published 07/06/2018 (Website). The advisory is shared for download at mercurial-scm.org. This vulnerability is traded as CVE-2018-13346 since 07/05/2018. The exploitability is told to be easy. It is possible to launch the attack remotely. The exploitation doesn't require any form of authentication. There are known technical details, but no exploit is available.
The vulnerability was handled as a non-public zero-day exploit for at least 29 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 111192 (openSUSE Security Update : mercurial (openSUSE-2018-734)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family SuSE Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 171370 (OpenSUSE Security Update for mercurial (openSUSE-SU-2018:2023-1)).
Upgrading to version 4.6.1 eliminates this vulnerability. A possible mitigation has been published 2 weeks after the disclosure of the vulnerability.
The vulnerability is also documented in the vulnerability database at Tenable (111192). Similar entries are available at 120481 and 120482.
Product
Name
CPE 2.3
CPE 2.2
CVSSv3
VulDB Meta Base Score: 7.5VulDB Meta Temp Score: 7.3
VulDB Base Score: 7.5
VulDB Temp Score: 7.2
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 7.5
NVD Vector: 🔍
CVSSv2
AV | AC | Au | C | I | A |
---|---|---|---|---|---|
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
---|---|---|---|---|---|
unlock | unlock | unlock | unlock | unlock | unlock |
unlock | unlock | unlock | unlock | unlock | unlock |
unlock | unlock | unlock | unlock | unlock | unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Input validationCWE: CWE-20
ATT&CK: Unknown
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
0-Day | unlock | unlock | unlock | unlock |
---|---|---|---|---|
Today | unlock | unlock | unlock | unlock |
Nessus ID: 111192
Nessus Name: openSUSE Security Update : mercurial (openSUSE-2018-734)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Upgrade: Mercurial 4.6.1
Timeline
06/06/2018 🔍07/05/2018 🔍
07/05/2018 🔍
07/06/2018 🔍
07/06/2018 🔍
07/19/2018 🔍
07/20/2018 🔍
04/03/2023 🔍
Sources
Advisory: RHSA-2019:2276Status: Not defined
CVE: CVE-2018-13346 (🔍)
See also: 🔍
Entry
Created: 07/06/2018 10:11 PMUpdated: 04/03/2023 07:31 PM
Changes: 07/06/2018 10:11 PM (73), 02/26/2020 09:24 AM (2), 04/03/2023 07:31 PM (4)
Complete: 🔍
No comments yet. Languages: en.
Please log in to comment.