Dnsmasq: dhcpv6 relay remote crash via stale pointer in relay_upstream6()
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions |
|---|---|---|---|
| Red Hat | Red Hat Enterprise Linux 10 | affected | — |
| Red Hat | Red Hat Enterprise Linux 6 | unaffected | — |
| Red Hat | Red Hat Enterprise Linux 7 | unaffected | — |
| Red Hat | Red Hat Enterprise Linux 8 | unaffected | — |
| Red Hat | Red Hat Enterprise Linux 9 | unaffected | — |
| Red Hat | Red Hat OpenStack Platform 13 (Queens) | unaffected | — |
No data.
No data.
No data available yet.
Vendor Workaround
Disable the DHCPv6 relay feature if it is not required, or restrict network access to the DHCPv6 relay port. 1. If DHCPv6 relay capability is not needed: Remove or comment out all `dhcp-relay` entries in `/etc/dnsmasq.conf` or in configuration files under `/etc/dnsmasq.d/`, then restart the service: ``` systemctl restart dnsmasq ``` 2. If DHCPv6 relay is required, restrict incoming traffic on UDP port 547 to trusted network interfaces or subnets using firewalld: ``` firewall-cmd --remove-port=547/udp --permanent firewall-cmd --reload ``` Alternatively, configure rich rules in firewalld to permit UDP port 547 only from designated DHCPv6 clients and relay sources. Caveats: Disabling the relay configuration or restricting UDP port 547 prevents clients on blocked interfaces or subnets from forwarding DHCPv6 requests. Warning: Restarting or reloading the dnsmasq service will momentarily interrupt active DNS resolution and DHCP operations.
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
No EPSS score available.
Key SSVC decision points have not yet been added.
| Type | Values Removed | Values Added |
|---|---|---|
| Description | A flaw was found in dnsmasq, where a memory handling issue exists in its Dynamic Host Configuration Protocol for IPv6 (DHCPv6) relay processing. A remote attacker can exploit this vulnerability by sending a sequence of network packets to a system configured as a DHCPv6 relay. This causes the service to write data to previously freed memory and crash, resulting in a Denial of Service (DoS). | |
| Title | Dnsmasq: dhcpv6 relay remote crash via stale pointer in relay_upstream6() | |
| First Time appeared |
Redhat
Redhat enterprise Linux Redhat openstack Redhat rhel Els |
|
| Weaknesses | CWE-416 | |
| CPEs | cpe:/a:redhat:enterprise_linux:10 cpe:/a:redhat:enterprise_linux:8 cpe:/a:redhat:enterprise_linux:9 cpe:/a:redhat:openstack:13 cpe:/o:redhat:rhel_els:6 cpe:/o:redhat:rhel_els:7 |
|
| Vendors & Products |
Redhat
Redhat enterprise Linux Redhat openstack Redhat rhel Els |
|
| References |
| |
| Metrics |
cvssV3_1
|
Use After Free