Heap-based buffer overflow in hostapd - CVE-2012-4445

 

Heap-based buffer overflow in hostapd - CVE-2012-4445

Published: October 10, 2012 / Updated: July 28, 2020


Vulnerability identifier: #VU32434
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2012-4445
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: No public exploit 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 in Heap-based buffer overflow in the eap_server_tls_process_fragment function in eap_server_tls_common.c in the EAP authentication server in hostapd 0.6 through 1.0. A remote attacker can use a small to 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

hostapd

hostapd (Alpine package)

How to mitigate CVE-2012-4445

Update to version 1.1.

hostapd - update to 1.1
hostapd (Alpine package) - addressed in versions 0.7.3-r2, 0.7.3-r3, 0.7.3-r4, 1.1-r0, 2.0-r1, 2.2-r0, 2.3-r0, 2.4-r0, 2.5-r0, 2.5-r3, 2.6-r0, 2.6-r1, 2.6-r2, 2.6-r4, 2.6-r5, 2.7-r1, 2.9-r1
- update to 2.11-8ubuntu4

External References

Related Security Bulletins