Report information
The Basics
Id:
43592
Status:
resolved
Estimated:
4 hours (240 minutes)
Worked:
3 hours (180 minutes)
Users:
tmark: 3 hours (180 minutes)
Priority:
Low/Low
Queue:

BugTracker
Version Fixed:
4.4.0 4.3.6 4.1-ESV-R15
Version Found:
4.3.5
Versions Affected:
(no value)
Versions Planned:
4.4.0 4.3.6 4.1-ESV-R15
Priority:
P2 Normal
Severity:
S2 Normal
CVSS Score:
(no value)
CVE ID:
(no value)
Component:
(no value)
Area:
bug

Dates
Created:Wed, 09 Nov 2016 05:46:00 -0500
Updated:Tue, 12 Dec 2017 07:38:34 -0500
Closed:Wed, 03 May 2017 09:08:48 -0400



This bug tracker is no longer active.

Please go to our Gitlab to submit issues (both feature requests and bug reports) for active projects maintained by Internet Systems Consortium (ISC).

Due to security and confidentiality requirements, full access is limited to the primary maintainers.

Subject: DHCPV6 option 39 containing spaces is not correctly handled by server
The inability to correctly handle DHCPv6 packets containing FQDN options whose domain name contains spaces is a bug, not something done intentionally. Reported by Bluecat 10738: When the server unpacks the FQDN option from a DHCPv6 client packet, it attempts to convert the name portion to its printable form. Spaces are converted from 1 byte (0x20) to four characters, "\\032". The calculation used to allocate a buffer large enough to store the printable form does not take this expansion into account and thus allocates too small a buffer, causing the subsequent conversion to fail. The server handles FQDN options under DHCPv4 differently. Rather than convert them to printable form when unpacking them, it stores them in DNS encoded form. If the received option is not already encoded, the server encodes it first. The v6 code needs to be corrected to properly handle the conversion. The function, common/options.c:fqdn6_universe_decode does the buffer sizing and allocation and then calls MRns_name_ntop() to do the conversion.