cve.bz

CVE-2024-25638 dnsjava dnsjava

8.9 highEPSS 0.4%Fix available

High (8.9) in dnsjava dnsjava. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in dnsjava:dnsjava 3.6.0.

On this page
dnsjava is an implementation of DNS in Java. Records in DNS replies are not checked for their relevance to the query, allowing an attacker to respond with RRs from different zones. This vulnerability is fixed in 3.6.0.

Severity

CVSS 3.1

8.9 high
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:L
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 34th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2025-07-23. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-345 Insufficient Verification of Data Authenticity
CWE-349 Acceptance of Extraneous Untrusted Data With Trusted Data
OWASP Top 10
A08:2025 Software or Data Integrity Failures
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-25638 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-25638?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-25638?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-25638 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
dnsjava< 3.6.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-cfxw-4h78-h7fwMavendnsjava:dnsjava<3.6.03.6.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12dnsjavano fix listedDEBIAN-CVE-2024-25638
Debian13, 14dnsjava3.6.2-1DEBIAN-CVE-2024-25638
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 5 morednsjavano fix listedUBUNTU-CVE-2024-25638

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This vulnerability in the dnsjava package is of important severity due to its potential to undermine the foundational security mechanisms of DNS-based applications. The improper validation of DNS resource records (RRs) allows an attacker to inject records from unauthorized DNS zones, effectively bypassing the integrity checks that DNSSEC is designed to enforce. This flaw not only compromises the authenticity of DNS responses but also opens the door to sophisticated attacks such as DNS cache poisoning and redirection to malicious servers.

Red Hat JBoss Enterprise Application Platform 7 & 8 was not affected by this CVE.

Red Hat's mitigation

Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.

ProductPackageStateAdvisory
Red Hat build of Apache Camel for Spring Boot 3dnsjavaNot affected
Red Hat build of Apache Camel for Spring Boot 4dnsjavaNot affected
Red Hat Fuse 7dnsjavaWill not fix
Red Hat Integration Camel K 1dnsjavaWill not fix
Red Hat JBoss Data Grid 7dnsjavaWill not fix
Red Hat JBoss Data Grid 7org.xbill/dnsjavaWill not fix
Red Hat JBoss Enterprise Application Platform 7dnsjavaNot affected
Red Hat JBoss Enterprise Application Platform 8dnsjavaNot affected
Red Hat JBoss Enterprise Application Platform Expansion PackdnsjavaNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-25638.

Attack patterns (CAPEC)

  • CAPEC-75 Manipulating Writeable Configuration Files Likelihood: High · Severity: Very High
  • CAPEC-141 Cache Poisoning Likelihood: High · Severity: High
  • CAPEC-142 DNS Cache Poisoning Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-345 (12).

References

Check your stackJSON