Side-Channel Attacks in EAP-pwd Implementation in hostapd and wpa_supplicant

hostapd Updated 02 Oct 2025

Summary

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

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 Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The hostapd and wpa_supplicant packages are widely used for managing wireless networks. They provide functionality for access point management and Wi-Fi client connections. These packages are commonly used in the Alpine Linux distributions, specifically versions 3.12 to 3.18. However, these versions are vulnerable to side-channel attacks in the EAP-pwd implementation.

Vulnerability Detail

The vulnerability, identified as CVE-2022-23304, stems from cache access patterns in the EAP-pwd implementation of hostapd and wpa_supplicant. This vulnerability is a result of an incomplete fix for a previous vulnerability, CVE-2019-9495. Attackers can exploit this vulnerability to perform side-channel attacks, potentially leading to unauthorized access, data leakage, or other malicious activities.

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

There is no specific workaround mentioned for this vulnerability. However, applying the recommended fix by updating the affected packages is the best course of action.

Conclusion

The EAP-pwd implementation in hostapd and wpa_supplicant versions before 2.10 is vulnerable to side-channel attacks. To mitigate this vulnerability, it is crucial to update the affected packages to version 2.10 or later. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for hostapd →

Share this vulnerability

FAQ

This vulnerability can allow attackers to perform side-channel attacks, potentially leading to unauthorized access, data leakage, or other malicious activities.

Versions before 2.10 of both hostapd and wpa_supplicant are affected by this vulnerability.

There is no specific information about known exploits for this vulnerability at the moment.

The recommended mitigation is to update the affected packages to version 2.10 or later.

Yes, the CVSS score for this vulnerability is 9.8, indicating a critical severity level.

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