CVE-2021-25217 A buffer overrun in lease file parsing code can be used to exploit a common vulnerability shared by dhcpd and dhclient
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/isc-dhcp(Debian:12) | < 4.4.1-2.3 | 4.4.1-2.3 |
| debian/isc-dhcp(Debian:13) | < 4.4.1-2.3 | 4.4.1-2.3 |
| isc dhcp | >= 4.4.0, <= 4.4.2 | No fix listed |
| isc dhcp | = 4.1-esv-r1 | No fix listed |
| isc dhcp | = 4.1-esv-r10 | No fix listed |
| isc dhcp | = 4.1-esv-r10_b1 | No fix listed |
| isc dhcp | = 4.1-esv-r10_rc1 | No fix listed |
| isc dhcp | = 4.1-esv-r10b1 | No fix listed |
| isc dhcp | = 4.1-esv-r10rc1 | No fix listed |
| isc dhcp | = 4.1-esv-r11 | No fix listed |
| isc dhcp | = 4.1-esv-r11_b1 | No fix listed |
| isc dhcp | = 4.1-esv-r11_rc1 | No fix listed |
| isc dhcp | = 4.1-esv-r11_rc2 | No fix listed |
| isc dhcp | = 4.1-esv-r11b1 | No fix listed |
| isc dhcp | = 4.1-esv-r11rc1 | No fix listed |
| isc dhcp | = 4.1-esv-r11rc2 | No fix listed |
| isc dhcp | = 4.1-esv-r12 | No fix listed |
| isc dhcp | = 4.1-esv-r12-p1 | No fix listed |
| isc dhcp | = 4.1-esv-r12_b1 | No fix listed |
| isc dhcp | = 4.1-esv-r12_p1 | No fix listed |
| isc dhcp | = 4.1-esv-r12b1 | No fix listed |
| isc dhcp | = 4.1-esv-r13 | No fix listed |
| isc dhcp | = 4.1-esv-r13_b1 | No fix listed |
| isc dhcp | = 4.1-esv-r13b1 | No fix listed |
| isc dhcp | = 4.1-esv-r14 | No fix listed |
Show 35 more
| Product | Affected versions | Fixed in |
|---|---|---|
| isc dhcp | = 4.1-esv-r14_b1 | No fix listed |
| isc dhcp | = 4.1-esv-r14b1 | No fix listed |
| isc dhcp | = 4.1-esv-r15 | No fix listed |
| isc dhcp | = 4.1-esv-r15-p1 | No fix listed |
| isc dhcp | = 4.1-esv-r15_b1 | No fix listed |
| isc dhcp | = 4.1-esv-r16 | No fix listed |
| fedoraproject fedora | = 33 | No fix listed |
| fedoraproject fedora | = 34 | No fix listed |
| debian linux | = 9.0 | No fix listed |
| Siemens ruggedcom rox rx1400 firmware | < 2.15.0 | 2.15.0 |
| Siemens ruggedcom rox rx1500 firmware | >= 2.3.0, < 2.15.0 | 2.15.0 |
| Siemens ruggedcom rox rx1501 firmware | >= 2.3.0, < 2.15.0 | 2.15.0 |
| Siemens ruggedcom rox rx1510 firmware | >= 2.3.0, < 2.15.0 | 2.15.0 |
| Siemens ruggedcom rox rx1511 firmware | >= 2.3.0, < 2.15.0 | 2.15.0 |
| Siemens ruggedcom rox rx1512 firmware | >= 2.3.0, < 2.15.0 | 2.15.0 |
| Siemens ruggedcom rox rx1524 firmware | < 2.15.0 | 2.15.0 |
| Siemens ruggedcom rox rx1536 firmware | < 2.15.0 | 2.15.0 |
| Siemens ruggedcom rox rx5000 firmware | >= 2.3.0, < 2.15.0 | 2.15.0 |
| Siemens ruggedcom rox mx5000 firmware | >= 2.3.0, < 2.15.0 | 2.15.0 |
| netapp ontap select deploy administration utility | All versions | No fix listed |
| netapp solidfire hci management node | All versions | No fix listed |
| Siemens SINEC INS | < 1.0 | 1.0 |
| Siemens SINEC INS | = 1.0 | No fix listed |
| Siemens SINEC INS | = 1.0-sp1 | No fix listed |
| alpine/dhcp(Alpine:v3.12) | >= 4.4.0, < 4.4.2_p1-r0 | 4.4.2_p1-r0 |
| alpine/dhcp(Alpine:v3.13) | >= 4.4.0, < 4.4.2_p1-r0 | 4.4.2_p1-r0 |
| alpine/dhcp(Alpine:v3.14) | >= 4.4.0, < 4.4.2_p1-r0 | 4.4.2_p1-r0 |
| alpine/dhcp(Alpine:v3.15) | >= 4.4.0, < 4.4.2_p1-r0 | 4.4.2_p1-r0 |
| alpine/dhcp(Alpine:v3.16) | >= 4.4.0, < 4.4.2_p1-r0 | 4.4.2_p1-r0 |
| alpine/dhcp(Alpine:v3.17) | >= 4.4.0, < 4.4.2_p1-r0 | 4.4.2_p1-r0 |
| alpine/dhcp(Alpine:v3.18) | >= 4.4.0, < 4.4.2_p1-r0 | 4.4.2_p1-r0 |
| alpine/dhcp(Alpine:v3.19) | >= 4.4.0, < 4.4.2_p1-r0 | 4.4.2_p1-r0 |
| alpine/dhcp(Alpine:v3.20) | >= 4.4.0, < 4.4.2_p1-r0 | 4.4.2_p1-r0 |
| ISC DHCP | >= 4.1 ESV, < 4.1-ESV-R16-P1 | 4.1-ESV-R16-P1 |
| ISC DHCP | >= 4.4, < 4.4.2-P1 | 4.4.2-P1 |
References
- Debian Security Tracker CVE-2021-25217 vendor-advisory
- [oss-security] 20210526 ISC has disclosed a vulnerability in ISC DHCP (CVE-2021-25217) mailing-list patch third-party-advisory
- cert-portal.siemens.com patch third-party-advisory
- cert-portal.siemens.com patch third-party-advisory
- kb.isc.org exploit vendor-advisory
- [debian-lts-announce] 20210603 [SECURITY] [DLA 2674-1] isc-dhcp security update mailing-list third-party-advisory
- FEDORA-2021-8ca8263bde vendor-advisory
- FEDORA-2021-08cdb4dc34 vendor-advisory
- GLSA-202305-22 vendor-advisory
- security.netapp.com third-party-advisory
- security.alpinelinux.org vendor-advisory
- bugs.debian.org issue-tracking