A buffer overrun in lease file parsing code can be used to exploit a common vulnerability shared
CVE-2021-25217
Key Information:
- Vendor
Isc
- Status
- CVE ID
- CVE ID:
- CVE-2021-25217
- Vendor
- CVE Published:
- 26 May 2021
- Fixed in
- Fixed in:
- 4.1-ESV-R16-P1, 4.4.2-P1
Timeline
Exploit known 1165 days after it was published
- 👾
Exploit known to exist
Vulnerability published
Vulnerability Reserved
Badges
How risky is it?
- No: Needs adjacent network access
- Partly: Exploitation or a working exploit reported
- No: Not on CISA's exploited list
- No: No ransomware use seen
Our verdict
Patch this week
Exploitation is likely. Prioritise the fix.
What to do
1Update to a fixed version
Install the ISC DHCP release that fixes your version line, or later:
2Look for signs of compromise
Exploitation has been reported, so check logs on exposed ISC DHCP systems for unusual requests or new processes from before you patched.
3Why it's rated "Patch this week"
- Exploitation or a working exploit has been reported.
- Its CVSS severity is high (7.4).
What is CVE-2021-25217?
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.
References
More Isc Vulnerabilities
Denial of Service in BIND Resolver
Use-After-Return in BIND DNS Server
Denial of Service in BIND 9
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities · Report a correction
EPSS Score
6% chance of being exploited in the next 30 days.