]> git.ipfire.org Git - thirdparty/krb5.git/commit
Prevent overflow when calculating ulog block size
authorZoltan Borbely <Zoltan.Borbely@morganstanley.com>
Tue, 28 Jan 2025 21:39:25 +0000 (16:39 -0500)
committerGreg Hudson <ghudson@mit.edu>
Tue, 28 Jan 2025 21:51:34 +0000 (16:51 -0500)
commit78ceba024b64d49612375be4a12d1c066b0bfbd0
treeacb1892e40943ad048bb86029313529e65661c9c
parent4ed7da378940198cf4415f86d4eb013de6ac6455
Prevent overflow when calculating ulog block size

In kdb_log.c:resize(), log an error and fail if the update size is
larger than the largest possible block size (2^16-1).

CVE-2025-24528:

In MIT krb5 release 1.7 and later with incremental propagation
enabled, an authenticated attacker can cause kadmind to write beyond
the end of the mapped region for the iprop log file, likely causing a
process crash.

[ghudson@mit.edu: edited commit message and added CVE description]

ticket: 9159 (new)
tags: pullup
target_version: 1.21-next
src/lib/kdb/kdb_log.c