Bug 2132001 (CVE-2022-2929) - CVE-2022-2929 dhcp: DHCP memory leak
Summary: CVE-2022-2929 dhcp: DHCP memory leak
Keywords:
Status: NEW
Alias: CVE-2022-2929
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2132245 2132246 2132430
Blocks: 2131939
TreeView+ depends on / blocked
 
Reported: 2022-10-04 12:39 UTC by TEJ RATHI
Modified: 2022-10-21 08:04 UTC (History)
17 users (show)

Fixed In Version: dhcp 4.4.3-P1, dhcp 4.1-ESV-R16-P2
Doc Type: If docs needed, set a value
Doc Text:
A vulnerability was found in the DHCP server where the "fqdn_universe_decode()" function allocates buffer space for the contents of option 81 (fqdn) data received in a DHCP packet. The maximum length of a DNS "label" is 63 bytes. The function tests the length byte of each label contained in the "fqdn"; if it finds a label whose length byte value is larger than 63, it returns without dereferencing the buffer space. This issue causes a memory leak. On a system with access to a DHCP server, an attacker from any adjacent network could send DHCP packets crafted to include "fqdn" labels longer than 63 bytes to the DHCP server, eventually causing the server to run out of memory and crash.
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

Description TEJ RATHI 2022-10-04 12:39:43 UTC
A vulnerability was found in DHCP, where, 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.

Versions affected:

- 1.0.0 -> 4.1-ESV-R16-P1
- 4.2.0 -> 4.4.3

Comment 5 Guilherme de Almeida Suckevicz 2022-10-05 16:36:17 UTC
Created dhcp tracking bugs for this issue:

Affects: fedora-all [bug 2132430]


Note You need to log in before you can comment on or make changes to this bug.