Go DHCP Library Flaw Lets Adjacent Attacker Crash Apps via Malformed Packet
A denial-of-service vulnerability was disclosed in the insomniacslk/dhcp Go library's nclient4 subpackage. The BroadcastRawUDPConn.ReadFrom function subtracted the 8-byte UDP header length from the declared IPv4 payload length without first confirming the payload was large enough. An unauthenticated attacker on an adjacent network segment can send one malformed IPv4 packet declaring under 8 bytes of payload, causing an integer underflow and an unhandled Go runtime panic. The flaw is tracked as GHSA-jp3c-6v3g-mpxv and GO-2026-6237, with a CVSS v3.1 score of 6.5. It was fixed in a commit that validates payload length and buffer bounds before parsing.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in