CVEfocus › CVE database › CVE-2018-5709

CVE-2018-5709

CVSS 7.5 HighEPSS 2.0% (higher than 82% of CVEs)Published 2018-01-16Updated 2024-08-05Assigner: mitre

An issue was discovered in MIT Kerberos 5 (aka krb5) through 1.16. There is a variable "dbentry->n_key_data" in kadmin/dbutil/dump.c that can store 16-bit data but unknowingly the developer has assigned a "u4" variable to it, which is for 32-bit data. An attacker can use this vulnerability to affect other artifacts of the database as we know that a Kerberos database dump file contains trusted data.

What to do

Fixed builds are available from Alpine: 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

18Fixed
2Fix pending
6Will not fix
25Not affected

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04krb5Will not fix
according to debian security tracker: non-issue, codepath is only run on trusted input, potential integer overflow is non-issue no patch available in…
UBUNTU-CVE-2018-5709
Ubuntu 20.04krb5Will not fix
according to debian security tracker: non-issue, codepath is only run on trusted input, potential integer overflow is non-issue no patch available in…
UBUNTU-CVE-2018-5709
Ubuntu 18.04krb5Fix pendingUBUNTU-CVE-2018-5709
Ubuntu 16.04krb5Will not fix
according to debian security tracker: non-issue, codepath is only run on trusted input, potential integer overflow is non-issue no patch available in…
UBUNTU-CVE-2018-5709
Ubuntu 14.04krb5Fix pendingUBUNTU-CVE-2018-5709
Debian 14krb5Will not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2018-5709
Debian 13krb5Will not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2018-5709
Debian 12krb5Will not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2018-5709
Red Hat Enterprise Linux 8krb5Not affected
Red Hat Enterprise Linux 8krb5-develNot affected
Red Hat Enterprise Linux 8krb5-libsNot affected
Red Hat Enterprise Linux 8krb5-pkinitNot affected
Red Hat Enterprise Linux 8krb5-serverNot affected
Red Hat Enterprise Linux 8krb5-server-ldapNot affected
Red Hat Enterprise Linux 8krb5-workstationNot affected
Red Hat Enterprise Linux 8libkadm5Not affected
Red Hat Enterprise Linux 7krb5Not affected
Red Hat Enterprise Linux 7krb5-develNot affected
Red Hat Enterprise Linux 7krb5-libsNot affected
Red Hat Enterprise Linux 7krb5-pkinitNot affected
Red Hat Enterprise Linux 7krb5-serverNot affected
Red Hat Enterprise Linux 7krb5-server-ldapNot affected
Red Hat Enterprise Linux 7krb5-workstationNot affected
Red Hat Enterprise Linux 7libkadm5Not affected
Red Hat Enterprise Linux 6krb5Not affected
Red Hat Enterprise Linux 6krb5-develNot affected
Red Hat Enterprise Linux 6krb5-libsNot affected
Red Hat Enterprise Linux 6krb5-pkinit-opensslNot affected
Red Hat Enterprise Linux 6krb5-serverNot affected
Red Hat Enterprise Linux 6krb5-server-ldapNot affected
Red Hat Enterprise Linux 6krb5-workstationNot affected
Red Hat Enterprise Linux 6libkadm5Not affected
Red Hat Enterprise Linux 5krb5Not affected
Alpine Linux 3.24krb5Fixed1.15.3-r0ALPINE-CVE-2018-5709
Alpine Linux 3.23krb5Fixed1.15.3-r0ALPINE-CVE-2018-5709
Alpine Linux 3.22krb5Fixed1.15.3-r0ALPINE-CVE-2018-5709
Alpine Linux 3.21krb5Fixed1.15.3-r0ALPINE-CVE-2018-5709
Alpine Linux 3.20krb5Fixed1.15.3-r0ALPINE-CVE-2018-5709
Alpine Linux 3.19krb5Fixed1.15.3-r0ALPINE-CVE-2018-5709
Alpine Linux 3.18krb5Fixed1.15.3-r0ALPINE-CVE-2018-5709
Alpine Linux 3.17krb5Fixed1.15.3-r0ALPINE-CVE-2018-5709
Alpine Linux 3.16krb5Fixed1.15.3-r0ALPINE-CVE-2018-5709
Alpine Linux 3.15krb5Fixed1.15.3-r0ALPINE-CVE-2018-5709
Alpine Linux 3.14krb5Fixed1.15.3-r0ALPINE-CVE-2018-5709
Alpine Linux 3.13krb5Fixed1.15.3-r0ALPINE-CVE-2018-5709
Alpine Linux 3.12krb5Fixed1.15.3-r0ALPINE-CVE-2018-5709
Alpine Linux 3.11krb5Fixed1.15.3-r0ALPINE-CVE-2018-5709
Alpine Linux 3.10krb5Fixed1.15.3-r0ALPINE-CVE-2018-5709
Alpine Linux 3.9krb5Fixed1.15.3-r0ALPINE-CVE-2018-5709
Alpine Linux 3.8krb5Fixed1.15.3-r0ALPINE-CVE-2018-5709
Alpine Linux 3.7krb5Fixed1.15.3-r0ALPINE-CVE-2018-5709

References

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.