5.9medium
Python-kdcproxy: remote dos via unbounded tcp upstream buffering
- Severity
- 5.9medium CVSS:3.1 by redhat
- Exploit likelihood
- 0.56% (higher than 47% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- redhat
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| kdcproxy | before 1.1.0 | CVE List |
| python-kdcproxy | Not specified Not affected: from 0:1.0.0-19.el10_1 before *, from 0:1.0.0-19.el10_0 before *, from 0:0.3.2-3.el7_9.3 before *, from 0:1.0.0-9.el9_7 before *, from 0:1.0.0-7.el9_0.1 before *, from 0:1.0.0-7.el9_2.1 before * | CVE List |
| idm:client | Not specified Not affected: from 8100020251103113748.143e9e98 before * | CVE List |
| idm:DL1 | Not specified Not affected: from 8100020251028161822.823393f5 before *, from 8020020251106022345.792f4060 before *, from 8040020251103205102.5b01ab7e before *, from 8060020251030180424.ada582f1 before *, from 8080020251029082621.b0a6ceea before * | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-59089 changed 2026-06-30 | CVE Terms of Use |
| NVD | CVE-2025-59089 changed 2026-06-30 | Public domain |