Dnsmasq: dnsmasq: tftp prefetch cache keyed on stale heap pointer serves wrong file content
- 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, DHCP, and TFTP server commonly used on home and enterprise networks, can serve incorrect file contents over TFTP due to stale cached data. In PXE network-boot setups, this could allow an attacker on the local network to replace a victim's boot files with attacker-chosen content.
Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.
Read the original description
A flaw was found in dnsmasq. The TFTP server can serve the wrong file contents because a recently used transfer cache is not invalidated when a transfer finishes. An attacker on the local network who can request a TFTP file may cause a later client to receive previously cached data instead of the requested file. In PXE network-boot environments this can substitute attacker-chosen boot content for a victim machine.
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