{"id":"UBUNTU-CVE-2024-25638","details":"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.","modified":"2026-05-20T16:16:37.952916455Z","published":"2024-07-22T14:15:00Z","upstream":["CVE-2024-25638"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-25638"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2024-25638"},{"type":"REPORT","url":"https://github.com/dnsjava/dnsjava/security/advisories/GHSA-cfxw-4h78-h7fw"},{"type":"REPORT","url":"https://github.com/dnsjava/dnsjava/commit/bc51df1c455e6c9fb7cbd42fcb6d62d16047818d"}],"affected":[{"package":{"name":"dnsjava","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/dnsjava?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.1.7-0.1","2.1.7+dfsg-1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.1.7+dfsg-1","binary_name":"libdnsjava-java"}],"priority_reason":"It requires privilege of the system."},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-25638.json"}},{"package":{"name":"dnsjava","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/dnsjava?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.1.8-1","2.1.8-2"],"ecosystem_specific":{"binaries":[{"binary_name":"libdnsjava-java","binary_version":"2.1.8-2"}],"priority_reason":"It requires privilege of the system."},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-25638.json"}},{"package":{"name":"dnsjava","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/dnsjava?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.1.8-2"],"ecosystem_specific":{"binaries":[{"binary_version":"2.1.8-2","binary_name":"libdnsjava-java"}],"priority_reason":"It requires privilege of the system."},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-25638.json"}},{"package":{"name":"dnsjava","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/dnsjava?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.1.8-2"],"ecosystem_specific":{"binaries":[{"binary_name":"libdnsjava-java","binary_version":"2.1.8-2"}],"priority_reason":"It requires privilege of the system."},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-25638.json"}},{"package":{"name":"dnsjava","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/dnsjava?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.1.8-2"],"ecosystem_specific":{"binaries":[{"binary_name":"libdnsjava-java","binary_version":"2.1.8-2"}],"priority_reason":"It requires privilege of the system."},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-25638.json"}},{"package":{"name":"dnsjava","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/dnsjava?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.6.2-2"],"ecosystem_specific":{"binaries":[{"binary_name":"libdnsjava-java","binary_version":"3.6.2-2"}],"priority_reason":"It requires privilege of the system."},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-25638.json"}},{"package":{"name":"dnsjava","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/dnsjava?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.6.2-2","3.6.3-1"],"ecosystem_specific":{"priority_reason":"It requires privilege of the system.","binaries":[{"binary_version":"3.6.3-1","binary_name":"libdnsjava-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-25638.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:L"},{"type":"Ubuntu","score":"low"}]}