Vulnerabilities in pkg:golang/github.com/insomniacslk/dhcp

PACKAGE
Advisory Summary

GHSA-jp3c-6v3g-mpxv is a HIGH denial of service vulnerability (CWE-1284: Improper Validation of Specified Quantity in Input) affecting Github.com/insomniacslk/dhcp libraries in the Go ecosystem. The issue involves github.com/insomniacslk/dhcp permits denial of service through a malformed ipv4 payload length. Remediation is available by upgrading affected packages to version 0.0.0-20260719225207-c76316d4aa82.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:golang/github.com/insomniacslk/dhcp

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:golang/github.com/insomniacslk/dhcp. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-jp3c-6v3g-mpxv - HIGH github.com/insomniacslk/dhcp permits denial of service through a malformed IPv4 payload length

GHSA-jp3c-6v3g-mpxv at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-jp3c-6v3g-mpxv
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-1284: Improper Validation of Specified Quantity in Input
Affected Product Github.com/insomniacslk/dhcp
Package Ecosystem Go
Published Date
Last Updated

How to Fix GHSA-jp3c-6v3g-mpxv

To remediate this vulnerability, upgrade all affected Github.com/insomniacslk/dhcp dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/insomniacslk/dhcp fixed: 0.0.0-20260719225207-c76316d4aa82
Upgrade github.com/insomniacslk/dhcp to 0.0.0-20260719225207-c76316d4aa82
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/insomniacslk/dhcp

How to Check if You Are Affected

To determine whether your application is affected by GHSA-jp3c-6v3g-mpxv, inspect your project dependencies for Github.com/insomniacslk/dhcp:

inspect dependencies for github.com/insomniacslk/dhcp

Analyze the terminal output to locate any version of Github.com/insomniacslk/dhcp in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.0.0-20260719225207-c76316d4aa82), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-1284: Improper Validation of Specified Quantity in Input, where the product receives input that is expected to specify a quantity (such as size or length), but it does not validate or incorrectly validates that the quantity has the required properties. In Github.com/insomniacslk/dhcp, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

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.

GHSA-jp3c-6v3g-mpxv Affected Github.com/insomniacslk/dhcp Versions

1 component(s)
Fixed Versions:
0.0.0-20260719225207-c76316d4aa82
Product / Package Ecosystem Affected Versions Fixed Version
github.com/insomniacslk/dhcp
Go
≥ 0.0.0-20190522091526-5dce45b2b680
< 0.0.0-20260719225207-c76316d4aa82
0.0.0-20260719225207-c76316d4aa82

References

Frequently Asked Questions

What is GHSA-jp3c-6v3g-mpxv?
GHSA-jp3c-6v3g-mpxv is a security vulnerability in Github.com/insomniacslk/dhcp involving github.com/insomniacslk/dhcp permits denial of service through a malformed IPv4 payload length under CWE-1284: Improper Validation of Specified Quantity in Input.
Which Github.com/insomniacslk/dhcp versions are affected?
Affected versions include releases prior to 0.0.0-20260719225207-c76316d4aa82 across affected packages: github.com/insomniacslk/dhcp.
What version fixes GHSA-jp3c-6v3g-mpxv?
Upgrading to 0.0.0-20260719225207-c76316d4aa82 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/insomniacslk/dhcp affected?
Yes, github.com/insomniacslk/dhcp is affected in releases prior to 0.0.0-20260719225207-c76316d4aa82. Upgrade your dependency to 0.0.0-20260719225207-c76316d4aa82 or later.
What CWE is associated with GHSA-jp3c-6v3g-mpxv?
GHSA-jp3c-6v3g-mpxv is classified under CWE-1284: Improper Validation of Specified Quantity in Input (The product receives input that is expected to specify a quantity (such as size or length), but it does not validate or incorrectly validates that the quantity has the required properties.).
How can I check Go dependencies for GHSA-jp3c-6v3g-mpxv?
Run the dependency tree command: 'inspect dependencies for github.com/insomniacslk/dhcp'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-jp3c-6v3g-mpxv",
  "modified" : "2026-11-24T21:13:37Z",
  "published" : "2026-11-24T21:13:37Z",
  "aliases" : [ ],
  "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.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "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"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/insomniacslk/dhcp"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.0.0-20190522091526-5dce45b2b680"
      }, {
        "fixed" : "0.0.0-20260719225207-c76316d4aa82"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/insomniacslk/dhcp/pull/583"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/insomniacslk/dhcp/commit/c76316d4aa825673b208730779843d0711021e81"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/insomniacslk/dhcp"
  }, {
    "type" : "WEB",
    "url" : "https://pkg.go.dev/vuln/GO-2026-6237"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-1284" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-11-24T21:13:37Z",
    "nvd_published_at" : null
  }
}