Mageia 2022-0374: dhcp security update
Summary
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. (CVE-2022-2928)
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. (CVE-2022-2929)
References
- https://bugs.mageia.org/show_bug.cgi?id=30942
- https://kb.isc.org/docs/cve-2022-2928
- https://kb.isc.org/docs/cve-2022-2929
- https://www.openwall.com/lists/oss-security/2022/10/05/1
- https://ubuntu.com/security/notices/USN-5658-1
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2928
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2929
Resolution
MGASA-2022-0374 - Updated dhcp packages fix security vulnerability
SRPMS
- 8/core/dhcp-4.4.2-10.2.mga8