MGASA-2021-0307 - Updated dhcp packages fix a security vulnerability

Publication date: 30 Jun 2021
URL: https://advisories.mageia.org/MGASA-2021-0307.html
Type: security
Affected Mageia releases: 7, 8
CVE: CVE-2021-25217

A flaw was found in the Dynamic Host Configuration Protocol (DHCP). There is a
discrepancy between the code that handles encapsulated option information 
inleases transmitted "on the wire" and the code which reads and parses lease
information after it has been written to disk storage. This flaw allows an
attacker to deliberately cause a situation where dhcpd while running in DHCPv4
or DHCPv6 mode, or the dhclient attempts to read a stored lease that contains
option information, to trigger a stack-based buffer overflow in the option
parsing code for colon-separated hex digits values. The highest threat from
this vulnerability is to data confidentiality and integrity as well as service
availability (CVE-2021-25217).

References:
- https://bugs.mageia.org/show_bug.cgi?id=28976
- https://kb.isc.org/docs/cve-2021-25217
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/Z2LB42JWIV4M4WDNXX5VGIP26FEYWKIF/
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-25217

SRPMS:
- 8/core/dhcp-4.4.2-10.1.mga8
- 7/core/dhcp-4.4.1-3.1.mga7

Mageia 2021-0307: dhcp security update

A flaw was found in the Dynamic Host Configuration Protocol (DHCP)

Summary

A flaw was found in the Dynamic Host Configuration Protocol (DHCP). There is a discrepancy between the code that handles encapsulated option information inleases transmitted "on the wire" and the code which reads and parses lease information after it has been written to disk storage. This flaw allows an attacker to deliberately cause a situation where dhcpd while running in DHCPv4 or DHCPv6 mode, or the dhclient attempts to read a stored lease that contains option information, to trigger a stack-based buffer overflow in the option parsing code for colon-separated hex digits values. The highest threat from this vulnerability is to data confidentiality and integrity as well as service availability (CVE-2021-25217).

References

- https://bugs.mageia.org/show_bug.cgi?id=28976

- https://kb.isc.org/docs/cve-2021-25217

- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/Z2LB42JWIV4M4WDNXX5VGIP26FEYWKIF/

- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-25217

Resolution

MGASA-2021-0307 - Updated dhcp packages fix a security vulnerability

SRPMS

- 8/core/dhcp-4.4.2-10.1.mga8

- 7/core/dhcp-4.4.1-3.1.mga7

Severity
Publication date: 30 Jun 2021
URL: https://advisories.mageia.org/MGASA-2021-0307.html
Type: security
CVE: CVE-2021-25217

Related News