Integer overflow - CVE-2018-5709

 

Integer overflow - CVE-2018-5709

Published: January 16, 2018 / Updated: August 4, 2020


Vulnerability identifier: #VU33448
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2018-5709
CWE-ID: CWE-190
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to manipulate data.

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.


Affected software

DataStax Hyper-Converged Database
krb5 (Alpine package)

How to mitigate CVE-2018-5709

Install update from vendor's website.

DataStax Hyper-Converged Database - update to 1.2.5
krb5 (Alpine package) - update to 1.15.3-r0

External References

Related Security Bulletins