CVE-2023-21013: Out of Bounds Read in forceStaDisconnection in hostapd.cpp in hostapd
Summary
CVE-2023-21013: In forceStaDisconnection of hostapd.cpp, there is a possible out of bounds read due to a missing bounds check. Affects platform/external/wpa_supplicant_8 versions >= 13:0, < 13:2023-03-01. Fixed in 13:2023-03-01. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The package under scrutiny is platform/external/wpa_supplicant_8, which is part of the Android ecosystem. This package provides the functionality of a Wi-Fi Protected Access (WPA) supplicant, allowing devices to connect to Wi-Fi networks securely. The vulnerability affects the forceStaDisconnection function in the hostapd.cpp file. This function is responsible for disconnecting a station from the access point. The vulnerability arises from a missing bounds check, which can lead to an out of bounds read. Exploiting this vulnerability requires local system execution privileges, and no user interaction is necessary.
Vulnerability Detail
The vulnerability in forceStaDisconnection of hostapd.cpp is an out of bounds read issue. Due to a missing bounds check, an attacker can trigger this vulnerability to disclose local information. The impact of this vulnerability can be significant, as it can potentially expose sensitive data. However, exploitation of this vulnerability requires the attacker to have system execution privileges. No user interaction is needed for exploitation.
How To Fix
Minimum fixed version
13:2023-03-01
This is the first release that contains the fix.
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Conclusion
The out of bounds read vulnerability in forceStaDisconnection of hostapd.cpp in the platform/external/wpa_supplicant_8 package can lead to local information disclosure. Exploiting this vulnerability requires system execution privileges, and no user interaction is needed. It is recommended to update the affected package to version 13 or later to mitigate this vulnerability.
See every vulnerability recorded for platform/external/wpa_supplicant_8 →
FAQ
This vulnerability can lead to local information disclosure, potentially exposing sensitive data.
Exploiting this vulnerability requires local system execution privileges.
No, user interaction is not needed for exploitation of this vulnerability.
To mitigate this vulnerability, it is recommended to update the affected package to version 13 or later.
More information about this vulnerability can be found at: https://android.googlesource.com/platform/external/wpa_supplicant_8/+/73b889335132164fdb87c5d8ebccad1bd5620b33
Related vulnerabilities
Recent vulnerabilities recorded for platform/external/wpa_supplicant_8.