{"schemaVersion":3,"id":"CVE-2018-5730","aliases":["UBUNTU-CVE-2018-5730","DEBIAN-CVE-2018-5730"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2018-03-06T20:00:00.000Z","modified":"2024-08-05T05:40:51.262Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.5,"severity":"medium","version":"2.0","versionLabel":"v2.0","source":"NVD","vector":"AV:N/AC:L/Au:S/C:P/I:P/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":3.8,"severity":"low","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":5.5,"severity":"medium","vector":"AV:N/AC:L/Au:S/C:P/I:P/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":3.8,"severity":"low","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N","exploitability":3.1,"impact":4.2,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":3.8,"severity":"low","vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N","exploitability":3.1,"impact":4.2,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":3.8,"severity":"low","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N","exploitability":3.1,"impact":4.2,"computed":true}]},"epss":{"probability":0.02236,"percentile":0.82517,"severity":"low","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.02236},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02236,"percentile":0.82517}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02236,"percentile":0.82517}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-90","name":"Improper Neutralization of Special Elements used in an LDAP Query ('LDAP Injection')","description":"The product constructs all or part of an LDAP query using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended LDAP query when it is sent to a downstream component.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/90.html"}],"affected":[{"vendor":"debian","product":"krb5","name":"krb5","label":"krb5","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/krb5","purlType":"deb","versions":[{"text":"< 1.16.1-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.16.1-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"krb5","name":"krb5","label":"krb5","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/krb5","purlType":"deb","versions":[{"text":"< 1.12+dfsg-2ubuntu5.4","noFixRecorded":false,"fixedIn":null},{"text":"< 1.13.2+dfsg-5ubuntu2.1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.16-2ubuntu0.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.12+dfsg-2ubuntu5.4 | < 1.13.2+dfsg-5ubuntu2.1 | < 1.16-2ubuntu0.1","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"8.0","noFixRecorded":false,"fixedIn":null},{"text":"9.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"8.0 | 9.0","eol":{"isEol":true,"eolDate":"2020-06-30T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"8","label":"8 (Jessie)","eolFrom":"2020-06-30T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":"8.11"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"fedoraproject","product":"fedora","name":"fedora","label":"fedora","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"26","noFixRecorded":false,"fixedIn":null},{"text":"27","noFixRecorded":false,"fixedIn":null}],"versionsText":"26 | 27","eol":{"isEol":true,"eolDate":"2018-05-29T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"26","label":"26","eolFrom":"2018-05-29T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"fedora","label":"Fedora Linux","category":"os"}},"hubHref":"/vendor/fedoraproject/fedora"},{"vendor":"mit","product":"kerberos_5","name":"kerberos 5","label":"kerberos_5","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 5-1.6, < 5-1.21.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 5-1.6, < 5-1.21.2","eol":null,"hubHref":"/vendor/mit/kerberos_5"},{"vendor":"redhat","product":"enterprise_linux_desktop","name":"enterprise linux desktop","label":"enterprise_linux_desktop","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"7.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"7.0","eol":null,"hubHref":"/vendor/redhat/enterprise_linux_desktop"},{"vendor":"redhat","product":"enterprise_linux_server","name":"enterprise linux server","label":"enterprise_linux_server","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"7.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"7.0","eol":null,"hubHref":"/vendor/redhat/enterprise_linux_server"},{"vendor":"redhat","product":"enterprise_linux_workstation","name":"enterprise linux workstation","label":"enterprise_linux_workstation","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"7.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"7.0","eol":null,"hubHref":"/vendor/redhat/enterprise_linux_workstation"}],"affectedCount":8,"eol":{"hasEol":true,"count":2},"references":[{"url":"http://www.securitytracker.com/id/1042071","label":"www.securitytracker.com/id/1042071","hostname":"www.securitytracker.com","tags":["VDB Entry","X Refsource SECTRACK","Broken Link","Third Party Advisory"]},{"url":"https://github.com/krb5/krb5/commit/e1caf6fb74981da62039846931ebdffed71309d1","label":"github.com/krb5/krb5/commit/e1caf6fb74981da62039846931ebdffed71309d1","hostname":"github.com","tags":["X Refsource CONFIRM","Patch","Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2018:3071","label":"access.redhat.com/errata/RHSA-2018:3071","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","Third Party Advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1551082","label":"bugzilla.redhat.com/show_bug.cgi?id=1551082","hostname":"bugzilla.redhat.com","tags":["X Refsource CONFIRM","Issue Tracking","Patch","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OIFUL3CPM4S5TOXTTOCQ3CUZN6XCXUTR/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA","Mailing List","Third Party Advisory"]},{"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=891869","label":"bugs.debian.org/cgi-bin/bugreport.cgi?bug=891869","hostname":"bugs.debian.org","tags":["X Refsource CONFIRM","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GK5T6JPMBHBPKS7HNGHYUUF4KKRMNSNU/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA","Mailing List","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/01/msg00020.html","label":"lists.debian.org/debian-lts-announce/2019/01/msg00020.html","hostname":"lists.debian.org","tags":["Mailing List","X Refsource MLIST","Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHBA-2019:0327","label":"access.redhat.com/errata/RHBA-2019:0327","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/09/msg00019.html","label":"lists.debian.org/debian-lts-announce/2021/09/msg00019.html","hostname":"lists.debian.org","tags":["Mailing List","X Refsource MLIST","Third Party Advisory"]},{"url":"https://ubuntu.com/security/CVE-2018-5730","label":"ubuntu.com/security/CVE-2018-5730","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-5730","label":"www.cve.org/CVERecord?id=CVE-2018-5730","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-5730","label":"security-tracker.debian.org/tracker/CVE-2018-5730","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-1643-1","DLA-2771-1","MGASA-2018-0155","OPENSUSE-SU-2019:0139-1","RHSA-2018:3071","SUSE-SU-2018:0846-1","SUSE-SU-2018:0859-1","SUSE-SU-2019:0175-1"],"duplicates":[],"related":["OPENSUSE-SU-2019:0139-1","SUSE-SU-2018:0846-1","SUSE-SU-2018:0859-1","SUSE-SU-2019:0175-1"]},"timeline":[{"kind":"published","date":"2018-03-06T20:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T05:40:51.262Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":22,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T08:33:23.412Z","stale":false,"partial":false}}