GHSA-jp3c-6v3g-mpxv

Suggest an improvement
Source
https://github.com/advisories/GHSA-jp3c-6v3g-mpxv
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/11/GHSA-jp3c-6v3g-mpxv/GHSA-jp3c-6v3g-mpxv.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-jp3c-6v3g-mpxv
Downstream
CGA (8)
DHI (1)
Published
2026-11-24T21:13:37Z
Modified
2026-11-24T21:45:04Z
Severity
  • 7.1 (High) CVSS_V4 - CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
github.com/insomniacslk/dhcp permits denial of service through a malformed IPv4 payload length
Details

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.

Database specific
{
    "cwe_ids":  [
        "CWE-1284"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-11-24T21:13:37Z",
    "nvd_published_at":  null,
    "severity":  "HIGH"
}
References

Affected packages

Go / github.com/insomniacslk/dhcp

Package

Name
github.com/insomniacslk/dhcp
View open source insights on deps.dev
Purl
pkg:golang/github.com/insomniacslk/dhcp

Affected ranges

Type
SEMVER
Events
Introduced
0.0.0-20190522091526-5dce45b2b680
Fixed
0.0.0-20260719225207-c76316d4aa82

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/11/GHSA-jp3c-6v3g-mpxv/GHSA-jp3c-6v3g-mpxv.json"