CVE-2012-5689
NoneCVSS
—
EPSS
12.1%
Published
Jan 25, 2013
CISA due date
—
Cloudanix analysis
A misconfiguration in certain old DNS software versions lets an attacker send a special request that crashes the service and stops name lookups until it is restarted.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Moderate
- Impact
- Denial Of Service
- Component
- Network Service
- Class
- Improper Input Validation
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Remote unauthenticated attacker can trigger an assertion failure in the named daemon via a crafted AAAA DNS query when DNS64 and a Response Policy Zone without an AAAA rewrite rule are configured, causing the process to exit.
Why it matters to the business
DNS resolution service becomes unavailable until the daemon is restarted, leading to outages for dependent applications and users; the vulnerability is over a decade old with stable low exploit probability and no known ransomware usage.
How an attack unfolds
An attacker sends a specially crafted DNS query requesting an AAAA record to a BIND server running a vulnerable 9.8 or 9.9 version with the specific DNS64 plus RPZ configuration; the server hits an assertion and terminates, resulting in denial of service. No named threat actors or campaigns are associated.
How to fix it
Upgrade rxvt-unicode on Debian 11/12/13 to version 9.20-1 or later; for actual ISC BIND deployments apply the vendor-supplied patches that address the assertion in the affected 9.8.4-P1 / 9.9.2-P1 releases.
How to confirm the fix worked
Confirm the installed package version meets or exceeds the stated fixed release; test that DNS64 + RPZ queries for AAAA records no longer cause named to exit.
Typical attack path
- Identify publicly reachable BIND 9.8.x/9.9.x servers
- Confirm presence of DNS64 and RPZ configuration lacking AAAA rewrite
- Send crafted AAAA query that triggers the assertion
- Observe daemon crash and loss of DNS service
How to detect it
Inspect DNS server logs for repeated AAAA queries immediately preceding named daemon crashes or restarts; correlate process termination events with inbound DNS traffic on port 53.
What your security team should do
- Apply the listed package upgrades immediately on all Debian 11/12/13 systems running the affected software
- Review DNS server configurations for DNS64 and RPZ usage and disable unnecessary features
- Monitor EPSS and KEV status for any future changes despite the age of the issue
The record
ISC BIND 9.8.x through 9.8.4-P1 and 9.9.x through 9.9.2-P1, in certain configurations involving DNS64 with a Response Policy Zone that lacks an AAAA rewrite rule, allows remote attackers to cause a denial of service (assertion failure and named daemon exit) via a query for an AAAA record.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | bind9 | 0 | 1:9.8.4.dfsg.P1-6+nmu1 |
| Debian:12 | bind9 | 0 | 1:9.8.4.dfsg.P1-6+nmu1 |
| Debian:13 | bind9 | 0 | 1:9.8.4.dfsg.P1-6+nmu1 |
| Red Hat:enterprise_linux:6::client | bind | 0 | 32:9.8.2-0.17.rc1.el6.3 |
| Red Hat:enterprise_linux:6::client | bind-chroot | 0 | 32:9.8.2-0.17.rc1.el6.3 |
| Red Hat:enterprise_linux:6::client | bind-debuginfo | 0 | 32:9.8.2-0.17.rc1.el6.3 |
| Red Hat:enterprise_linux:6::client | bind-devel | 0 | 32:9.8.2-0.17.rc1.el6.3 |
| Red Hat:enterprise_linux:6::client | bind-libs | 0 | 32:9.8.2-0.17.rc1.el6.3 |
| Red Hat:enterprise_linux:6::client | bind-sdb | 0 | 32:9.8.2-0.17.rc1.el6.3 |
| Red Hat:enterprise_linux:6::client | bind-utils | 0 | 32:9.8.2-0.17.rc1.el6.3 |
| Red Hat:enterprise_linux:6::computenode | bind | 0 | 32:9.8.2-0.17.rc1.el6.3 |
| Red Hat:enterprise_linux:6::computenode | bind-chroot | 0 | 32:9.8.2-0.17.rc1.el6.3 |
| Red Hat:enterprise_linux:6::computenode | bind-debuginfo | 0 | 32:9.8.2-0.17.rc1.el6.3 |
| Red Hat:enterprise_linux:6::computenode | bind-devel | 0 | 32:9.8.2-0.17.rc1.el6.3 |
| Red Hat:enterprise_linux:6::computenode | bind-libs | 0 | 32:9.8.2-0.17.rc1.el6.3 |
| Red Hat:enterprise_linux:6::computenode | bind-sdb | 0 | 32:9.8.2-0.17.rc1.el6.3 |
| Red Hat:enterprise_linux:6::computenode | bind-utils | 0 | 32:9.8.2-0.17.rc1.el6.3 |
| Red Hat:enterprise_linux:6::server | bind | 0 | 32:9.8.2-0.17.rc1.el6.3 |
| Red Hat:enterprise_linux:6::server | bind-chroot | 0 | 32:9.8.2-0.17.rc1.el6.3 |
| Red Hat:enterprise_linux:6::server | bind-debuginfo | 0 | 32:9.8.2-0.17.rc1.el6.3 |
| Red Hat:enterprise_linux:6::server | bind-devel | 0 | 32:9.8.2-0.17.rc1.el6.3 |
| Red Hat:enterprise_linux:6::server | bind-libs | 0 | 32:9.8.2-0.17.rc1.el6.3 |
| Red Hat:enterprise_linux:6::server | bind-sdb | 0 | 32:9.8.2-0.17.rc1.el6.3 |
| Red Hat:enterprise_linux:6::server | bind-utils | 0 | 32:9.8.2-0.17.rc1.el6.3 |
| Red Hat:enterprise_linux:6::workstation | bind | 0 | 32:9.8.2-0.17.rc1.el6.3 |
| Red Hat:enterprise_linux:6::workstation | bind-chroot | 0 | 32:9.8.2-0.17.rc1.el6.3 |
| Red Hat:enterprise_linux:6::workstation | bind-debuginfo | 0 | 32:9.8.2-0.17.rc1.el6.3 |
| Red Hat:enterprise_linux:6::workstation | bind-devel | 0 | 32:9.8.2-0.17.rc1.el6.3 |
| Red Hat:enterprise_linux:6::workstation | bind-libs | 0 | 32:9.8.2-0.17.rc1.el6.3 |
| Red Hat:enterprise_linux:6::workstation | bind-sdb | 0 | 32:9.8.2-0.17.rc1.el6.3 |
| Red Hat:enterprise_linux:6::workstation | bind-utils | 0 | 32:9.8.2-0.17.rc1.el6.3 |
| Ubuntu:14.04:LTS | bind9 | 0 | 1:9.9.5.dfsg-3ubuntu0.1 |
| Ubuntu:14.04:LTS | bind9 | 0 | 1:9.9.5.dfsg-3ubuntu0.4 |
| openSUSE:Tumbleweed | bind | 0 | 9.10.3P4-21.1 |
Related vulnerabilities
- CVE-2025-40775 When an incoming DNS protocol message includes a Transaction Signature (TSIG), BIND… Also affects bind9
- CVE-2024-11187 It is possible to construct a zone such that some queries to it will generate responses… Also affects bind9
- CVE-2024-12705 Clients using DNS-over-HTTPS (DoH) can exhaust a DNS resolver's CPU and/or memory by… Also affects bind9
- CVE-2024-4076 Client queries that trigger serving stale data and that also require lookups in local… Also affects bind9
- CVE-2024-1737 Resolver caches and authoritative zone databases that hold significant numbers of RRs for… Also affects bind9
- CVE-2024-1975 If a server hosts a zone containing a "KEY" Resource Record, or a resolver… Also affects bind9
- CVE-2023-50868 The Closest Encloser Proof aspect of the DNS protocol (in RFC 5155 when RFC 9276 guidance… Also affects bind9
- CVE-2022-2795 By flooding the target resolver with queries exploiting this flaw an attacker can… Also affects bind9