Dnsmasq: dnsmasq: heap out-of-bounds write in dnssec validator via to_wire/from_wire transforms
- 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
- Exploitation: none
- Automatable: yes
- Technical impact: partial
Summary
Dnsmasq, a lightweight DNS and DHCP server, is affected when its DNSSEC validation feature is enabled. A specially crafted DNSSEC response can cause a small heap memory overflow, which could corrupt adjacent memory and potentially lead to a crash or other unintended behavior.
Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.
Read the original description
A flaw was found in dnsmasq. After a reduction of internal domain-name buffer sizes, the DNSSEC validator can write a few bytes past a name buffer when converting names to and from DNS wire format. An attacker who can cause the server to validate a crafted DNSSEC response may overwrite a small amount of adjacent heap metadata. DNSSEC support is not compiled in by default and must also be enabled at runtime.
Timeline
- CVE published
- First seen by cve.now
- CISA SSVC assessment
Exploitation: none · Automatable: yes · Technical impact: partial
- 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