Skip to content
Heist/ feed
Back to feed
High

dnsjava — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2024-25638

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.

Products
dnsjava
Affected versions
2.1.7+dfsg-1, 2.1.7-0.1, 2.1.8-1, 2.1.8-2, 3.6.2-2, 3.6.3-1
Fixed versions
Not specified
CVEs
CVE-2024-25638
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 01:07 UTC · Revision 1

Source evidence

UBUNTU-CVE-2024-25638

core-osv · Original source

Published 22 Jul 2024, 14:15 UTC

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.

osv:UBUNTU-CVE-2024-25638

dnsjava

Fixed versions: Not specified

dnsjava

Fixed versions: Not specified

dnsjava

Fixed versions: Not specified

dnsjava

Fixed versions: Not specified

dnsjava

Fixed versions: Not specified

dnsjava

Fixed versions: Not specified

dnsjava

Fixed versions: Not specified

dnsjava

Fixed versions: Not specified

Complete source record
{
  "id": "445414f62884ee105927870f04661c053375d1fb844ca54b1d7ad552fb913850",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2024-25638",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2024-25638",
    "summary": "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.",
    "evidence": "osv:UBUNTU-CVE-2024-25638",
    "products": [
      {
        "name": {
          "value": "dnsjava",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.1.7-0.1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.1.7+dfsg-1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "dnsjava",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.1.8-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "2.1.8-2",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "dnsjava",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.1.8-2",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "dnsjava",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.1.8-2",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "dnsjava",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.1.8-2",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "dnsjava",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.6.2-2",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "dnsjava",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.6.3-1",
            "evidence": "/affected/6/versions"
          }
        ]
      },
      {
        "name": {
          "value": "dnsjava",
          "evidence": "/affected/7/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.6.2-2",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "3.6.3-1",
            "evidence": "/affected/7/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "UBUNTU-CVE-2024-25638",
      "aliases": [
        "UBUNTU-CVE-2024-25638"
      ],
      "metrics": [
        {
          "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "dnsjava",
            "purl": "pkg:deb/ubuntu/dnsjava?arch=source&distro=xenial",
            "ecosystem": "Ubuntu:16.04:LTS"
          },
          "versions": [
            "2.1.7-0.1",
            "2.1.7+dfsg-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-25638.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libdnsjava-java",
                "binary_version": "2.1.7+dfsg-1"
              }
            ],
            "priority_reason": "It requires privilege of the system."
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "dnsjava",
            "purl": "pkg:deb/ubuntu/dnsjava?arch=source&distro=bionic",
            "ecosystem": "Ubuntu:18.04:LTS"
          },
          "versions": [
            "2.1.8-1",
            "2.1.8-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-25638.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libdnsjava-java",
                "binary_version": "2.1.8-2"
              }
            ],
            "priority_reason": "It requires privilege of the system."
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "dnsjava",
            "purl": "pkg:deb/ubuntu/dnsjava?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "2.1.8-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-25638.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libdnsjava-java",
                "binary_version": "2.1.8-2"
              }
            ],
            "priority_reason": "It requires privilege of the system."
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "dnsjava",
            "purl": "pkg:deb/ubuntu/dnsjava?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "2.1.8-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-25638.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libdnsjava-java",
                "binary_version": "2.1.8-2"
              }
            ],
            "priority_reason": "It requires privilege of the system."
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "dnsjava",
            "purl": "pkg:deb/ubuntu/dnsjava?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "2.1.8-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-25638.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libdnsjava-java",
                "binary_version": "2.1.8-2"
              }
            ],
            "priority_reason": "It requires privilege of the system."
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "dnsjava",
            "purl": "pkg:deb/ubuntu/dnsjava?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "3.6.2-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-25638.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libdnsjava-java",
                "binary_version": "3.6.2-2"
              }
            ],
            "priority_reason": "It requires privilege of the system."
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "dnsjava",
            "purl": "pkg:deb/ubuntu/dnsjava?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "3.6.3-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-25638.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libdnsjava-java",
                "binary_version": "3.6.3-1"
              }
            ],
            "priority_reason": "It requires privilege of the system."
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "dnsjava",
            "purl": "pkg:deb/ubuntu/dnsjava?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "3.6.2-2",
            "3.6.3-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-25638.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libdnsjava-java",
                "binary_version": "3.6.3-1"
              }
            ],
            "priority_reason": "It requires privilege of the system."
          }
        }
      ],
      "modified": "2026-10-17T12:56:33.205249370Z",
      "provider": "osv",
      "upstream": [
        "CVE-2024-25638"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2024-25638",
        "https://www.cve.org/CVERecord?id=CVE-2024-25638",
        "https://github.com/dnsjava/dnsjava/security/advisories/GHSA-cfxw-4h78-h7fw",
        "https://github.com/dnsjava/dnsjava/commit/bc51df1c455e6c9fb7cbd42fcb6d62d16047818d"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2024-25638",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 355790,
  "published_at": "2024-07-22T14:15:00+00:00"
}