CVE-2022-2929DHCP memory leak
In ISC DHCP 1.0 -> 4.4.3, ISC DHCP 4.1-ESV-R1 -> 4.1-ESV-R16-P1 a system with access to a DHCP server, sending DHCP packets crafted to include fqdn labels longer than 63 bytes, could eventually cause the server to run out of memory.
What to do
Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 22.04 | isc-dhcp | Fixed | 4.4.1-2.3ubuntu2.3 | UBUNTU-CVE-2022-2929 |
| Ubuntu 20.04 | isc-dhcp | Fixed | 4.4.1-2.1ubuntu5.20.04.4 | UBUNTU-CVE-2022-2929 |
| Ubuntu 18.04 | isc-dhcp | Fixed | 4.3.5-3ubuntu7.4 | UBUNTU-CVE-2022-2929 |
| Ubuntu 16.04 | isc-dhcp | Fix pending | 4.3.3-5ubuntu12.10+esm2 (Ubuntu Pro) | UBUNTU-CVE-2022-2929 |
| Ubuntu 14.04 | isc-dhcp | Fix pending | 4.2.4-7ubuntu12.13+esm2 (Ubuntu Pro) | UBUNTU-CVE-2022-2929 |
| Debian 13 | isc-dhcp | Fixed | 4.4.3-2.1 | DEBIAN-CVE-2022-2929 |
| Debian 12 | isc-dhcp | Fixed | 4.4.3-2.1 | DEBIAN-CVE-2022-2929 |
| Red Hat Enterprise Linux 9 | dhcp | Fixed | 12:4.4.2-18.b1.el9 | RHSA-2023:2502 |
| Red Hat Enterprise Linux 9 | dhcp-client | Fixed | 12:4.4.2-18.b1.el9 | RHSA-2023:2502 |
| Red Hat Enterprise Linux 9 | dhcp-common | Fixed | 12:4.4.2-18.b1.el9 | RHSA-2023:2502 |
| Red Hat Enterprise Linux 9 | dhcp-relay | Fixed | 12:4.4.2-18.b1.el9 | RHSA-2023:2502 |
| Red Hat Enterprise Linux 9 | dhcp-server | Fixed | 12:4.4.2-18.b1.el9 | RHSA-2023:2502 |
| Red Hat Enterprise Linux 8 | dhcp | Fixed | 12:4.3.6-49.el8 | RHSA-2023:3000 |
| Red Hat Enterprise Linux 8 | dhcp-client | Fixed | 12:4.3.6-49.el8 | RHSA-2023:3000 |
| Red Hat Enterprise Linux 8 | dhcp-common | Fixed | 12:4.3.6-49.el8 | RHSA-2023:3000 |
| Red Hat Enterprise Linux 8 | dhcp-libs | Fixed | 12:4.3.6-49.el8 | RHSA-2023:3000 |
| Red Hat Enterprise Linux 8 | dhcp-relay | Fixed | 12:4.3.6-49.el8 | RHSA-2023:3000 |
| Red Hat Enterprise Linux 8 | dhcp-server | Fixed | 12:4.3.6-49.el8 | RHSA-2023:3000 |
| Red Hat Enterprise Linux 7 | dhclient | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | dhcp | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | dhcp-common | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | dhcp-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | dhcp-libs | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | dhclient | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | dhcp | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | dhcp-common | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | dhcp-devel | Will not fix Out of support scope | ||
| AlmaLinux 9 | dhcp-client | Fixed | 12:4.4.2-18.b1.el9 | ALSA-2023:2502 |
| AlmaLinux 9 | dhcp-common | Fixed | 12:4.4.2-18.b1.el9 | ALSA-2023:2502 |
| AlmaLinux 9 | dhcp-relay | Fixed | 12:4.4.2-18.b1.el9 | ALSA-2023:2502 |
| AlmaLinux 9 | dhcp-server | Fixed | 12:4.4.2-18.b1.el9 | ALSA-2023:2502 |
| AlmaLinux 8 | dhcp-client | Fixed | 12:4.3.6-49.el8 | ALSA-2023:3000 |
| AlmaLinux 8 | dhcp-common | Fixed | 12:4.3.6-49.el8 | ALSA-2023:3000 |
| AlmaLinux 8 | dhcp-libs | Fixed | 12:4.3.6-49.el8 | ALSA-2023:3000 |
| AlmaLinux 8 | dhcp-relay | Fixed | 12:4.3.6-49.el8 | ALSA-2023:3000 |
| AlmaLinux 8 | dhcp-server | Fixed | 12:4.3.6-49.el8 | ALSA-2023:3000 |
| Alpine Linux 3.20 | dhcp | Fixed | 4.4.3_p1-r0 | ALPINE-CVE-2022-2929 |
| Alpine Linux 3.19 | dhcp | Fixed | 4.4.3_p1-r0 | ALPINE-CVE-2022-2929 |
| Alpine Linux 3.18 | dhcp | Fixed | 4.4.3_p1-r0 | ALPINE-CVE-2022-2929 |
| Alpine Linux 3.17 | dhcp | Fixed | 4.4.3_p1-r0 | ALPINE-CVE-2022-2929 |
| Alpine Linux 3.16 | dhcp | Fixed | 4.4.3_p1-r0 | ALPINE-CVE-2022-2929 |
| Alpine Linux 3.15 | dhcp | Fixed | 4.4.3_p1-r0 | ALPINE-CVE-2022-2929 |
| Alpine Linux 3.14 | dhcp | Fixed | 4.4.3_p1-r0 | ALPINE-CVE-2022-2929 |
| Alpine Linux 3.13 | dhcp | Fixed | 4.4.3_p1-r0 | ALPINE-CVE-2022-2929 |
What the vendor says
As published in the CVE record by isc, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- ISC DHCP: affected: 1.0 through versions before 4.1-ESV-R16-P2, 4.2 through versions before 4.4.3.-P1
Solution: Upgrade to the patched release most closely related to your current version of ISC DHCP. These can all be downloaded from https://www.isc.org/downloads. 4.4.3-P1 4.1-ESV-R16-P2
Workaround: As exploiting this vulnerability requires an attacker to send packets for an extended period of time, restarting servers periodically could be a viable workaround.
Vendor advisories:
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://security.gentoo.org/glsa/202305-22 (vendor-advisory)
References
- https://kb.isc.org/docs/cve-2022-2929
- https://lists.debian.org/debian-lts-announce/2022/10/msg00015.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QQXYCIWUDILRCNBAIMVFCSGXBRKEPB4K/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/T6IBFH4MRRNJQVWEKILQ6I6CXWW766FX/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2SARIK7KZ7MGQIWDRWZFAOSQSPXY4GOU/
- https://security.gentoo.org/glsa/202305-22
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.