CVE-2010-0211
The slap_modrdn2mods function in modrdn.c in OpenLDAP 2.4.22 does not check the return value of a call to the smr_normalize function, which allows remote attackers to cause a denial of service (segmentation fault) and possibly execute arbitrary code via a modrdn call with an RDN string containing invalid UTF-8 sequences, which triggers a free of an invalid, uninitialized pointer in the slap_mods_free function, as demonstrated using the Codenomicon LDAPv3 test suite.
What to do
Likely to be exploited: EPSS gives a 28% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.
Fixed builds are available from Debian, Red Hat: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Debian 14 | openldap | Fixed | 2.4.23-1 | DEBIAN-CVE-2010-0211 |
| Debian 13 | openldap | Fixed | 2.4.23-1 | DEBIAN-CVE-2010-0211 |
| Debian 12 | openldap | Fixed | 2.4.23-1 | DEBIAN-CVE-2010-0211 |
| Red Hat Enterprise Linux 6 | compat-openldap | Not affected | ||
| Red Hat Enterprise Linux 6 | openldap | Not affected | ||
| Red Hat Enterprise Linux 6 | openldap-clients | Not affected | ||
| Red Hat Enterprise Linux 6 | openldap-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | openldap-servers | Not affected | ||
| Red Hat Enterprise Linux 6 | openldap-servers-sql | Not affected | ||
| Red Hat Enterprise Linux 5 | compat-openldap | Fixed | 0:2.3.43_2.2.29-12.el5_5.1 | RHSA-2010:0542 |
| Red Hat Enterprise Linux 5 | openldap | Fixed | 0:2.3.43-12.el5_5.1 | RHSA-2010:0542 |
| Red Hat Enterprise Linux 5 | openldap-clients | Fixed | 0:2.3.43-12.el5_5.1 | RHSA-2010:0542 |
| Red Hat Enterprise Linux 5 | openldap-devel | Fixed | 0:2.3.43-12.el5_5.1 | RHSA-2010:0542 |
| Red Hat Enterprise Linux 5 | openldap-servers | Fixed | 0:2.3.43-12.el5_5.1 | RHSA-2010:0542 |
| Red Hat Enterprise Linux 5 | openldap-servers-overlays | Fixed | 0:2.3.43-12.el5_5.1 | RHSA-2010:0542 |
| Red Hat Enterprise Linux 5 | openldap-servers-sql | Fixed | 0:2.3.43-12.el5_5.1 | RHSA-2010:0542 |
| Red Hat Enterprise Linux 4 | compat-openldap | Fixed | 0:2.1.30-12.el4_8.3 | RHSA-2010:0543 |
| Red Hat Enterprise Linux 4 | openldap | Fixed | 0:2.2.13-12.el4_8.3 | RHSA-2010:0543 |
| Red Hat Enterprise Linux 4 | openldap-clients | Fixed | 0:2.2.13-12.el4_8.3 | RHSA-2010:0543 |
| Red Hat Enterprise Linux 4 | openldap-devel | Fixed | 0:2.2.13-12.el4_8.3 | RHSA-2010:0543 |
| Red Hat Enterprise Linux 4 | openldap-servers | Fixed | 0:2.2.13-12.el4_8.3 | RHSA-2010:0543 |
| Red Hat Enterprise Linux 4 | openldap-servers-sql | Fixed | 0:2.2.13-12.el4_8.3 | RHSA-2010:0543 |
What the vendor says
As published in the CVE record by certcc, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- http://security.gentoo.org/glsa/glsa-201406-36.xml (vendor-advisory)
- http://lists.apple.com/archives/security-announce/2010//Nov/msg00000.html (vendor-advisory)
- http://www.redhat.com/support/errata/RHSA-2010-0542.html (vendor-advisory)
- http://lists.opensuse.org/opensuse-security-announce/2010-08/msg00001.html (vendor-advisory)
- http://www.redhat.com/support/errata/RHSA-2010-0543.html (vendor-advisory)
References
- http://www.securitytracker.com/id?1024221
- http://support.apple.com/kb/HT4435
- http://security.gentoo.org/glsa/glsa-201406-36.xml
- http://www.openldap.org/its/index.cgi/Software%20Bugs?id=6570
- http://www.vmware.com/security/advisories/VMSA-2011-0001.html
- http://www.vupen.com/english/advisories/2010/1858
- http://secunia.com/advisories/40677
- http://lists.apple.com/archives/security-announce/2010//Nov/msg00000.html
- http://www.vupen.com/english/advisories/2010/1849
- http://www.securityfocus.com/bid/41770
- http://www.redhat.com/support/errata/RHSA-2010-0542.html
- http://secunia.com/advisories/40687
- http://www.securityfocus.com/archive/1/515545/100/0/threaded
- http://lists.opensuse.org/opensuse-security-announce/2010-08/msg00001.html
- http://www.redhat.com/support/errata/RHSA-2010-0543.html
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.