cve.bz

CVE-2021-25217

7.4 highExploit referenceEPSS 6.1%Fix available

High (7.4). EPSS 6.1% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.4 high
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H
EPSS
6.1% (unchanged from 6.1% a week ago; 6.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 94th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-25217 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-25217?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-25217?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-25217 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
ISC DHCPfrom 4.1 ESV before 4.1-ESV-R16-P1
ISC DHCPfrom 4.4 before 4.4.2-P1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9isc-dhcp4.3.5-3+deb9u2DLA-2674-1
Debian12, 13isc-dhcp4.4.1-2.3DEBIAN-CVE-2021-25217
Ubuntu18.04:LTSisc-dhcp4.3.5-3ubuntu7.3UBUNTU-CVE-2021-25217 USN-4969-1
Ubuntu20.04:LTSisc-dhcp4.4.1-2.1ubuntu5.20.04.2UBUNTU-CVE-2021-25217 USN-4969-1
UbuntuPro:14.04:LTSisc-dhcp4.2.4-7ubuntu12.13+esm1UBUNTU-CVE-2021-25217 USN-4969-2
UbuntuPro:16.04:LTSisc-dhcp4.3.3-5ubuntu12.10+esm1UBUNTU-CVE-2021-25217 USN-4969-2
Red Hatenterprise_linux:7::client, enterprise_linux:7::server, enterprise_linux:7::workstationdhcp, dhclient, dhcp-libs and 3 more12:4.2.5-83.el7_9.1RHSA-2021:2357
Red Hatenterprise_linux:7::computenodedhcp, dhcp-devel, dhcp-debuginfo12:4.2.5-83.el7_9.1RHSA-2021:2357
Red Hatenterprise_linux:7::hypervisorredhat-virtualization-host, redhat-virtualization-host-image-update0:4.3.16-20210615.0.el7_9RHSA-2021:2519
Red Hatenterprise_linux:8::baseosdhcp, dhcp-libs, dhcp-relay and 9 more12:4.3.6-44.el8_4.1RHSA-2021:2359
Red Hatopenshift:4.7::el7cri-o, cri-o-debuginfo0:1.20.3-6.rhaos4.7.git0d0f863.el7RHSA-2021:2555
Red Hatopenshift:4.7::el7openshift-clients, openshift-clients-redistributable0:4.7.0-202106252127.p0.git.8b4b094.el7RHSA-2021:2555
Red Hatopenshift:4.7::el8cri-o, cri-o-debuginfo, cri-o-debugsource0:1.20.3-6.rhaos4.7.git0d0f863.el8RHSA-2021:2555
Red Hatopenshift:4.7::el8dhcp, dhcp-libs, dhcp-client and 7 more12:4.3.6-41.el8_3.1RHSA-2021:2555
Red Hatopenshift:4.7::el8openshift-clients, openshift-clients-redistributable0:4.7.0-202106252127.p0.git.8b4b094.el8RHSA-2021:2555
Red Hatopenshift:4.7::el8openshift-kuryr, openshift-kuryr-cni, openshift-kuryr-common and 2 more0:4.7.0-202106232224.p0.git.c7654fb.el8RHSA-2021:2555
Red Hatopenshift:4.7::el8polkit, polkit-libs, polkit-debuginfo and 2 more0:0.115-11.el8_3.2RHSA-2021:2555
Red Hatrhel_aus:7.2::serverdhcp, dhclient, dhcp-libs and 3 more12:4.2.5-42.el7_2.2RHSA-2021:2418
7 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 14 moredhcp4.3.6.P1-6.11.1SUSE-SU-2021:1841-1
SUSEHPE Helion OpenStack 8, Linux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP3-BCL and 11 moredhcp4.3.3-10.22.1SUSE-SU-2021:1822-1
SUSELinux Enterprise Point of Sale 11 SP3, Linux Enterprise Server 11 SP4-LTSSdhcp4.2.4.P2-0.28.12.1SUSE-SU-2021:14740-1
openSUSELeap 15.2dhcp4.3.6.P1-lp152.8.6.1openSUSE-SU-2021:0834-1
openSUSELeap 15.3dhcp4.3.6.P1-6.11.1openSUSE-SU-2021:1841-1
openSUSETumbleweeddhcp4.4.2.P1-2.4openSUSE-SU-2024:10715-1
Rocky Linux8dhcp2:4.3.6-44.el8_4.1RLSA-2021:2359
Alpinev3.12, v3.13, v3.14 and 6 moredhcp4.4.2_p1-r0ALPINE-CVE-2021-25217
Azure Linux2dhcp4.4.2-4AZL-6372

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Important.

Red Hat's statement

To abuse this flaw an attacker has to be on the same local sub-net of the victim machine. An attacker may send crafted DHCP messages with long lease statements that, when stored locally on file and then re-read by dhclient or dhcpd, might trigger the bug.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6 Extended Lifecycle Supportdhcp-12:4.1.1-64.P1.el6_10Fixed 2021-06-15RHSA-2021:2419
Red Hat Enterprise Linux 7dhcp-12:4.2.5-83.el7_9.1Fixed 2021-06-09RHSA-2021:2357
Red Hat Enterprise Linux 7.2 Advanced Update Supportdhcp-12:4.2.5-42.el7_2.2Fixed 2021-06-14RHSA-2021:2418
Red Hat Enterprise Linux 7.3 Advanced Update Supportdhcp-12:4.2.5-47.el7_3.2Fixed 2021-06-14RHSA-2021:2415
Red Hat Enterprise Linux 7.4 Advanced Update Supportdhcp-12:4.2.5-58.el7_4.5Fixed 2021-06-14RHSA-2021:2414
Red Hat Enterprise Linux 7.4 Telco Extended Update Supportdhcp-12:4.2.5-58.el7_4.5Fixed 2021-06-14RHSA-2021:2414
Red Hat Enterprise Linux 7.4 Update Services for SAP Solutionsdhcp-12:4.2.5-58.el7_4.5Fixed 2021-06-14RHSA-2021:2414
Red Hat Enterprise Linux 7.6 Advanced Update Supportdhcp-12:4.2.5-69.el7_6.1Fixed 2021-06-17RHSA-2021:2469
Red Hat Enterprise Linux 7.6 Telco Extended Update Supportdhcp-12:4.2.5-69.el7_6.1Fixed 2021-06-17RHSA-2021:2469
Red Hat Enterprise Linux 7.6 Update Services for SAP Solutionsdhcp-12:4.2.5-69.el7_6.1Fixed 2021-06-17RHSA-2021:2469
Red Hat Enterprise Linux 7.7 Extended Update Supportdhcp-12:4.2.5-77.el7_7.1Fixed 2021-06-14RHSA-2021:2405
Red Hat Enterprise Linux 8dhcp-12:4.3.6-44.el8_4.1Fixed 2021-06-09RHSA-2021:2359
Red Hat Enterprise Linux 8.1 Extended Update Supportdhcp-12:4.3.6-34.el8_1.2Fixed 2021-06-14RHSA-2021:2416
Red Hat Enterprise Linux 8.2 Extended Update Supportdhcp-12:4.3.6-40.el8_2.2Fixed 2021-06-14RHSA-2021:2420
Red Hat OpenShift Container Platform 4.7cri-o-0:1.20.3-6.rhaos4.7.git0d0f863.el7Fixed 2021-07-06RHSA-2021:2555
Red Hat OpenShift Container Platform 4.7dhcp-12:4.3.6-41.el8_3.1Fixed 2021-07-06RHSA-2021:2555
Red Hat OpenShift Container Platform 4.7openshift-clients-0:4.7.0-202106252127.p0.git.8b4b094.el7Fixed 2021-07-06RHSA-2021:2555
Red Hat OpenShift Container Platform 4.7openshift-kuryr-0:4.7.0-202106232224.p0.git.c7654fb.el8Fixed 2021-07-06RHSA-2021:2555
Red Hat OpenShift Container Platform 4.7polkit-0:0.115-11.el8_3.2Fixed 2021-07-06RHSA-2021:2555
Red Hat Enterprise Linux 9dhcpNot affected
1 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-25217.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-22-258-05Siemens SINEC INS2022-09-13MultipleSINEC INSnone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-119 (12).

References

Check your stackJSON