GLSA 201711-03: hostapd and wpa_supplicant: Key Reinstallation (KRACK) attacks

Title:hostapd and wpa_supplicant: Key Reinstallation (KRACK) attacks
Bugs: #634436, #634438


A flaw was discovered in the 4-way handshake in hostapd and wpa_supplicant that allows attackers to conduct a Man in the Middle attack.


wpa_supplicant is a WPA Supplicant with support for WPA and WPA2 (IEEE 802.11i / RSN). hostapd is a user space daemon for access point and authentication servers.

Affected packages

Package Vulnerable Unaffected Architecture(s)
net-wireless/hostapd < 2.6-r1 >= 2.6-r1 All supported architectures
net-wireless/wpa_supplicant < 2.6-r3 >= 2.6-r3 All supported architectures


WiFi Protected Access (WPA and WPA2) and it’s associated technologies are all vulnerable to the KRACK attacks. Please review the referenced CVE identifiers for details.


An attacker can carry out the KRACK attacks on a wireless network in order to gain access to network clients. Once achieved, the attacker can potentially harvest confidential information (e.g. HTTP/HTTPS), inject malware, or perform a myriad of other attacks.


There is no known workaround at this time.


All hostapd users should upgrade to the latest version:

      # emerge --sync
      # emerge --ask --oneshot --verbose ">=net-wireless/hostapd-2.6-r1"

All wpa_supplicant users should upgrade to the latest version:

# emerge --sync # emerge --ask --oneshot --verbose ">=net-wireless/wpa_supplicant-2.6-r3"



This GLSA and any updates to it are available for viewing at the Gentoo Security Website:


Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to or alternatively, you may file a bug at


Copyright 2010 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license.

Thank you!