A flaw was found in dhcp-server. A remote attacker with network access to the OMAPI (Open Management Application Programming Interface) port, especially if not secured with TSIG (Transaction Signature) key authentication, could send a specially crafted lease creation request. This request, containing an overly long InfiniBand MAC address, triggers a buffer overflow in the `print_hw_addr()` function. Successful exploitation leads to a persistent denial of service (DoS), causing the `dhcpd` service to crash and preventing it from restarting without manual intervention.
Summary
AIA buffer overflow in dhcp-server's print_hw_addr() function can be triggered by a crafted lease creation request containing an overly long InfiniBand MAC address. A remote attacker with network access to the OMAPI port, especially one not secured with TSIG authentication, could crash dhcpd and prevent it from restarting without manual intervention.
Who should check
Operators running dhcp-server on Red Hat Enterprise Linux 6, 7, 8, or 9 should check their systems.
What to do
- 1Consult the Red Hat advisory for fixes.
- 2Apply the applicable updates.