Critical Side Channel Vulnerability in Hostapd - CVE-2022-23303

hostapd Updated 02 Oct 2025

Summary

17/01/2022
N/A
Yes i
Critical
9.8

ALPINE-CVE-2022-23303: The implementations of SAE in hostapd before 2.10 and wpa_supplicant before 2.10 are vulnerable to side channel attacks as a result of cache access patterns. Affects hostapd versions < 2.9-r4. Fixed in 2.9-r4. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Hostapd is a user space daemon for access point and authentication servers. It enables the creation of wireless access points and provides authentication services for clients. The package is widely used in various Linux distributions, including Alpine Linux. This vulnerability affects multiple versions of Hostapd, making it critical for users to address it promptly.

Vulnerability Detail

The vulnerability arises from the implementation of Simultaneous Authentication of Equals (SAE) in Hostapd versions prior to 2.10. It is susceptible to side channel attacks due to cache access patterns, which could allow an attacker to infer sensitive information. This issue is particularly concerning as it stems from an incomplete fix for CVE-2019-9494, indicating a potential risk for data breaches and unauthorized access.

How To Fix

Minimum fixed version

2.9-r4

This is the first release that contains the fix.

sudo apk add --upgrade hostapd

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary measure, users can limit access to the affected systems and monitor for unusual activity while preparing to update to the patched version. Additionally, consider disabling SAE if it is not essential for your network security.

Conclusion

The vulnerability CVE-2022-23303 in Hostapd poses a significant risk due to its potential for side channel attacks. Users are strongly advised to update to the patched versions to mitigate this risk. Utilizing tools like Vulert can help in monitoring and managing vulnerabilities effectively.

See every vulnerability recorded for hostapd →

Share this vulnerability

FAQ

CVE-2022-23303 is a vulnerability in Hostapd that allows side channel attacks due to cache access patterns in the SAE implementation.

The vulnerability has a CVSS score of 9.8, indicating it is critical and should be addressed immediately.

Hostapd versions prior to 2.10 are affected, with specific fixed versions depending on the Alpine Linux version.

You can use Vulert, which monitors open-source vulnerabilities in your software using a manifest file. Check your application at Vulert Scanner.

If immediate updates are not possible, limit access to the affected systems and monitor for any suspicious activities.

Related vulnerabilities

Recent vulnerabilities recorded for hostapd.

How To Fix

Minimum fixed version

2.9-r4

This is the first release that contains the fix.

sudo apk add --upgrade hostapd

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