Home

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.

PUBLISHED Reserved 2025-09-08 | Published 2025-11-12 | Updated 2025-11-17 | Assigner redhat




MEDIUM: 5.9CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Problem types

Allocation of Resources Without Limits or Throttling

Product status

Default status
affected

0:1.0.0-19.el10_1 (rpm) before *
unaffected

Default status
affected

0:1.0.0-19.el10_0 (rpm) before *
unaffected

Default status
affected

8100020251103113748.143e9e98 (rpm) before *
unaffected

Default status
affected

8100020251028161822.823393f5 (rpm) before *
unaffected

Default status
affected

0:1.0.0-9.el9_7 (rpm) before *
unaffected

Default status
affected

0:1.0.0-7.el9_2.1 (rpm) before *
unaffected

Default status
affected

0:1.0.0-9.el9_6 (rpm) before *
unaffected

Default status
affected

Timeline

2025-09-08:Reported to Red Hat.
2025-11-12:Made public.

Credits

Red Hat would like to thank Arad Inbar for reporting this issue.

References

access.redhat.com/errata/RHSA-2025:21138 (RHSA-2025:21138) vendor-advisory

access.redhat.com/errata/RHSA-2025:21139 (RHSA-2025:21139) vendor-advisory

access.redhat.com/errata/RHSA-2025:21140 (RHSA-2025:21140) vendor-advisory

access.redhat.com/errata/RHSA-2025:21141 (RHSA-2025:21141) vendor-advisory

access.redhat.com/errata/RHSA-2025:21142 (RHSA-2025:21142) vendor-advisory

access.redhat.com/errata/RHSA-2025:21448 (RHSA-2025:21448) vendor-advisory

access.redhat.com/security/cve/CVE-2025-59089 vdb-entry

bugzilla.redhat.com/show_bug.cgi?id=2393958 (RHBZ#2393958) issue-tracking

github.com/latchset/kdcproxy/pull/68

cve.org (CVE-2025-59089)

nvd.nist.gov (CVE-2025-59089)

Download JSON