Dnsmasq: dnsmasq: out-of-bailiwick cache injection through cname chase in split-dns configurations
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
Dnsmasq, a lightweight DNS forwarder and resolver widely used in home routers and Linux systems, is affected when configured for split-DNS with specific upstream servers. An attacker controlling such an upstream server could poison the cache with records for unrelated domains, causing later clients to receive attacker-chosen addresses.
Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.
Read the original description
A flaw was found in dnsmasq. When following a CNAME in a DNS response, the resolver can cache records for the CNAME target without checking that those records belong to the responding server's authorized zone. In split-DNS deployments that send some domains to a specific upstream, an attacker who controls that upstream can inject cache entries for unrelated names. Later clients may then receive attacker-chosen addresses for those names.
Timeline
- CVE published
- First seen by cve.now
- Record last updated
Affected versions
- rhceph/alloy-rhel10
Version range not reported
- dnsmasq
Version range not reported
- dnsmasq
Version range not reported
- dnsmasq
Version range not reported
- dnsmasq
Version range not reported
- dnsmasq
Version range not reported
- openshift4/ose-baremetal-runtimecfg-rhel8
Version range not reported
- openshift4/ose-baremetal-runtimecfg-rhel9
Version range not reported
- openshift/ose-rhel-coreos-8
Version range not reported
- openshift/ose-rhel-coreos-9
Version range not reported
- openshift5/ose-baremetal-runtimecfg-rhel9
Version range not reported
- openshift/ose-rhel-coreos-9
Version range not reported
- dnsmasq
Version range not reported
- rhoso-operators/infra-rhel9-operator
Version range not reported