MGASA-2022-0374 - Updated dhcp packages fix security vulnerability

Publication date: 18 Oct 2022
URL: https://advisories.mageia.org/MGASA-2022-0374.html
Type: security
Affected Mageia releases: 8
CVE: CVE-2022-2928,
     CVE-2022-2929

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

SRPMS:
- 8/core/dhcp-4.4.2-10.2.mga8

Mageia 2022-0374: dhcp security update

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

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

Severity
Publication date: 18 Oct 2022
URL: https://advisories.mageia.org/MGASA-2022-0374.html
Type: security
CVE: CVE-2022-2928, CVE-2022-2929

Related News