CVE-2015-6908
Description
The ber_get_next function in libraries/liblber/io.c in OpenLDAP 2.4.42 and earlier allows remote attackers to cause a denial of service (reachable assertion and application crash) via crafted BER data, as demonstrated by an attack against slapd.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Exploits
Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.
Exploit-DB
OpenLDAP 2.4.42 - ber_get_next Denial of Service
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| macos | affected | | |
| debian | bookworm | fixed | 2.4.42+dfsg-2 |
| debian | bullseye | fixed | 2.4.42+dfsg-2 |
| debian | forky | fixed | 2.4.42+dfsg-2 |
| debian | sid | fixed | 2.4.42+dfsg-2 |
| debian | trixie | fixed | 2.4.42+dfsg-2 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| openldap | openldap | {"endIncluding":"2.4.42"} | |
References
- http://lists.apple.com/archives/security-announce/2015/Dec/msg00005.html
- http://lists.opensuse.org/opensuse-security-announce/2016-01/msg00031.html
- http://lists.opensuse.org/opensuse-security-announce/2016-01/msg00032.html
- http://lists.opensuse.org/opensuse-security-announce/2016-01/msg00037.html
- http://lists.opensuse.org/opensuse-security-announce/2016-01/msg00039.html
- http://lists.opensuse.org/opensuse-security-announce/2016-01/msg00040.html
- http://rhn.redhat.com/errata/RHSA-2015-1840.html
- http://www.debian.org/security/2015/dsa-3356
- http://www.openldap.org/devel/gitweb.cgi?p=openldap.git%3Ba=commit%3Bh=6fe51a9ab04fd28bbc171da3cf12f1c1040d6629
- http://www.openldap.org/its/index.cgi/Software%20Bugs?id=8240
- http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2015-2719645.html
- http://www.oracle.com/technetwork/topics/security/ovmbulletinjul2016-3090546.html
- http://www.security-assessment.com/files/documents/advisory/OpenLDAP-ber_get_next-Denial-of-Service.pdf
- http://www.securityfocus.com/bid/76714
- http://www.securitytracker.com/id/1033534
- http://www.ubuntu.com/usn/USN-2742-1
- https://support.apple.com/HT205637
- https://security-tracker.debian.org/tracker/CVE-2015-6908
CWEs
CWE-20
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.