Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 917464 (CVE-2023-36054, CVE-2023-39975) - <app-crypt/mit-krb5-1.21.2: multiple vulnerabilities
Summary: <app-crypt/mit-krb5-1.21.2: multiple vulnerabilities
Status: CONFIRMED
Alias: CVE-2023-36054, CVE-2023-39975
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Security
URL: https://mailman.mit.edu/pipermail/ker...
Whiteboard: B3 [stable?]
Keywords:
Depends on: 917465
Blocks:
  Show dependency tree
 
Reported: 2023-11-17 04:12 UTC by John Helmert III
Modified: 2023-11-17 04:28 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2023-11-17 04:12:10 UTC
CVE-2023-36054 (https://web.mit.edu/kerberos/www/advisories/):

lib/kadm5/kadm_rpc_xdr.c in MIT Kerberos 5 (aka krb5) before 1.20.2 and 1.21.x before 1.21.1 frees an uninitialized pointer. A remote authenticated user can trigger a kadmind crash. This occurs because _xdr_kadm5_principal_ent_rec does not validate the relationship between n_key_data and the key_data array count.

Patch seems to be: https://github.com/krb5/krb5/commit/ef08b09c9459551aabbe7924fb176f1583053cdd

Also noted in 1.20.2 and 1.21.1 release notes:

"* Fix read overruns in SPNEGO parsing (already included in 1.21)."

Looks like we never had any vulnerable 1.21. Need to stabilize fixed
1.20.2.
Comment 1 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2023-11-17 04:28:48 UTC
CVE-2023-39975 (https://mailman.mit.edu/pipermail/kerberos-announce/2023q3/000206.html):

kdc/do_tgs_req.c in MIT Kerberos 5 (aka krb5) 1.21 before 1.21.2 has a double free that is reachable if an authenticated user can trigger an authorization-data handling failure. Incorrect data is copied from one ticket to another.

https://github.com/krb5/krb5/commit/88a1701b423c13991a8064feeb26952d3641d840