ArchLinux: 202102-25: wpa_supplicant: arbitrary code execution
Summary
A security issue was found in hostapd and wpa_supplicant version 2.9. A missing length check in the p2p_copy_client_info function could lead to a buffer overflow.
Resolution
Upgrade to 2:2.9-8.
# pacman -Syu "wpa_supplicant>=2:2.9-8"
The problem has been fixed upstream but no release is available yet.
References
https://bugs.archlinux.org/task/69525 https://w1.fi/security/2020-2/wpa_supplicant-p2p-group-info-processing-vulnerability.txt https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=27269 https://w1.fi/cgit/hostap/commit/?id=947272febe24a8f0ea828b5b2f35f13c3821901e https://security.archlinux.org/CVE-2021-0326
Workaround
The issue can be mitigated by disabling P2P, using the controlinterface command "P2P_SET disabled 1" or "p2p_disabled=1" in (each, ifmultiple interfaces used) wpa_supplicant configuration file.