Description
Off-by-one buffer overflow in Dnsmasq before 2.21 may allow attackers to execute arbitrary code via the DHCP lease file.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | dnsmasq | 2.21 | — |
| Debian 13 | dnsmasq | 2.21 | — |
| Debian 12 | dnsmasq | 2.21 | — |
References
- dnsmasq-dhcp-offbyone-bo(19825) vdb-entry
- 14691 third-party-advisory
- http://www.thekelleys.org.uk/dnsmasq/CHANGELOG
- 12897 vdb-entry