NULL pointer dereference in libgit2 - CVE-2016-10129
Published: March 24, 2017 / Updated: January 22, 2023
Vulnerability identifier: #VU32001
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2016-10129
CWE-ID: CWE-476
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to a NULL pointer dereference error. A remote attacker can trigger denial of service conditions via an empty packet line.
Affected software
libgit2
Arch Linux
Fedora
Ubuntu
libgit2-0.27 (Alpine package)
libgit2-1.0 (Alpine package)
libgit2 (Ubuntu package)
libgit2
Arch Linux
Fedora
Ubuntu
libgit2-0.27 (Alpine package)
libgit2-1.0 (Alpine package)
libgit2 (Ubuntu package)
libgit2
How to mitigate CVE-2016-10129
Install update from vendor's website.
libgit2-1.0 (Alpine package) - update to 1.0.1-r1
libgit2 (Ubuntu package) - addressed in versions 0.19.0-2ubuntu0.4+esm2, 0.24.1-2ubuntu0.2+esm3, 0.26.0+dfsg.1-1.1ubuntu0.2+esm2, 0.28.4+dfsg.1-2ubuntu0.1+esm1, 1.1.0+dfsg.1-4.1ubuntu0.1+esm1, 1.7.2+ds-1ubuntu3.1, 1.9.1+ds-1ubuntu1.1
libgit2 - addressed in versions 0.24.6-1.el7, 0.24.6-1.fc24, 0.24.6-1.fc25
libgit2 (Ubuntu package) - addressed in versions 0.19.0-2ubuntu0.4+esm2, 0.24.1-2ubuntu0.2+esm3, 0.26.0+dfsg.1-1.1ubuntu0.2+esm2, 0.28.4+dfsg.1-2ubuntu0.1+esm1, 1.1.0+dfsg.1-4.1ubuntu0.1+esm1, 1.7.2+ds-1ubuntu3.1, 1.9.1+ds-1ubuntu1.1
libgit2 - addressed in versions 0.24.6-1.el7, 0.24.6-1.fc24, 0.24.6-1.fc25
External References
- http://lists.opensuse.org/opensuse-updates/2017-02/msg00030.html
- http://lists.opensuse.org/opensuse-updates/2017-02/msg00036.html
- http://lists.opensuse.org/opensuse-updates/2017-02/msg00072.html
- http://www.openwall.com/lists/oss-security/2017/01/10/5
- http://www.openwall.com/lists/oss-security/2017/01/11/6
- http://www.securityfocus.com/bid/95339
- https://github.com/libgit2/libgit2/commit/2fdef641fd0dd2828bd948234ae86de75221a11a
- https://github.com/libgit2/libgit2/commit/84d30d569ada986f3eef527cbdb932643c2dd037
- https://libgit2.github.com/security/
Related Security Bulletins
- NULL pointer dereference in libgit2.github.com libgit2
- NULL pointer dereference in libgit2-0.27 (Alpine package)
- Arch Linux update for libgit2
- NULL pointer dereference in libgit2-1.0 (Alpine package)
- Fedora 25 update for libgit2
- Fedora 24 update for libgit2
- Fedora EPEL 7 update for libgit2
- Ubuntu update for libgit2