CVE-2023-21013: Out of Bounds Read in forceStaDisconnection in hostapd.cpp in hostapd

Summary

01/03/2023
Yes i
Moderate
Not published

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 ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

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 →

Share this vulnerability

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.

Related vulnerabilities

Recent vulnerabilities recorded for platform/external/wpa_supplicant_8.

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback