OSV-2021-1807 Heap-use-after-free in dhcp6_no_relay
A heap-use-after-free vulnerability in the DHCPv6 relay handling allows remote attackers to execute arbitrary code or cause a denial of service.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is OSV-2021-1807?
OSV-2021-1807 is an use after free vulnerability in dnsmasq, published on 13 Feb 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=44573
Crash type: Heap-use-after-free WRITE 1
Crash state:
dhcp6_no_relay
dhcp6_maybe_relay
dhcp6_maybe_relay
Which versions are affected by OSV-2021-1807?
1 open source package ship an affected version, including dnsmasq.
| Package | Affected | Fixed in |
|---|---|---|
dnsmasq OSS-Fuzz | All versions | None |
How do I fix OSV-2021-1807?
No fix has been published for OSV-2021-1807 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is OSV-2021-1807 being exploited?
There is no known exploitation of OSV-2021-1807 in the wild and no public exploit code.