Skip to content

CVE-2025-59089 Python-kdcproxy: remote dos via unbounded tcp upstream buffering

MediumCVSS 5.9 EPSS 0.56%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
UbuntuDebianRed Hat

Description

If an attacker causes kdcproxy to connect to an attacker-controlled KDC server (e.g. through server-side request forgery), they can exploit the fact that kdcproxy does not enforce bounds on TCP response length to conduct a denial-of-service attack. While receiving the KDC's response, kdcproxy copies the entire buffered stream into a new
buffer on each recv() call, even when the transfer is incomplete, causing excessive memory allocation and CPU usage. Additionally, kdcproxy accepts incoming response chunks as long as the received data length is not exactly equal to the length indicated in the response
header, even when individual chunks or the total buffer exceed the maximum length of a Kerberos message. This allows an attacker to send unbounded data until the connection timeout is reached (approximately 12 seconds), exhausting server memory or CPU resources. Multiple concurrent requests can cause accept queue overflow, denying service to legitimate clients.

Upgrade path

34 packages: 17 fixed, 17 with no fix yet.

PackageAffectedFixed inStatus
debian/python-kdcproxy(Debian 12) = 1.0.0-1; = 1.0.0-2; All versions No fix listed No fix yet
debian/python-kdcproxy(Debian 13) = 1.0.0-2; All versions No fix listed No fix yet
debian/python-kdcproxy(Debian 14) = 1.0.0-2; All versions No fix listed No fix yet
redhat/idm:client-8100020251103113748.143e9e98(Red Hat enterprise_linux 8) All versions No fix listed No fix yet
redhat/idm:DL1-8020020251106022345.792f4060(Red Hat rhel_aus 8.2) All versions No fix listed No fix yet
redhat/idm:DL1-8040020251103205102.5b01ab7e(Red Hat rhel_aus 8.4) All versions No fix listed No fix yet
redhat/idm:DL1-8040020251103205102.5b01ab7e(Red Hat rhel_eus_long_life 8.4) All versions No fix listed No fix yet
redhat/idm:DL1-8060020251030180424.ada582f1(Red Hat rhel_aus 8.6) All versions No fix listed No fix yet
redhat/idm:DL1-8060020251030180424.ada582f1(Red Hat rhel_e4s 8.6) All versions No fix listed No fix yet
redhat/idm:DL1-8060020251030180424.ada582f1(Red Hat rhel_tus 8.6) All versions No fix listed No fix yet
redhat/idm:DL1-8080020251029082621.b0a6ceea(Red Hat rhel_e4s 8.8) All versions No fix listed No fix yet
redhat/idm:DL1-8080020251029082621.b0a6ceea(Red Hat rhel_tus 8.8) All versions No fix listed No fix yet
redhat/idm:DL1-8100020251028161822.823393f5(Red Hat enterprise_linux 8) All versions No fix listed No fix yet
ubuntu/python-kdcproxy(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/python-kdcproxy(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/python-kdcproxy(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/python-kdcproxy(Ubuntu 26.10) All versions No fix listed No fix yet
latchset kdcproxy < 1.1.0 1.1.0 Fixed
redhat enterprise linux < 0:1.0.0-9.el9_7; < 0:1.0.0-19.el10_1; < 8100020251028161822.823393f5; < 8100020251103113748.143e9e98 0:1.0.0-9.el9_7, 0:1.0.0-19.el10_1, 8100020251028161822.823393f5, 8100020251103113748.143e9e98 Fixed
redhat enterprise linux eus < 0:1.0.0-19.el10_0 0:1.0.0-19.el10_0 Fixed
redhat rhel aus < 8020020251106022345.792f4060; < 8040020251103205102.5b01ab7e; < 8060020251030180424.ada582f1 8020020251106022345.792f4060, 8040020251103205102.5b01ab7e, 8060020251030180424.ada582f1 Fixed
redhat rhel e4s < 0:1.0.0-7.el9_0.1; < 0:1.0.0-7.el9_2.1; < 8060020251030180424.ada582f1; < 8080020251029082621.b0a6ceea 0:1.0.0-7.el9_0.1, 0:1.0.0-7.el9_2.1, 8060020251030180424.ada582f1, 8080020251029082621.b0a6ceea Fixed
redhat rhel els < 0:0.3.2-3.el7_9.3 0:0.3.2-3.el7_9.3 Fixed
redhat rhel eus < 0:1.0.0-7.el9_4.1; < 0:1.0.0-9.el9_6 0:1.0.0-7.el9_4.1, 0:1.0.0-9.el9_6 Fixed
redhat rhel eus long life < 8040020251103205102.5b01ab7e 8040020251103205102.5b01ab7e Fixed
redhat rhel tus < 8060020251030180424.ada582f1; < 8080020251029082621.b0a6ceea 8060020251030180424.ada582f1, 8080020251029082621.b0a6ceea Fixed
redhat/python-kdcproxy(Red Hat enterprise_linux 10.1) < 1.0.0-19.el10_1 1.0.0-19.el10_1 Fixed
redhat/python-kdcproxy(Red Hat enterprise_linux 9) < 1.0.0-9.el9_7 1.0.0-9.el9_7 Fixed
redhat/python-kdcproxy(Red Hat enterprise_linux_eus 10.0) < 1.0.0-19.el10_0 1.0.0-19.el10_0 Fixed
redhat/python-kdcproxy(Red Hat rhel_e4s 9.0) < 1.0.0-7.el9_0.1 1.0.0-7.el9_0.1 Fixed

… and 4 more packages.

Affected products

ProductAffected versionsFixed in
debian/python-kdcproxy(Debian:12) All versions No fix listed
debian/python-kdcproxy(Debian:12) = 1.0.0-1 No fix listed
debian/python-kdcproxy(Debian:12) = 1.0.0-2 No fix listed
debian/python-kdcproxy(Debian:13) All versions No fix listed
debian/python-kdcproxy(Debian:13) = 1.0.0-2 No fix listed
debian/python-kdcproxy(Debian:14) All versions No fix listed
debian/python-kdcproxy(Debian:14) = 1.0.0-2 No fix listed
latchset kdcproxy < 1.1.0 1.1.0
redhat enterprise linux < 0:1.0.0-19.el10_1 0:1.0.0-19.el10_1
redhat enterprise linux eus < 0:1.0.0-19.el10_0 0:1.0.0-19.el10_0
redhat rhel els < 0:0.3.2-3.el7_9.3 0:0.3.2-3.el7_9.3
redhat enterprise linux < 8100020251103113748.143e9e98 8100020251103113748.143e9e98
redhat enterprise linux < 8100020251028161822.823393f5 8100020251028161822.823393f5
redhat rhel aus < 8020020251106022345.792f4060 8020020251106022345.792f4060
redhat rhel aus < 8040020251103205102.5b01ab7e 8040020251103205102.5b01ab7e
redhat rhel eus long life < 8040020251103205102.5b01ab7e 8040020251103205102.5b01ab7e
redhat rhel aus < 8060020251030180424.ada582f1 8060020251030180424.ada582f1
redhat rhel e4s < 8060020251030180424.ada582f1 8060020251030180424.ada582f1
redhat rhel tus < 8060020251030180424.ada582f1 8060020251030180424.ada582f1
redhat rhel e4s < 8080020251029082621.b0a6ceea 8080020251029082621.b0a6ceea
redhat rhel tus < 8080020251029082621.b0a6ceea 8080020251029082621.b0a6ceea
redhat enterprise linux < 0:1.0.0-9.el9_7 0:1.0.0-9.el9_7
redhat rhel e4s < 0:1.0.0-7.el9_0.1 0:1.0.0-7.el9_0.1
redhat rhel e4s < 0:1.0.0-7.el9_2.1 0:1.0.0-7.el9_2.1
redhat rhel eus < 0:1.0.0-7.el9_4.1 0:1.0.0-7.el9_4.1
Show 23 more
ProductAffected versionsFixed in
redhat rhel eus < 0:1.0.0-9.el9_6 0:1.0.0-9.el9_6
ubuntu/python-kdcproxy(Ubuntu:22.04) All versions No fix listed
redhat/python-kdcproxy(Red Hat:enterprise_linux:10.1) < 1.0.0-19.el10_1 1.0.0-19.el10_1
redhat/python-kdcproxy(Red Hat:enterprise_linux_eus:10.0) < 1.0.0-19.el10_0 1.0.0-19.el10_0
redhat/python-kdcproxy(Red Hat:rhel_els:7) < 0.3.2-3.el7_9.3 0.3.2-3.el7_9.3
redhat/idm:client-8100020251103113748.143e9e98(Red Hat:enterprise_linux:8) All versions No fix listed
redhat/idm:DL1-8100020251028161822.823393f5(Red Hat:enterprise_linux:8) All versions No fix listed
redhat/idm:DL1-8020020251106022345.792f4060(Red Hat:rhel_aus:8.2) All versions No fix listed
redhat/idm:DL1-8040020251103205102.5b01ab7e(Red Hat:rhel_aus:8.4) All versions No fix listed
redhat/idm:DL1-8040020251103205102.5b01ab7e(Red Hat:rhel_eus_long_life:8.4) All versions No fix listed
redhat/idm:DL1-8060020251030180424.ada582f1(Red Hat:rhel_aus:8.6) All versions No fix listed
redhat/idm:DL1-8060020251030180424.ada582f1(Red Hat:rhel_tus:8.6) All versions No fix listed
redhat/idm:DL1-8060020251030180424.ada582f1(Red Hat:rhel_e4s:8.6) All versions No fix listed
redhat/idm:DL1-8080020251029082621.b0a6ceea(Red Hat:rhel_tus:8.8) All versions No fix listed
redhat/idm:DL1-8080020251029082621.b0a6ceea(Red Hat:rhel_e4s:8.8) All versions No fix listed
redhat/python-kdcproxy(Red Hat:enterprise_linux:9) < 1.0.0-9.el9_7 1.0.0-9.el9_7
redhat/python-kdcproxy(Red Hat:rhel_e4s:9.0) < 1.0.0-7.el9_0.1 1.0.0-7.el9_0.1
redhat/python-kdcproxy(Red Hat:rhel_e4s:9.2) < 1.0.0-7.el9_2.1 1.0.0-7.el9_2.1
redhat/python-kdcproxy(Red Hat:rhel_eus:9.4) < 1.0.0-7.el9_4.1 1.0.0-7.el9_4.1
redhat/python-kdcproxy(Red Hat:rhel_eus:9.6) < 1.0.0-9.el9_6 1.0.0-9.el9_6
ubuntu/python-kdcproxy(Ubuntu:24.04) All versions No fix listed
ubuntu/python-kdcproxy(Ubuntu:26.04) All versions No fix listed
ubuntu/python-kdcproxy(Ubuntu:26.10) All versions No fix listed

References