PT-2024-21058

CVE-2024-25638

·

Published

2024-07-22

·

Updated

2026-09-18

Description by

CVSS 3.1
8.9
High
MetricsAV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:L
Name of the Vulnerable Software and Affected Versions dnsjava versions prior to 3.6.0
Description The issue arises from dnsjava not checking the relevance of records in DNS replies to the query, allowing an attacker to respond with records from different zones. This can lead to applications blindly filtering received results and potentially taking irrelevant records as authentic answers. The vulnerability can be exploited in various scenarios, including exchanging SRV records to redirect user credentials, exchanging MX records for information disclosure, and manipulating the root of trust for dependent applications by exchanging URI and SMIMEA records.
Recommendations For versions prior to 3.6.0, update to version 3.6.0 to fix the vulnerability. As a temporary workaround, consider filtering the received RRs using an algorithm that verifies the authenticity and relevance of the records to the query. When using a ValidatingResolver, ignore any Server indications of whether or not data was available. For APIs returning RRs from DNS responses, filter the RRs to ensure they are relevant to the query.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-CFXW-4H78-H7FW
CLEANSTART-2026-DD05788
CLEANSTART-2026-GU42194
CLEANSTART-2026-VH41554
ECHO-C2B4-CBCE-5703
OESA-2024-1899
Found an issue in the description? Have something to add? Feel free to write us 👾