CVE-2018-5730 json
MIT krb5 1.6 or later allows an authenticated kadmin with permission to add principals to an LDAP Kerberos database to circumvent a DN cont…
published 2018-03-06 8 y ago modified 2026-06-17 4 mo ago also EUVD-2018-17499
- cvss
- 3.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.2%
- EPSS 2.2% chance of exploitation in 30 days, percentile 82%
- public exploits
- 0
- none known
Summary
MIT krb5 1.6 or later allows an authenticated kadmin with permission to add principals to an LDAP Kerberos database to circumvent a DN containership check by supplying both a "linkdn" and "containerdn" database argument, or by supplying a DN string which is a left extension of a container DN string but is not hierarchically within the container DN.
Patch / fix
- mit kerberos_5 5-1.21.2
- krb5 Debian 14, Debian 13, Debian 12 1.16.1-1
debian advisories DEBIAN-CVE-2018-5730
- krb5 Ubuntu 14.04 LTS 1.12+dfsg-2ubuntu5.4
- krb5 Ubuntu 16.04 LTS 1.13.2+dfsg-5ubuntu2.1
- krb5 Ubuntu 18.04 LTS 1.16-2ubuntu0.1
ubuntu advisories UBUNTU-CVE-2018-5730
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- krb5 RHEL 7 1.15.1-34.el7
- libkadm5 RHEL 7 1.15.1-34.el7
- krb5-libs RHEL 7 1.15.1-34.el7
- krb5-pkinit RHEL 7 1.15.1-34.el7
- krb5-server RHEL 7 1.15.1-34.el7
- krb5-server-ldap RHEL 7 1.15.1-34.el7
- krb5-workstation RHEL 7 1.15.1-34.el7
red hat advisories RHSA-2018:3071
- krb5 SLE Module for Server Applications 15, SLE Module for Basesystem 15 1.15.2-6.6.2
- krb5 SLES for SAP 11 SP4, SLES 11 SP4, SLE Software Development Kit 11 SP4 1.6.3-133.49.113.7.1
- krb5 SLES for SAP 12 SP3, SLES for SAP 12 SP2, SLES for Raspberry Pi 12 SP2 +6 more 1.12.5-40.23.2
suse advisories SUSE-SU-2019:0175-1SUSE-SU-2018:0859-1SUSE-SU-2018:0846-1
- krb5 openSUSE Leap 15.0 1.15.2-lp150.5.6.1
- krb5-mini openSUSE Leap 15.0 1.15.2-lp150.5.6.1
opensuse advisories openSUSE-SU-2019:0139-1
- krb5 Arch Linux 1.16.1-1
arch linux advisories AVG-586
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-5730 updated cvss 3.8
krb5: DN container check bypass by supplying special crafted data
-
Red Hat Enterprise Linux 5 krb5 Red Hat Enterprise Linux 6 krb5, libkadm5, krb5-libs, krb5-server, krb5-server-ldap, krb5-workstation, +1 more Red Hat JBoss Enterprise Application Platform 6 krb5 Red Hat JBoss Enterprise Web Server 2 krb5affected: no fix planned “Will not fix”
-
Red Hat Enterprise Linux Client (v. 7) krb5 1.15.1-34.el7, libkadm5 1.15.1-34.el7, krb5-libs 1.15.1-34.el7, krb5-pkinit 1.15.1-34.el7, krb5-workstation 1.15.1-34.el7 Red Hat Enterprise Linux Client Optional (v. 7) krb5-server 1.15.1-34.el7, krb5-server-ldap 1.15.1-34.el7 Red Hat Enterprise Linux ComputeNode (v. 7) krb5 1.15.1-34.el7, libkadm5 1.15.1-34.el7, krb5-libs 1.15.1-34.el7, krb5-pkinit 1.15.1-34.el7, krb5-workstation 1.15.1-34.el7 Red Hat Enterprise Linux ComputeNode Optional (v. 7) krb5-server 1.15.1-34.el7, krb5-server-ldap 1.15.1-34.el7 Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) krb5 1.15.1-34.el7, libkadm5 1.15.1-34.el7, krb5-libs 1.15.1-34.el7, krb5-pkinit 1.15.1-34.el7, krb5-server 1.15.1-34.el7, krb5-server-ldap 1.15.1-34.el7, +1 more Red Hat Enterprise Linux Server (v. 7) krb5 1.15.1-34.el7, libkadm5 1.15.1-34.el7, krb5-libs 1.15.1-34.el7, krb5-pkinit 1.15.1-34.el7, krb5-server 1.15.1-34.el7, krb5-server-ldap 1.15.1-34.el7, +1 morefixed: vendor fix RHSA-2018:3071
+1 more productsfewer
Red Hat Enterprise Linux Workstation (v. 7) krb5 1.15.1-34.el7, libkadm5 1.15.1-34.el7, krb5-libs 1.15.1-34.el7, krb5-pkinit 1.15.1-34.el7, krb5-server 1.15.1-34.el7, krb5-server-ldap 1.15.1-34.el7, +1 more -
Red Hat Enterprise Linux 8 krb5, libkadm5, krb5-libs, krb5-pkinit, krb5-server, krb5-server-ldap, +1 more Red Hat JBoss Core Services krb5not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.24% chance of exploitation in the next 30 days, higher than 82% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 3.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N |
| NVD | 2.0 | 5.5 | AV:N/AC:L/Au:S/C:P/I:P/A:N |
Classification
- Weakness
-
- CWE-90 Improper Neutralization of Special Elements used in an LDAP Query
References
-
github.com
/krb5/krb5/commit/e1caf6fb74981da62039846931ebdffed71309d1
patch, third-party-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=1551082
issue-tracking, patch, third-party-advisory
-
access.redhat.com
/errata/RHSA-2018:3071
vendor-advisory, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/OIFUL3CPM4S5TOXTTOCQ3CUZN6XCXUTR/
vendor-advisory, mailing-list, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/GK5T6JPMBHBPKS7HNGHYUUF4KKRMNSNU/
vendor-advisory, mailing-list, third-party-advisory
-
access.redhat.com
/errata/RHBA-2019:0327
vendor-advisory, third-party-advisory
-
securitytracker.com
/id/1042071
vdb-entry, broken-link, third-party-advisory
-
bugs.debian.org
/cgi-bin/bugreport.cgi?bug=891869
third-party-advisory
-
lists.debian.org
/debian-lts-announce/2019/01/msg00020.html
mailing-list, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2021/09/msg00019.html
mailing-list, third-party-advisory
Sources
- CVE List CVE-2018-5730
- NVD CVE-2018-5730
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.