GHSA-jp3c-6v3g-mpxv
high
github.com/insomniacslk/dhcp permits denial of service through a malformed IPv4 payload length
- Severity
- high CVSS:4.0 by GitHub
- Published
- Last changed
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| github.com/insomniacslk/dhcp (Go) | from 0.0.0-20190522091526-5dce45b2b680 before 0.0.0-20260719225207-c76316d4aa82 | GitHub Advisory Database |
Classification
References
Sources
| Source | Record | Licence |
|---|---|---|
| GitHub Advisory Database | GHSA-jp3c-6v3g-mpxv changed 2026-11-24 | CC-BY-4.0 |