CVE-2025-59089
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| latchset | kdcproxy | 0 < 1.1.0 | affected |
| Red Hat | Red Hat Enterprise Linux 10 | 0:1.0.0-19.el10_1 < * | unaffected |
| Red Hat | Red Hat Enterprise Linux 10.0 Extended Update Support | 0:1.0.0-19.el10_0 < * | unaffected |
| Red Hat | Red Hat Enterprise Linux 7 Extended Lifecycle Support | 0:0.3.2-3.el7_9.3 < * | unaffected |
| Red Hat | Red Hat Enterprise Linux 8 | 8100020251103113748.143e9e98 < * | unaffected |
| Red Hat | Red Hat Enterprise Linux 8 | 8100020251028161822.823393f5 < * | unaffected |
| Red Hat | Red Hat Enterprise Linux 8.2 Advanced Update Support | 8020020251106022345.792f4060 < * | unaffected |
| Red Hat | Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | 8040020251103205102.5b01ab7e < * | unaffected |
| Red Hat | Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On | 8040020251103205102.5b01ab7e < * | unaffected |
| Red Hat | Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | 8060020251030180424.ada582f1 < * | unaffected |
| Red Hat | Red Hat Enterprise Linux 8.6 Telecommunications Update Service | 8060020251030180424.ada582f1 < * | unaffected |
| Red Hat | Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions | 8060020251030180424.ada582f1 < * | unaffected |
| Red Hat | Red Hat Enterprise Linux 8.8 Telecommunications Update Service | 8080020251029082621.b0a6ceea < * | unaffected |
| Red Hat | Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions | 8080020251029082621.b0a6ceea < * | unaffected |
| Red Hat | Red Hat Enterprise Linux 9 | 0:1.0.0-9.el9_7 < * | unaffected |
| Red Hat | Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions | 0:1.0.0-7.el9_0.1 < * | unaffected |
| Red Hat | Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions | 0:1.0.0-7.el9_2.1 < * | unaffected |
| Red Hat | Red Hat Enterprise Linux 9.4 Extended Update Support | 0:1.0.0-7.el9_4.1 < * | unaffected |
| Red Hat | Red Hat Enterprise Linux 9.6 Extended Update Support | 0:1.0.0-9.el9_6 < * | unaffected |
Weaknesses
- CWE-770: Allocation of Resources Without Limits or Throttling
Workarounds
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: no
- Technical Impact: partial
CVE Program Container
Additional References
References
- https://access.redhat.com/errata/RHSA-2025:21138
- https://access.redhat.com/errata/RHSA-2025:21139
- https://access.redhat.com/errata/RHSA-2025:21140
- https://access.redhat.com/errata/RHSA-2025:21141
- https://access.redhat.com/errata/RHSA-2025:21142
- https://access.redhat.com/errata/RHSA-2025:21448
- https://access.redhat.com/errata/RHSA-2025:21748
- https://access.redhat.com/errata/RHSA-2025:21806
- https://access.redhat.com/errata/RHSA-2025:21818
- https://access.redhat.com/errata/RHSA-2025:21819
- https://access.redhat.com/errata/RHSA-2025:21820
- https://access.redhat.com/errata/RHSA-2025:21821
- https://access.redhat.com/errata/RHSA-2025:22982
- https://access.redhat.com/security/cve/CVE-2025-59089
- https://bugzilla.redhat.com/show_bug.cgi?id=2393958
- https://github.com/latchset/kdcproxy/commit/c7675365aa20be11f03247966336c7613cac84e1
- https://github.com/latchset/kdcproxy/pull/68
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.