CVE-2018-15501

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.
References
Link Resource
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=9406 Exploit Issue Tracking Patch Third Party Advisory
https://bugzilla.suse.com/show_bug.cgi?id=1104641 Issue Tracking Patch Third Party Advisory
https://github.com/libgit2/libgit2/commit/1f9a8510e1d2f20ed7334eeeddb92c4dd8e7c649 Patch Third Party Advisory
https://github.com/libgit2/libgit2/releases/tag/v0.26.6 Release Notes Third Party Advisory
https://github.com/libgit2/libgit2/releases/tag/v0.27.4 Release Notes Third Party Advisory
https://lists.debian.org/debian-lts-announce/2018/08/msg00024.html Mailing List Third Party Advisory
https://lists.debian.org/debian-lts-announce/2022/03/msg00031.html Mailing List Third Party Advisory
https://www.pro-linux.de/sicherheit/2/44650/denial-of-service-in-libgit2.html Third Party Advisory
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=9406 Exploit Issue Tracking Patch Third Party Advisory
https://bugzilla.suse.com/show_bug.cgi?id=1104641 Issue Tracking Patch Third Party Advisory
https://github.com/libgit2/libgit2/commit/1f9a8510e1d2f20ed7334eeeddb92c4dd8e7c649 Patch Third Party Advisory
https://github.com/libgit2/libgit2/releases/tag/v0.26.6 Release Notes Third Party Advisory
https://github.com/libgit2/libgit2/releases/tag/v0.27.4 Release Notes Third Party Advisory
https://lists.debian.org/debian-lts-announce/2018/08/msg00024.html Mailing List Third Party Advisory
https://lists.debian.org/debian-lts-announce/2022/03/msg00031.html Mailing List Third Party Advisory
https://www.pro-linux.de/sicherheit/2/44650/denial-of-service-in-libgit2.html Third Party Advisory
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*

Configuration 2 (hide)

OR cpe:2.3:a:libgit2:libgit2:*:*:*:*:*:*:*:*
cpe:2.3:a:libgit2:libgit2:*:*:*:*:*:*:*:*

History

21 Nov 2024, 03:50

Type Values Removed Values Added
References () https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=9406 - Exploit, Issue Tracking, Patch, Third Party Advisory () https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=9406 - Exploit, Issue Tracking, Patch, Third Party Advisory
References () https://bugzilla.suse.com/show_bug.cgi?id=1104641 - Issue Tracking, Patch, Third Party Advisory () https://bugzilla.suse.com/show_bug.cgi?id=1104641 - Issue Tracking, Patch, Third Party Advisory
References () https://github.com/libgit2/libgit2/commit/1f9a8510e1d2f20ed7334eeeddb92c4dd8e7c649 - Patch, Third Party Advisory () https://github.com/libgit2/libgit2/commit/1f9a8510e1d2f20ed7334eeeddb92c4dd8e7c649 - Patch, Third Party Advisory
References () https://github.com/libgit2/libgit2/releases/tag/v0.26.6 - Release Notes, Third Party Advisory () https://github.com/libgit2/libgit2/releases/tag/v0.26.6 - Release Notes, Third Party Advisory
References () https://github.com/libgit2/libgit2/releases/tag/v0.27.4 - Release Notes, Third Party Advisory () https://github.com/libgit2/libgit2/releases/tag/v0.27.4 - Release Notes, Third Party Advisory
References () https://lists.debian.org/debian-lts-announce/2018/08/msg00024.html - Mailing List, Third Party Advisory () https://lists.debian.org/debian-lts-announce/2018/08/msg00024.html - Mailing List, Third Party Advisory
References () https://lists.debian.org/debian-lts-announce/2022/03/msg00031.html - Mailing List, Third Party Advisory () https://lists.debian.org/debian-lts-announce/2022/03/msg00031.html - Mailing List, Third Party Advisory
References () https://www.pro-linux.de/sicherheit/2/44650/denial-of-service-in-libgit2.html - Third Party Advisory () https://www.pro-linux.de/sicherheit/2/44650/denial-of-service-in-libgit2.html - Third Party Advisory

Information

Published : 2018-08-18 02:29

Updated : 2024-11-21 03:50


NVD link : CVE-2018-15501

Mitre link : CVE-2018-15501

CVE.ORG link : CVE-2018-15501


JSON object : View

Products Affected

libgit2

  • libgit2

debian

  • debian_linux
CWE
CWE-125

Out-of-bounds Read