CVE-2022-2928

An option refcount overflow exists in dhcpd

Published Oct 7, 2022 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
Description
In ISC DHCP 4.4.0 -> 4.4.3, ISC DHCP 4.1-ESV-R1 -> 4.1-ESV-R16-P1, when the function option_code_hash_lookup() is called from add_option(), it increases the option's refcount field. However, there is not a corresponding call to option_dereference() to decrement the refcount field. The function add_option() is only used in server responses to lease query packets. Each lease query response calls this function for several options, so eventually, the reference counters could overflow and cause the server to abort.

Remediation

Vendor 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


Vendor Workaround

Disable lease query on the server for DHCPv4 or restart the server periodically.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3146-1 isc-dhcp security update
Debian DSA Debian DSA DSA-5251-1 isc-dhcp security update
EUVD EUVD EUVD-2022-35151 In ISC DHCP 4.4.0 -> 4.4.3, ISC DHCP 4.1-ESV-R1 -> 4.1-ESV-R16-P1, when the function option_code_hash_lookup() is called from add_option(), it increases the option's refcount field. However, there is not a corresponding call to option_dereference() to decrement the refcount field. The function add_option() is only used in server responses to lease query packets. Each lease query response calls this function for several options, so eventually, the reference counters could overflow and cause the server to abort.
Ubuntu USN Ubuntu USN USN-5658-1 DHCP vulnerabilities
Ubuntu USN Ubuntu USN USN-5658-2 DHCP vulnerabilities
Ubuntu USN Ubuntu USN USN-5658-3 DHCP vulnerabilities
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
isc
Published
Updated
Sep 17, 2024, 12:21 AM
Reserved
Aug 22, 2022, 12:00 AM
Status
Modified
Published
Oct 7, 2022, 5:15 AM
Modified
Jun 17, 2026, 4:42 AM
Severity
Moderate
Public date
Oct 5, 2022, 12:00 AM