libgit2 up to 0.26.5/0.27.3 transports/smart_pkt.c ng_pkt Packet out-of-bounds
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.3 | $0-$5k | 0.00 |
Summary
A vulnerability classified as problematic has been found in libgit2 up to 0.26.5/0.27.3. This issue affects the function ng_pkt of the file transports/smart_pkt.c. The manipulation as part of Packet leads to out-of-bounds.
This vulnerability is uniquely identified as CVE-2018-15501. The attack is possible to be carried out remotely. No exploit exists.
It is recommended to upgrade the affected component.
Details
A vulnerability was found in libgit2 up to 0.26.5/0.27.3 and classified as problematic. This issue affects the function ng_pkt of the file transports/smart_pkt.c. The manipulation as part of a Packet leads to a out-of-bounds vulnerability. Using CWE to declare the problem leads to CWE-125. The product reads data past the end, or before the beginning, of the intended buffer. Impacted is availability. The summary by CVE is:
In ng_pkt in transports/smart_pkt.c in libgit2 before 0.26.6 and 0.27.x before 0.27.4, a remote attacker can send a crafted smart-protocol "ng" packet that lacks a '\0' byte to trigger an out-of-bounds read that leads to DoS.
The bug was discovered 08/20/2018. The weakness was disclosed 08/18/2018 (Website). The advisory is shared at bugs.chromium.org. The identification of this vulnerability is CVE-2018-15501 since 08/17/2018. The exploitation is known to be easy. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. Technical details are known, but no exploit is available.
The vulnerability scanner Nessus provides a plugin with the ID 112139 (openSUSE Security Update : libgit2 (openSUSE-2018-922)), 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 171683 (SUSE Enterprise Linux Security Update for libgit2 (SUSE-SU-2018:3440-1)).
Upgrading to version 0.26.6 or 0.27.4 eliminates this vulnerability. A possible mitigation has been published 7 days after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at Tenable (112139) and SecurityFocus (BID 104345†). The entries VDB-114492, VDB-118361, VDB-121131 and VDB-121132 are pretty similar. Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
Product
Name
Version
License
Website
- Product: https://github.com/libgit2/libgit2/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.4VulDB Meta Temp Score: 6.3
VulDB Base Score: 5.3
VulDB Temp Score: 5.1
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: Out-of-boundsCWE: CWE-125 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
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: 112139
Nessus Name: openSUSE Security Update : libgit2 (openSUSE-2018-922)
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: 🔍
Exposure Time: 🔍
Upgrade: libgit2 0.26.6/0.27.4
Patch: github.com
Timeline
08/17/2018 🔍08/17/2018 🔍
08/18/2018 🔍
08/18/2018 🔍
08/20/2018 🔍
08/24/2018 🔍
08/28/2018 🔍
05/02/2023 🔍
Sources
Product: github.comAdvisory: 1f9a8510e1d2f20ed7334eeeddb92c4dd8e7c649
Status: Confirmed
CVE: CVE-2018-15501 (🔍)
GCVE (CVE): GCVE-0-2018-15501
GCVE (VulDB): GCVE-100-123017
SecurityFocus: 104345
See also: 🔍
Entry
Created: 08/18/2018 13:33Updated: 05/02/2023 14:25
Changes: 08/18/2018 13:33 (74), 03/16/2020 15:26 (2), 05/02/2023 14:20 (6), 05/02/2023 14:25 (1)
Complete: 🔍
Cache ID: 216::103
Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
No comments yet. Languages: en.
Please log in to comment.