Skip to content
FlawDB
Sign in

GHSA-jp3c-6v3g-mpxv

HIGH 7.1

github.com/insomniacslk/dhcp permits denial of service through a malformed IPv4 payload length

Mitigation

  • Upgrade github.com/insomniacslk/dhcp to 0.0.0-20260719225207-c76316d4aa82 or later.

Who should check

  • Projects that depend on Go package github.com/insomniacslk/dhcp (>= 0.0.0-20190522091526-5dce45b2b680, < 0.0.0-20260719225207-c76316d4aa82)

Vulnerability facts

Affected
github.com/insomniacslk/dhcp >= 0.0.0-20190522091526-5dce45b2b680, < 0.0.0-20260719225207-c76316d4aa82
Fixed in
0.0.0-20260719225207-c76316d4aa82
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
7.1 (v4.0, GitHub)CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
  • Attack vector: Adjacent network
  • Attack complexity: Low
  • Attack requirements: None
  • Privileges required: None
  • User interaction: None
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
  • Confidentiality impact on other systems: None
  • Integrity impact on other systems: None
  • Availability impact on other systems: None
CWE
CWE-1284
Published
Modified

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 and fixed versions

Package / productAffectedFixedSource
Go github.com/insomniacslk/dhcp>= 0.0.0-20190522091526-5dce45b2b680, < 0.0.0-20260719225207-c76316d4aa820.0.0-20260719225207-c76316d4aa82ghsa

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by GHSA-jp3c-6v3g-mpxv. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/GHSA-jp3c-6v3g-mpxv.md
Affected: github.com/insomniacslk/dhcp >= 0.0.0-20190522091526-5dce45b2b680, < 0.0.0-20260719225207-c76316d4aa82
Fixed in: 0.0.0-20260719225207-c76316d4aa82

Steps:
1. Search this machine and project for github.com/insomniacslk/dhcp (Go): dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

Technologies

References

FAQ

Is GHSA-jp3c-6v3g-mpxv being exploited?

There is no confirmed exploitation: GHSA-jp3c-6v3g-mpxv is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

How serious is GHSA-jp3c-6v3g-mpxv?

High: CVSS 7.1 (v4.0, scored by GitHub). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by GHSA-jp3c-6v3g-mpxv?

github.com/insomniacslk/dhcp >= 0.0.0-20190522091526-5dce45b2b680, < 0.0.0-20260719225207-c76316d4aa82.

Is there a fix for GHSA-jp3c-6v3g-mpxv?

Yes. Fixed in 0.0.0-20260719225207-c76316d4aa82. Upgrade github.com/insomniacslk/dhcp to 0.0.0-20260719225207-c76316d4aa82 or later.

How do I check if I'm affected by GHSA-jp3c-6v3g-mpxv?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors