libgit2 up to 0.24.5/0.25.0 Git Smart Protocol transports/smart_pkt.c git_pkt_parse_line Packet memory corruption
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 8.4 | $0-$5k | 0.00 |
Summary
A vulnerability was found in libgit2 up to 0.24.5/0.25.0. It has been declared as critical. This affects the function git_pkt_parse_line of the file transports/smart_pkt.c of the component Git Smart Protocol Handler. The manipulation as part of Packet results in memory corruption.
This vulnerability is identified as CVE-2016-10128. The attack can be executed remotely. There is not any exploit available.
It is recommended to upgrade the affected component.
Details
A vulnerability classified as critical has been found in libgit2 up to 0.24.5/0.25.0. Affected is the function git_pkt_parse_line of the file transports/smart_pkt.c of the component Git Smart Protocol Handler. The manipulation as part of a Packet leads to a memory corruption vulnerability. CWE is classifying the issue as CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. This is going to have an impact on confidentiality, integrity, and availability. CVE summarizes:
Buffer overflow in the git_pkt_parse_line function in transports/smart_pkt.c in the Git Smart Protocol support in libgit2 before 0.24.6 and 0.25.x before 0.25.1 allows remote attackers to have unspecified impact via a crafted non-flush packet.
The bug was discovered 03/24/2017. The weakness was released 03/24/2017 (oss-sec). The advisory is shared for download at openwall.com. This vulnerability is traded as CVE-2016-10128 since 01/10/2017. 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 scanner Nessus provides a plugin with the ID 97282 (openSUSE Security Update : libgit2 (openSUSE-2017-262)), 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 169739 (OpenSuSE Security Update for libgit2 (openSUSE-SU-2017:0397-1)).
Upgrading to version 0.24.6 or 0.25.1 eliminates this vulnerability. A possible mitigation has been published even before and not after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at Tenable (97282) and SecurityFocus (BID 95338†). Entries connected to this vulnerability are available at VDB-98497 and VDB-98498. VulDB is the best source for vulnerability data and more expert information about this specific topic.
Product
Name
Version
- 0.1
- 0.2
- 0.3
- 0.4
- 0.5
- 0.6
- 0.7
- 0.8
- 0.9
- 0.10
- 0.11
- 0.12
- 0.13
- 0.14
- 0.15
- 0.16
- 0.17
- 0.18
- 0.19
- 0.20
- 0.21
- 0.22
- 0.23
- 0.24
- 0.24.0
- 0.24.1
- 0.24.2
- 0.24.3
- 0.24.4
- 0.24.5
- 0.25.0
License
Website
- Product: https://github.com/libgit2/libgit2/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 8.5VulDB Meta Temp Score: 8.4
VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 9.8
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: Memory corruptionCWE: 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: 97282
Nessus Name: openSUSE Security Update : libgit2 (openSUSE-2017-262)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
OpenVAS ID: 867773
OpenVAS Name: Fedora Update for libgit2 FEDORA-2017-403346d884
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: libgit2 0.24.6/0.25.1
Patch: github.com
Timeline
01/10/2017 🔍01/10/2017 🔍
02/16/2017 🔍
02/21/2017 🔍
03/24/2017 🔍
03/24/2017 🔍
03/24/2017 🔍
03/24/2017 🔍
11/15/2022 🔍
Sources
Product: github.comAdvisory: 4ac39c76c0153d1ee6889a0984c39e97731684b2
Status: Not defined
Confirmation: 🔍
CVE: CVE-2016-10128 (🔍)
GCVE (CVE): GCVE-0-2016-10128
GCVE (VulDB): GCVE-100-98496
SecurityFocus: 95338 - libgit2 'smart_pkt.c' Buffer Overflow Vulnerability
OSVDB: - CVE-2016-10128 - Git - libgit2 - Buffer Overflow Issue
See also: 🔍
Entry
Created: 03/24/2017 18:50Updated: 11/15/2022 08:37
Changes: 03/24/2017 18:50 (76), 09/13/2020 20:18 (5), 11/15/2022 08:37 (4)
Complete: 🔍
Cache ID: 216::103
VulDB is the best source for vulnerability data and more expert information about this specific topic.
No comments yet. Languages: en.
Please log in to comment.