NULL pointer dereference in Isc Dhcp
CVE-2022-2928
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.007, 54.1th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Isc Dhcp — versions 4.1-esv
- Isc Dhcp — versions 4.4.0 through versions before 4.4.3-P1, 4.1 ESV 4.1-ESV-R1 through versions before 4.1-ESV-R16-P1
- Debian Linux — versions 10.0
- Fedoraproject Fedora — versions 35, 36, 37
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (ARPSyndicate/cvemon, karimhabush/cyberowl). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- kb.isc.org/docs/cve-2022-2928 (Vendor Advisory)
- [debian-lts-announce] 20221010 [SECURITY] [DLA 3146-1] isc-dhcp security update (mailing-list, Mailing List, Third Party Advisory)
- FEDORA-2022-f5a45757df (vendor-advisory)
- FEDORA-2022-9ca9a94e28 (vendor-advisory)
- FEDORA-2022-c4f274a54f (vendor-advisory)
- GLSA-202305-22 (vendor-advisory)