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.
Metrics
Affected Vendors & Products
Advisories
| Source | ID | Title |
|---|---|---|
Debian DLA |
DLA-3146-1 | isc-dhcp security update |
Debian DSA |
DSA-5251-1 | isc-dhcp security update |
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 |
USN-5658-1 | DHCP vulnerabilities |
Ubuntu USN |
USN-5658-2 | DHCP vulnerabilities |
Ubuntu USN |
USN-5658-3 | DHCP vulnerabilities |
Fixes
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
Disable lease query on the server for DHCPv4 or restart the server periodically.
References
History
No history.
Status: PUBLISHED
Assigner: isc
Published:
Updated: 2024-09-17T00:21:40.167Z
Reserved: 2022-08-22T00:00:00
Link: CVE-2022-2928
No data.
Status : Modified
Published: 2022-10-07T05:15:08.677
Modified: 2024-11-21T07:01:56.183
Link: CVE-2022-2928
OpenCVE Enrichment
No data.
Debian DLA
Debian DSA
EUVD
Ubuntu USN