Bug 1535554 (CVE-2018-5709) - CVE-2018-5709 krb5: integer overflow in dbentry->n_key_data in kadmin/dbutil/dump.c
Summary: CVE-2018-5709 krb5: integer overflow in dbentry->n_key_data in kadmin/dbutil/...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2018-5709
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1535555
Blocks: 1535566
TreeView+ depends on / blocked
 
Reported: 2018-01-17 15:38 UTC by Laura Pardo
Modified: 2021-03-11 16:57 UTC (History)
43 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-02-15 05:52:59 UTC


Attachments (Terms of Use)

Description Laura Pardo 2018-01-17 15:38:46 UTC
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.

References:
https://github.com/poojamnit/Kerberos-V5-1.16-Vulnerabilities

Comment 1 Laura Pardo 2018-01-17 15:40:08 UTC
Created krb5 tracking bugs for this issue:

Affects: fedora-all [bug 1535555]

Comment 4 Huzaifa S. Sidhpurwala 2018-02-02 04:46:06 UTC
Statement:

This is essentially an integer truncation issue, and not an integer overflow. We have determined that this should not affect any other data allocated close to the  16-bit integer in question "dbentry-> n_key_data". Red Hat Product Security does not consider this issue as a security flaw.


Note You need to log in before you can comment on or make changes to this bug.