CVE-2020-7461 Memory corruption in FreeBSD

High 7.3 Published Updated

A heap overflow in FreeBSD's dhclient allows remote code execution via malformed DHCP options, though limited by sandboxing.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2020-7461?

CVE-2020-7461 is a high-severity memory corruption vulnerability in Freebsd Freebsd, published on 26 Mar 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In FreeBSD 12.1-STABLE before r365010, 11.4-STABLE before r365011, 12.1-RELEASE before p9, 11.4-RELEASE before p3, and 11.3-RELEASE before p13, dhclient(8) fails to handle certain malformed input related to handling of DHCP option 119 resulting a heap overflow. The heap overflow could in principle be exploited to achieve remote code execution. The affected process runs with reduced privileges in a Capsicum sandbox, limiting the immediate impact of an exploit.

Weakness: CWE-787

Which versions are affected by CVE-2020-7461?

It affects 3 products.

Products include Freebsd Freebsd, Siemens Simatic Rf350m Firmware, Siemens Simatic Rf650m Firmware.

How do I fix CVE-2020-7461?

No fix has been published for CVE-2020-7461 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2020-7461 being exploited?

There is no known exploitation of CVE-2020-7461 in the wild and no public exploit code.

Public exploit code: 2 proofs of concept on GitHub.

All Freebsd Freebsd vulnerabilities

Sources

Also known as GHSA-x566-m9mc-f47w.

Is CVE-2020-7461 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free