CVE-2021-25217 | A buffer overrun in lease file parsing code can be used to exploit a common vulnerability shared by dhcpd and dhclient

Exp

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.

公开: 2021-05-26 最后更新: 2026-06-16 分配方: [email protected] 来源: [email protected]

结论预警: CVE-2021-25217 综合评估为高可利用风险(82/100):CVSS 技术影响为高级,利用概率偏高(EPSS 6.12%,百分位 92%) 核心证据: 已收录 1 条公开利用参考(Exploit-DB)。 近一日 EPSS 上升 +5.67%,被利用关注度持续升高。 强制指令: 存在公开利用—请排查暴露面、落实缓解措施并优先修补。

风险随态势动态变化;本站持续评估并同步更新本页展示内容。

CVE-2021-25217 的公开 exploit 引用(Exploit-DB)

EDB-ID 来源 类型 公开时间 链接
nvd_ref exploit_tag Exploit-DB ↗

CVE-2021-25217 的 EPSS(利用预测评分)

EPSS 日更估计相对被利用可能性;百分位表示该 CVE 在已评分漏洞中的相对排名(越高表示相对更严重)。

# 日期 旧 EPSS 分数 新 EPSS 分数 变化(新 − 旧)
1 2026-06-15 0.45% 6.12% +5.67%
2 2026-05-09 0.30% 0.45% +0.15%
3 2026-04-08 0.30%

完整 EPSS 历史 (共 34 条)

CVE-2021-25217 的 CVSS 指标

该 CVE 的 CVSS 指标。

底座分 版本 严重度 向量 可利用性 影响 分数来源
7.4 3.1 HIGH
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H 点击展开
攻击向量 (AV:A)
通常指与目标处于同一邻接网段(如楼宇局域网),与“全网任意 IP 直连”不是一回事。
攻击复杂度 (AC:L)
前置条件清晰,成功路径稳定,不依赖罕见竞态或苛刻环境。
权限要求 (PR:N)
不必事先登录或提权,匿名会话也可能成为跳板。
用户交互 (UI:N)
无需受害者点击链接、放行宏或安装软件,攻击链可自动走完。
作用域 (S:C)
可从脆弱组件横向波及其他组件或更高权限域,爆炸半径更大。
机密性影响 (C:N)
几乎谈不上实质性的敏感数据外泄。
完整性影响 (I:N)
对记录真实性与不可否认性的破坏可忽略。
可用性影响 (A:H)
可造成长时间中断、关键事务无法完成,或伴随数据损毁导致难以自愈。
2.8 4.0 [email protected]
7.4 3.1 HIGH
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H 点击展开
攻击向量 (AV:A)
通常指与目标处于同一邻接网段(如楼宇局域网),与“全网任意 IP 直连”不是一回事。
攻击复杂度 (AC:L)
前置条件清晰,成功路径稳定,不依赖罕见竞态或苛刻环境。
权限要求 (PR:N)
不必事先登录或提权,匿名会话也可能成为跳板。
用户交互 (UI:N)
无需受害者点击链接、放行宏或安装软件,攻击链可自动走完。
作用域 (S:C)
可从脆弱组件横向波及其他组件或更高权限域,爆炸半径更大。
机密性影响 (C:N)
几乎谈不上实质性的敏感数据外泄。
完整性影响 (I:N)
对记录真实性与不可否认性的破坏可忽略。
可用性影响 (A:H)
可造成长时间中断、关键事务无法完成,或伴随数据损毁导致难以自愈。
2.8 4.0 [email protected]
3.3 2.0 LOW
AV:A/AC:L/Au:N/C:N/I:N/A:P 点击展开
访问路径 (AV:A)
需先处于与目标二层/三层相邻的网段,再横向推进。
访问复杂度 (AC:L)
步骤短、路径清晰,复现成本低。
认证 (AU:N)
全程无需有效身份。
机密性影响 (C:N)
对机密性无影响。
完整性影响 (I:N)
对完整性无影响。
可用性影响 (A:P)
可用性受到部分损害。
6.5 2.9 [email protected]

CVE-2021-25217 的弱点枚举

CVE-2021-25217 的 OS 跟踪

vendor priority summary link
alpine high CVE-2021-25217: 1 source package rows (dhcp); 10 state rows across 7 repos (3.11-main, 3.12-main, 3.17-main, 3.18-main, 3.19-main, 3.20-main, edge-main); fixed 6, open 4. https://security.alpinelinux.org/vuln/CVE-2021-25217
debian not yet assigned CVE-2021-25217 not yet assigned priority: Debian including 1 source packages (isc-dhcp), 4 status rows across 4 suites (bookworm, bullseye, sid, trixie): resolved 4. https://security-tracker.debian.org/tracker/CVE-2021-25217
gentoo normal CVE-2021-25217: 1 GLSA(s) (202305-22), 1 atom(s) (net-misc/dhcp); latest impact normal. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2021-25217
redhat high https://access.redhat.com/security/cve/CVE-2021-25217
suse high CVE-2021-25217 severity important: SUSE including 281 source package names (1.1.1.23.352:dhcp-4.3.6.P1-6.11.1, 1.1.1.23.352:dhcp-client-4.3.6.P1-6.11.1, …), 1004 product×package rows across 336 product lines (Container suse/sles/15.6/libguestfs-tools, Container suse/sles/15.7/libguestfs-tools, … (336 product lines)): Fixed 839, Known Affected 165. https://www.suse.com/security/cve/CVE-2021-25217/
ubuntu medium CVE-2021-25217 medium priority: Ubuntu including 1 source packages (isc-dhcp), 9 status rows across 9 suites (bionic, focal, groovy, hirsute, impish, jammy, trusty, upstream, xenial): released 8, needs-triage 1. https://ubuntu.com/security/CVE-2021-25217

CVE-2021-25217 的影响软件 / 配置

厂商 产品 版本 原始 CPE
isc dhcp >= 4.4.0, <= 4.4.2 cpe:2.3:a:isc:dhcp:*:*:*:*:*:*:*:*
isc dhcp 4.1-esv cpe:2.3:a:isc:dhcp:4.1-esv:r1:*:*:*:*:*:*
isc dhcp 4.1-esv cpe:2.3:a:isc:dhcp:4.1-esv:r10:*:*:*:*:*:*
isc dhcp 4.1-esv cpe:2.3:a:isc:dhcp:4.1-esv:r10_b1:*:*:*:*:*:*
isc dhcp 4.1-esv cpe:2.3:a:isc:dhcp:4.1-esv:r10_rc1:*:*:*:*:*:*
isc dhcp 4.1-esv cpe:2.3:a:isc:dhcp:4.1-esv:r10b1:*:*:*:*:*:*
isc dhcp 4.1-esv cpe:2.3:a:isc:dhcp:4.1-esv:r10rc1:*:*:*:*:*:*
isc dhcp 4.1-esv cpe:2.3:a:isc:dhcp:4.1-esv:r11:*:*:*:*:*:*
isc dhcp 4.1-esv cpe:2.3:a:isc:dhcp:4.1-esv:r11_b1:*:*:*:*:*:*
isc dhcp 4.1-esv cpe:2.3:a:isc:dhcp:4.1-esv:r11_rc1:*:*:*:*:*:*
isc dhcp 4.1-esv cpe:2.3:a:isc:dhcp:4.1-esv:r11_rc2:*:*:*:*:*:*
isc dhcp 4.1-esv cpe:2.3:a:isc:dhcp:4.1-esv:r11b1:*:*:*:*:*:*
isc dhcp 4.1-esv cpe:2.3:a:isc:dhcp:4.1-esv:r11rc1:*:*:*:*:*:*
isc dhcp 4.1-esv cpe:2.3:a:isc:dhcp:4.1-esv:r11rc2:*:*:*:*:*:*
isc dhcp 4.1-esv cpe:2.3:a:isc:dhcp:4.1-esv:r12:*:*:*:*:*:*
isc dhcp 4.1-esv cpe:2.3:a:isc:dhcp:4.1-esv:r12-p1:*:*:*:*:*:*
isc dhcp 4.1-esv cpe:2.3:a:isc:dhcp:4.1-esv:r12_b1:*:*:*:*:*:*
isc dhcp 4.1-esv cpe:2.3:a:isc:dhcp:4.1-esv:r12_p1:*:*:*:*:*:*
isc dhcp 4.1-esv cpe:2.3:a:isc:dhcp:4.1-esv:r12b1:*:*:*:*:*:*
isc dhcp 4.1-esv cpe:2.3:a:isc:dhcp:4.1-esv:r13:*:*:*:*:*:*
isc dhcp 4.1-esv cpe:2.3:a:isc:dhcp:4.1-esv:r13_b1:*:*:*:*:*:*
isc dhcp 4.1-esv cpe:2.3:a:isc:dhcp:4.1-esv:r13b1:*:*:*:*:*:*
isc dhcp 4.1-esv cpe:2.3:a:isc:dhcp:4.1-esv:r14:*:*:*:*:*:*
isc dhcp 4.1-esv cpe:2.3:a:isc:dhcp:4.1-esv:r14_b1:*:*:*:*:*:*
isc dhcp 4.1-esv cpe:2.3:a:isc:dhcp:4.1-esv:r14b1:*:*:*:*:*:*
isc dhcp 4.1-esv cpe:2.3:a:isc:dhcp:4.1-esv:r15:*:*:*:*:*:*
isc dhcp 4.1-esv cpe:2.3:a:isc:dhcp:4.1-esv:r15-p1:*:*:*:*:*:*
isc dhcp 4.1-esv cpe:2.3:a:isc:dhcp:4.1-esv:r15_b1:*:*:*:*:*:*
isc dhcp 4.1-esv cpe:2.3:a:isc:dhcp:4.1-esv:r16:*:*:*:*:*:*
fedoraproject fedora 33 cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
fedoraproject fedora 34 cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
debian debian_linux 9.0 cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
siemens ruggedcom_rox_rx1400_firmware < 2.15.0 cpe:2.3:o:siemens:ruggedcom_rox_rx1400_firmware:*:*:*:*:*:*:*:*
siemens ruggedcom_rox_rx1500_firmware >= 2.3.0, < 2.15.0 cpe:2.3:o:siemens:ruggedcom_rox_rx1500_firmware:*:*:*:*:*:*:*:*
siemens ruggedcom_rox_rx1501_firmware >= 2.3.0, < 2.15.0 cpe:2.3:o:siemens:ruggedcom_rox_rx1501_firmware:*:*:*:*:*:*:*:*
siemens ruggedcom_rox_rx1510_firmware >= 2.3.0, < 2.15.0 cpe:2.3:o:siemens:ruggedcom_rox_rx1510_firmware:*:*:*:*:*:*:*:*
siemens ruggedcom_rox_rx1511_firmware >= 2.3.0, < 2.15.0 cpe:2.3:o:siemens:ruggedcom_rox_rx1511_firmware:*:*:*:*:*:*:*:*
siemens ruggedcom_rox_rx1512_firmware >= 2.3.0, < 2.15.0 cpe:2.3:o:siemens:ruggedcom_rox_rx1512_firmware:*:*:*:*:*:*:*:*
siemens ruggedcom_rox_rx1524_firmware < 2.15.0 cpe:2.3:o:siemens:ruggedcom_rox_rx1524_firmware:*:*:*:*:*:*:*:*
siemens ruggedcom_rox_rx1536_firmware < 2.15.0 cpe:2.3:o:siemens:ruggedcom_rox_rx1536_firmware:*:*:*:*:*:*:*:*
siemens ruggedcom_rox_rx5000_firmware >= 2.3.0, < 2.15.0 cpe:2.3:o:siemens:ruggedcom_rox_rx5000_firmware:*:*:*:*:*:*:*:*
siemens ruggedcom_rox_mx5000_firmware >= 2.3.0, < 2.15.0 cpe:2.3:o:siemens:ruggedcom_rox_mx5000_firmware:*:*:*:*:*:*:*:*
netapp ontap_select_deploy_administration_utility cpe:2.3:a:netapp:ontap_select_deploy_administration_utility:-:*:*:*:*:*:*:*
netapp solidfire_\&_hci_management_node cpe:2.3:a:netapp:solidfire_\&_hci_management_node:-:*:*:*:*:*:*:*
siemens sinec_ins < 1.0 cpe:2.3:a:siemens:sinec_ins:*:*:*:*:*:*:*:*
siemens sinec_ins 1.0 cpe:2.3:a:siemens:sinec_ins:1.0:-:*:*:*:*:*:*
siemens sinec_ins 1.0 cpe:2.3:a:siemens:sinec_ins:1.0:sp1:*:*:*:*:*:*

CVE-2021-25217 的参考链接

URL 标签
http://www.openwall.com/lists/oss-security/2021/05/26/6 Mailing List Patch Third Party Advisory
https://cert-portal.siemens.com/productcert/pdf/ssa-406691.pdf Patch Third Party Advisory
https://cert-portal.siemens.com/productcert/pdf/ssa-637483.pdf Patch Third Party Advisory
https://kb.isc.org/docs/cve-2021-25217 Exploit Vendor Advisory
https://lists.debian.org/debian-lts-announce/2021/06/msg00002.html Mailing List Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5QI4DYC7J4BGHEW3NH4XHMWTHYC36UK4/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Z2LB42JWIV4M4WDNXX5VGIP26FEYWKIF/
https://security.gentoo.org/glsa/202305-22
https://security.netapp.com/advisory/ntap-20220325-0011/ Third Party Advisory
cvelogic Threat Intelligence