Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
GHSA-jp3c-6v3g-mpxv: high-severity vulnerability (CVSS 7.1) in github.com/insomniacslk/dhcp.
What happened
Original description from the source: 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.
Why it matters
High severity, CVSS 7.1.
Affected products and versions
github.com/insomniacslk/dhcp >= 0.0.0-20190522091526-5dce45b2b680, < 0.0.0-20260719225207-c76316d4aa82 (fixed in 0.0.0-20260719225207-c76316d4aa82)
| Product | Versions | Fixed in |
|---|---|---|
| github.com/insomniacslk/dhcp | >= 0.0.0-20190522091526-5dce45b2b680, < 0.0.0-20260719225207-c76316d4aa82 | 0.0.0-20260719225207-c76316d4aa82 |
Action recommended by the source
Upgrade to a fixed version: 0.0.0-20260719225207-c76316d4aa82.
Fixed in: 0.0.0-20260719225207-c76316d4aa82
Sources and references
- https://github.com/advisories/GHSA-jp3c-6v3g-mpxv — GHSA
- https://github.com/insomniacslk/dhcp/pull/583 — GHSA
- https://github.com/insomniacslk/dhcp/commit/c76316d4aa825673b208730779843d0711021e81 — GHSA
- https://pkg.go.dev/vuln/GO-2026-6237 — GHSA
- https://github.com/insomniacslk/dhcp — OSV
Weaknesses (CWE): CWE-1284
Relevant change history
Published
Preliminary advisory published.