Use-after-free in Dnsmasq - CVE-2022-0934

 

Use-after-free in Dnsmasq - CVE-2022-0934

Published: May 11, 2022 / Updated: June 8, 2025


Vulnerability identifier: #VU63013
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-0934
CWE-ID: CWE-416
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a use-after-free error when handling DHCPv6 requests. A remote attacker can send specially crafted DHCPv6 packets to the affected application, trigger a use-after-free error and perform a denial of service (DoS) attack.



Affected software

Dnsmasq
Oracle Linux
Gentoo Linux
Amazon Linux AMI
SUSE CaaS Platform
SUSE Manager Server
SUSE Manager Retail Branch Server
SUSE Manager Proxy
SUSE Linux Enterprise Micro
SUSE Enterprise Storage
Anolis OS
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux Server - TUS
Slackware Linux
Ubuntu
SUSE Linux Enterprise Server for SAP
SUSE Linux Enterprise Server
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Realtime Extension
SUSE Linux Enterprise Desktop
SUSE Linux Enterprise Server for SAP Applications
SUSE Linux Enterprise Module for Basesystem
openSUSE Leap
openEuler
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
dnsmasq-utils
dnsmasq
dnsmasq (Ubuntu package)
dnsmasq-utils (Ubuntu package)
dnsmasq-base (Ubuntu package)
dnsmasq (Red Hat package)
dnsmasq-help
dnsmasq-debuginfo
dnsmasq-debugsource
dnsmasq-utils-debuginfo
net-dns/dnsmasq
Oracle Communications Cloud Native Core Network Function Cloud Native Environment
OpenManage Network Integration (OMNI)
EMC ECS
HPE Moonshot 1500 Chassis Manager
OpenShift Virtualization
Session Smart Router

How to mitigate CVE-2022-0934

Install update from vendor's website.

Dnsmasq - update to 2.87
dnsmasq-utils - addressed in versions 2.76-17, 2.79-24
dnsmasq - addressed in versions 2.76-17, 2.79-24
dnsmasq (Ubuntu package) - addressed in versions 2.79-1ubuntu0.6, 2.80-1.1ubuntu1.5, 2.85-1ubuntu2.1, 2.86-1.1ubuntu0.1
dnsmasq-utils (Ubuntu package) - addressed in versions 2.79-1ubuntu0.6, 2.80-1.1ubuntu1.5, 2.85-1ubuntu2.1, 2.86-1.1ubuntu0.1
dnsmasq-base (Ubuntu package) - addressed in versions 2.79-1ubuntu0.6, 2.80-1.1ubuntu1.5, 2.85-1ubuntu2.1, 2.86-1.1ubuntu0.1
dnsmasq (Red Hat package) - addressed in versions 2.79-21.el8_6.5, 2.79-24.el8, 2.85-5.el9
dnsmasq - update to 2.82-10
dnsmasq-help - update to 2.82-10
dnsmasq-debuginfo - update to 2.82-10
dnsmasq-debugsource - update to 2.82-10
dnsmasq - update to 2.86-10
dnsmasq-debuginfo - update to 2.86-150100.7.20.1
dnsmasq-utils-debuginfo - update to 2.86-150100.7.20.1
dnsmasq-utils - update to 2.86-150100.7.20.1
dnsmasq-debugsource - update to 2.86-150100.7.20.1
dnsmasq - update to 2.86-150100.7.20.1
dnsmasq - update to 2.87
net-dns/dnsmasq - update to 2.90
OpenManage Network Integration (OMNI) - update to 3.7
EMC ECS - update to 3.7.0.3
HPE Moonshot 1500 Chassis Manager - update to 4.0-b43
OpenShift Virtualization - addressed in versions 4.11.1, 4.12.0
Session Smart Router - addressed in versions 6.2.3-r2, 6.2.10, 6.3.7

External References

Related Security Bulletins