Buffer overflow in FreeBSD
CVE-2020-7461
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.3 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L.
EPSS exploit prediction
EPSS 0.041, 91.0th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- FreeBSD — versions 11.3, 11.4, 12.1
- Siemens Simatic Rf350m Firmware
- Siemens Simatic Rf650m Firmware
- FreeBSD — versions FreeBSD 12.1-RELEASE before p9, 11.4-RELEASE before p3, 11.3-RELEASE before p13
Weakness classification (CWE)
Public exploits and proof-of-concept code
2 public repositories with exploit or proof-of-concept code for this CVE:
- knqyf263/CVE-2020-7461 (15 stars, last pushed 2021-04-14): PoC for DHCP vulnerability (NAME:WRECK) in FreeBSD
- 0xkol/freebsd-dhclient-poc (1 star, last pushed 2022-11-30): Reproducer PoC for FreeBSD dhclient heap-based buffer overflow vulnerability when parsing DHCP option 119 (CVE-2020-7461)
Also mentioned in 4 other repositories (ARPSyndicate/cvemon, ARPSyndicate/cve-scores, nomi-sec/PoC-in-GitHub, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- security.FreeBSD.org/advisories/FreeBSD-SA-20:26.dhclient.asc (Vendor Advisory)
- cert-portal.siemens.com/productcert/pdf/ssa-288459.pdf (Third Party Advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.