CVE-2022-2928: medium-severity vulnerability in ISC DHCP
An option refcount overflow exists in dhcpd
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
13Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 6.5epss 0.7%
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.
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected products
ISC · ISC DHCPRelated CVEs — ISC DHCP
In the same product, most dangerous first.
CVE-2017-3144MEDIUMFailure to properly clean up closed OMAPI connections can exhaust available socketsEPSS 72.7%CVE-2018-5733MEDIUMA malicious client can overflow a reference counter in ISC dhcpdEPSS 20.2%CVE-2021-25217HIGHA buffer overrun in lease file parsing code can be used to exploit a common vulnerability shared by dhcpd and dhclientEPSS 6.1%CVE-2018-5732HIGHA specially constructed response from a malicious server can cause a buffer overflow in dhclientEPSS 5.2%CVE-2022-2929MEDIUMDHCP memory leakEPSS 0.7%
References
https://kb.isc.org/docs/cve-2022-2928https://lists.debian.org/debian-lts-announce/2022/10/msg00015.htmlhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2SARIK7KZ7MGQIWDRWZFAOSQSPXY4GOU/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://security.gentoo.org/glsa/202305-22