CVE-2020-35518
When binding against a DN during authentication, the reply from 389-ds-base will be different whether the DN exists or not. This can be used by an unauthenticated attacker to check the existence of an entry in the LDAP database.
What to do
Fixed builds are available from Debian, Red Hat: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
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 |
|---|---|---|---|---|
| Ubuntu 24.04 | 389-ds-base | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | 389-ds-base | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | 389-ds-base | Fix pending | 1.4.3.6-2ubuntu0.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2020-35518 |
| Ubuntu 16.04 | 389-ds-base | Fix pending | ||
| Ubuntu 14.04 | 389-ds-base | Fix pending | ||
| Debian 13 | 389-ds-base | Fixed | 1.4.4.10-1 | DEBIAN-CVE-2020-35518 |
| Debian 12 | 389-ds-base | Fixed | 1.4.4.10-1 | DEBIAN-CVE-2020-35518 |
| Red Hat Enterprise Linux 9 | 389-ds-base | Not affected | ||
| Red Hat Enterprise Linux 9 | 389-ds-base-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | 389-ds-base-libs | Not affected | ||
| Red Hat Enterprise Linux 9 | 389-ds-base-snmp | Not affected | ||
| Red Hat Enterprise Linux 9 | python3-lib389 | Not affected | ||
| Red Hat Enterprise Linux 8 | 389-ds-base | Fixed | 0:1.4.3.8-7.module+el8.3.0+10310+6e88d919 | RHSA-2021:1086 |
| Red Hat Enterprise Linux 8 | 389-ds-base-devel | Fixed | 0:1.4.3.8-7.module+el8.3.0+10310+6e88d919 | RHSA-2021:1086 |
| Red Hat Enterprise Linux 8 | 389-ds-base-legacy-tools | Fixed | 0:1.4.3.8-7.module+el8.3.0+10310+6e88d919 | RHSA-2021:1086 |
| Red Hat Enterprise Linux 8 | 389-ds-base-libs | Fixed | 0:1.4.3.8-7.module+el8.3.0+10310+6e88d919 | RHSA-2021:1086 |
| Red Hat Enterprise Linux 8 | 389-ds-base-snmp | Fixed | 0:1.4.3.8-7.module+el8.3.0+10310+6e88d919 | RHSA-2021:1086 |
| Red Hat Enterprise Linux 8 | python3-lib389 | Fixed | 0:1.4.3.8-7.module+el8.3.0+10310+6e88d919 | RHSA-2021:1086 |
| Red Hat Enterprise Linux 7 | 389-ds-base | Fixed | 0:1.3.10.2-12.el7_9 | RHSA-2021:2323 |
| Red Hat Enterprise Linux 7 | 389-ds-base-devel | Fixed | 0:1.3.10.2-12.el7_9 | RHSA-2021:2323 |
| Red Hat Enterprise Linux 7 | 389-ds-base-libs | Fixed | 0:1.3.10.2-12.el7_9 | RHSA-2021:2323 |
| Red Hat Enterprise Linux 7 | 389-ds-base-snmp | Fixed | 0:1.3.10.2-12.el7_9 | RHSA-2021:2323 |
| Red Hat Enterprise Linux 6 | 389-ds-base | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | 389-ds-base-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | 389-ds-base-libs | Will not fix Out of support scope |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- 389-ds-base: affected: 389-ds-base 2.0.3, 389-ds-base 1.4.4.13, 389-ds-base 1.4.3.19
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1905565
- https://github.com/389ds/389-ds-base/issues/4480
- https://github.com/389ds/389-ds-base/commit/cc0f69283abc082488824702dae485b8eae938bc
- https://github.com/389ds/389-ds-base/commit/b6aae4d8e7c8a6ddd21646f94fef1bf7f22c3f32
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.