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