CVE-2023-28488
NixOS vulnerability analysis and mitigation

Overview

CVE-2023-28488 affects the gdhcp component in ConnMan through version 1.41. The vulnerability was discovered in the client.c file, where network-adjacent attackers operating a crafted DHCP server could cause a stack-based buffer overflow. The issue affects ConnMan versions from 0.55 to 1.41 (GitHub POC).

Technical details

The vulnerability exists in the listener_event function in the ./gdhcp/client.c file, which handles DHCP packets from the DHCP server. When dhcp_client->listen_mode == L2, the dhcp_recv_l2_packet function reads IP, UDP, and DHCP headers into a packet buffer. The vulnerability occurs when the bytes variable is overwritten with the controlled value ntohs(packet.ip.tot_len) from the packet, leading to a stack buffer overflow in the subsequent memcpy operation (GitHub POC). The CVSS v3.1 base score is 6.5 (MEDIUM) with vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

The exploitation of this vulnerability results in a denial of service condition by terminating the connman process. The stack corruption can lead to access to an invalid address, overwriting of the stack canary, or returning to an incorrect address when exiting the function, depending on the compilation settings (GitHub POC).

Mitigation and workarounds

A patch has been released to address this vulnerability. The fix involves verifying and sanitizing packet length first, avoiding overwriting the read packet length after the initial test (Kernel Patch). Various distributions have released security updates, including Debian with version 1.36-2.2+deb11u2 for the stable distribution (Debian Security).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-22783HIGH8.1
  • NixOSNixOS
  • iris
NoYesJan 12, 2026
CVE-2026-0821MEDIUM6.9
  • NixOSNixOS
  • quickjs
NoNoJan 10, 2026
CVE-2025-68949MEDIUM5.3
  • NixOSNixOS
  • n8n
NoYesJan 13, 2026
CVE-2026-22784LOW2.3
  • NixOSNixOS
  • lychee
NoYesJan 12, 2026
CVE-2026-23497LOW1.3
  • NixOSNixOS
  • learning
NoYesJan 14, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management