Heap-based buffer overflow in FreeBSD - CVE-2020-7461

 

Heap-based buffer overflow in FreeBSD - CVE-2020-7461

Published: September 3, 2020 / Updated: November 30, 2022


Vulnerability identifier: #VU46226
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2020-7461
CWE-ID: CWE-122
Exploitation vector: Adjecent network
Exploit availability: Public exploit is available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error when parsing option 119 data in DHCP packets in dhclient(8). A remote attacker on the local network can send specially crafted data to the DHCP client, trigger heap-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

FreeBSD
Junos OS
SIMATIC RF350M
SIMATIC RF650M

How to mitigate CVE-2020-7461

Install updates from vendor's website.

Junos OS - addressed in versions 18.4R2-S10, 18.4R3-S10, 19.1R3-S7, 19.2R1-S8, 19.2R3-S4, 19.3R3-S4, 19.4R2-S6, 19.4R3-S6, 20.1R3-S3, 20.2R3-S3, 20.3R3-S3, 20.4R3, 21.1R2, 21.2R1

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins