| 标题 | dnsmasq dnsmasq v2.73rc6 Heap-based Buffer Overflow |
|---|
| 描述 | A heap buffer overflow exists in dnsmasq v2.73rc6 when parsing DHCP option hexadecimal values. The vulnerability is in `parse_hex()` (src/util.c) which can write past the end of the allocated buffer (callers allocate based on a computed byte count). A crafted DHCP option in `dnsmasq.conf` causes `parse_hex()` to overflow the heap buffer during configuration parsing, resulting in a crash and potential memory corruption. Reproduce by replacing `dnsmasq.conf` with the supplied config and starting dnsmasq; an ASan build produces a reliable crash referencing `parse_hex`. |
|---|
| 来源 | ⚠️ https://shimo.im/docs/1d3aMVMmNmiLjg3g/ |
|---|
| 用户 | zh_vul (UID 91488) |
|---|
| 提交 | 2025-10-11 05時30分 (8 月前) |
|---|
| 管理 | 2025-10-25 08時22分 (14 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 329868 [dnsmasq 直到 2.73rc6 Config File src/util.c parse_hex i 内存损坏] |
|---|
| 积分 | 20 |
|---|