← 漏洞与更新

高危漏洞公告GoGitHub

github.com/insomniacslk/dhcp permits denial of service through a malformed IPv4 payload length

受影响

软件包受影响版本修复版本
go:github.com/insomniacslk/dhcp>= 0.0.0-20190522091526-5dce45b2b680, < 0.0.0-20260719225207-c76316d4aa820.0.0-20260719225207-c76316d4aa82

In github.com/insomniacslk/dhcp/dhcpv4/nclient4, BroadcastRawUDPConn.ReadFrom does not validate that the IPv4 payload length is sufficient to hold a UDP header before calculating the DHCP payload length. A frame with an IPv4 total-length field specifying fewer than eight payload bytes results in a negative DHCP length, causing a panic in buf.Consume due to a negative slice bound.

在 GitHub Advisory Database 阅读

2026/11/25 06:13,GitHub Advisory Database 发布了“github.com/insomniacslk/dhcp permits denial of service through a malformed IPv4 payload length”(类型:漏洞公告)。严重程度为“高危”(high)。相关技术:Go、GitHub。