Critical Vulnerability in Hostapd: EAP-pwd Side-Channel Attack Risk

hostapd Updated 02 Oct 2025

Summary

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

ALPINE-CVE-2022-23304: The implementations of EAP-pwd 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 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

Hostapd is a user space daemon for access point and authentication servers, providing the necessary functionality for wireless networking. It supports various authentication methods and is widely used in Linux-based systems. However, certain versions of Hostapd are vulnerable to side-channel attacks due to flaws in the implementation of EAP-pwd, which could allow attackers to exploit cache access patterns.

Vulnerability Detail

The vulnerability identified as CVE-2022-23304 affects Hostapd versions prior to 2.10. It arises from an incomplete fix for a previous vulnerability (CVE-2019-9495), leading to potential side-channel attacks. Attackers can exploit this vulnerability to gain sensitive information through cache access patterns, posing significant risks to the confidentiality and integrity of the authentication process.

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 workaround, consider disabling EAP-pwd if it is not essential for your authentication processes. This can help mitigate the risk until the package is updated.

Conclusion

In summary, CVE-2022-23304 is a critical vulnerability in Hostapd that can lead to serious security risks through side-channel attacks. It is essential to update to the latest patched version to mitigate these risks effectively. Utilize tools like Vulert to monitor and assess your software for vulnerabilities.

See every vulnerability recorded for hostapd →

Share this vulnerability

FAQ

CVE-2022-23304 is a vulnerability in Hostapd that allows for side-channel attacks due to flawed EAP-pwd implementations.

The vulnerability has a CVSS score of 9.8, indicating it is critical and poses a significant risk to affected systems.

Hostapd versions prior to 2.10 are affected by this vulnerability.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

If immediate updates are not possible, consider disabling EAP-pwd as a temporary workaround to reduce the risk.

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