CVE-2021-25217

Name
CVE-2021-25217
Description
In ISC DHCP 4.1-ESV-R1 -> 4.1-ESV-R16, ISC DHCP 4.4.0 -> 4.4.2 (Other branches of ISC DHCP (i.e., releases in the 4.0.x series or lower and releases in the 4.3.x series) are beyond their End-of-Life (EOL) and no longer supported by ISC. From inspection it is clear that the defect is also present in releases from those series, but they have not been officially tested for the vulnerability), The outcome of encountering the defect while reading a lease that will trigger it varies, according to: the component being affected (i.e., dhclient or dhcpd) whether the package was built as a 32-bit or 64-bit binary whether the compiler flag -fstack-protection-strong was used when compiling In dhclient, ISC has not successfully reproduced the error on a 64-bit system. However, on a 32-bit system it is possible to cause dhclient to crash when reading an improper lease, which could cause network connectivity problems for an affected system due to the absence of a running DHCP client process. In dhcpd, when run in DHCPv4 or DHCPv6 mode: if the dhcpd server binary was built for a 32-bit architecture AND the -fstack-protection-strong flag was specified to the compiler, dhcpd may exit while parsing a lease file containing an objectionable lease, resulting in lack of service to clients. Additionally, the offending lease and the lease immediately following it in the lease database may be improperly deleted. if the dhcpd server binary was built for a 64-bit architecture OR if the -fstack-protection-strong compiler flag was NOT specified, the crash will not occur, but it is possible for the offending lease and the lease which immediately followed it to be improperly deleted.
NVD Severity
medium
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
CONFIRM https://kb.isc.org/docs/cve-2021-25217
MLIST http://www.openwall.com/lists/oss-security/2021/05/26/6
FEDORA https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/Z2LB42JWIV4M4WDNXX5VGIP26FEYWKIF/
MLIST https://lists.debian.org/debian-lts-announce/2021/06/msg00002.html
Mailing List https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5QI4DYC7J4BGHEW3NH4XHMWTHYC36UK4/

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:isc:dhcp:4.1-esv:r1:*:*:*:*:*:* dhcp == None == 4.1-esv
cpe:2.3:a:isc:dhcp:*:*:*:*:*:*:*:* dhcp >= 4.4.0 <= 4.4.2

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
dhcp edge-main 4.4.2_p1-r0 Jakub Jirutka <jakub@jirutka.cz> fixed
dhcp 3.13-main 4.4.2_p1-r0 Jakub Jirutka <jakub@jirutka.cz> fixed
dhcp 3.12-main 4.4.2_p1-r0 Jakub Jirutka <jakub@jirutka.cz> fixed
dhcp 3.14-main 4.4.2_p1-r0 Jakub Jirutka <jakub@jirutka.cz> fixed
dhcp 3.11-main 4.4.1-r8 Jakub Jirutka <jakub@jirutka.cz> possibly vulnerable