ConnMan through 2.0 has a stack-based buffer overflow via a DHCPv6 Reply message. This occurs in get_domains in gdhcp/client.c. It copies a fixed NS_M...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:Pro:16.04:LTSconnman |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:18.04:LTSconnman |
All versions→ Not listed |
Not listed |
| Ubuntu:20.04:LTSconnman |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSconnman |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSconnman |
All versions→ Not listed |
Not listed |
| Ubuntu:26.10connman |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04:LTSconnman |
All versions→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
ConnMan through 2.0 has a stack-based buffer overflow via a DHCPv6 Reply message. This occurs in get_domains in gdhcp/client.c. It copies a fixed NS_MAXDNAME (1025) bytes from a DHCPv6 DOMAIN_LIST (option 24) value into a 1026-byte stack buffer dns_name regardless of the actual option length, then walks DNS labels with an unbounded "c += jump + 1" loop. A crafted DHCPv6 REPLY with a DOMAIN_LIST option of >= 1025 non-zero bytes makes the label walk leave the buffer and read/write '.' past its end in attacker-chosen strides. An on-link attacker can trigger this without authentication via a forged Router Advertisement (O=1) and a forged DHCPv6 REPLY matching xid/CLIENTID with a long DOMAIN_LIST. The impact is unauthenticated on-link crash of connmand (runs as root). This was introduced in bb06c47.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- report ubuntu.com
- report cve.org
- report git.kernel.org
- report git.kernel.org
- report lore.kernel.org