Summary
This update for wicked fixes the following issues:
Changes in wicked:
- Fix two OOB reads in ni_capture_inspect_udp_header and improve:
- Reject packets with ip_len < ihl to avoid a size_t underflow of the
UDP length, which the checksum truncates to uint16_t (bsc#1274627,
CVE-2026-71401).
- Set payload_len to the remaining payload, not ip_len, which over-read
the DHCP option walker by ihl + 8 bytes past the buffer (bsc#1274627,
CVE-2026-71402).
- Avoid checksumming packets that fail the length/protocol checks and
tidy up the debug messages (bsc#1274627).
- Fix underflow check in ni_dhcp4_option_next to handle option code
and length separately as the END and PAD options don't have length
(bsc#1274627).
Thanks to Daniel Birtwhistle for discovering and reporting the issues.
Fixed packages 1
| Release | Package | Fixed in |
|---|---|---|
| openSUSE · Leap 16.0 | wicked | 0.6.80-bp160.2.1 |
Vulnerabilities 2
-
Medium 5.4
wicked: out-of-bounds read in the DHCPv4 option parser due to payload length taken from the IP total length
An out-of-bounds read was found in the DHCPv4 packet capture code of wicked. ni_capture_inspect_udp_header() in src/capture.c reports the IP total length as the payload length instead of the length of the remaining UDP payload. Consequently, the DHCP option w…
-
Medium 5.3
wicked: integer underflow of the UDP length in ni_capture_inspect_udp_header() leads to an out-of-bounds read
An integer underflow was found in the DHCPv4 packet capture code of wicked. ni_capture_inspect_udp_header() in src/capture.c does not verify that the IP total length field (ip_len) is at least as large as the IP header length (ihl) before subtracting the head…