CVE-2021-30004
In wpa_supplicant and hostapd 2.9, forging attacks may occur because AlgorithmIdentifier...
In wpa_supplicant and hostapd 2.9, forging attacks may occur because AlgorithmIdentifier parameters are mishandled in tls/pkcs1.c and tls/x509v3.c.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- Low
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
5.3
In wpa_supplicant and hostapd 2.9, forging attacks may occur because AlgorithmIdentifier parameters are mishandled in tls/pkcs1.c and tls/x509v3.c.
- Record
CVE-2021-30004- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N - CVSS 3.1
- 4.3 Medium
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N - CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:N/I:P/A:N - Weakness
- CWE-20
- Updated
- 2026-11-02
CVE List
4.3
In wpa_supplicant and hostapd 2.9, forging attacks may occur because AlgorithmIdentifier parameters are mishandled in tls/pkcs1.c and tls/x509v3.c.
- Record
CVE-2021-30004- CVSS 3.1
- 4.3 Medium
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N - Weakness
- CWE-20
- Updated
- 2026-11-02
EUVDEUVD-2021-16948
4.3
In wpa_supplicant and hostapd 2.9, forging attacks may occur because AlgorithmIdentifier parameters are mishandled in tls/pkcs1.c and tls/x509v3.c.
- Record
EUVD-2021-16948- CVSS 3.1
- 4.3 Medium
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-mwxw-68wg-34jm
5.3
In wpa_supplicant and hostapd 2.9, forging attacks may occur because AlgorithmIdentifier...
In wpa_supplicant and hostapd 2.9, forging attacks may occur because AlgorithmIdentifier parameters are mishandled in tls/pkcs1.c and tls/x509v3.c.
- Record
GHSA-mwxw-68wg-34jm- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N - Weakness
- CWE-20
- Updated
- 2026-11-02
OSVALPINE-CVE-2021-30004
5.3
In wpa_supplicant and hostapd 2.9, forging attacks may occur because AlgorithmIdentifier parameters are mishandled in tls/pkcs1.c and tls/x509v3.c.
- Record
ALPINE-CVE-2021-30004- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N - Updated
- 2026-11-02
OSVAZL-6974
5.3
CVE-2021-30004 affecting package wpa_supplicant for versions less than 2.9-4
In wpa_supplicant and hostapd 2.9, forging attacks may occur because AlgorithmIdentifier parameters are mishandled in tls/pkcs1.c and tls/x509v3.c.
- Record
AZL-6974- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N - Updated
- 2026-11-02
Show 11 moreShow less
OSVBELL-CVE-2021-30004
5.3
CVE-2021-30004 does not affect BellSoft software
- Record
BELL-CVE-2021-30004- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N - Updated
- 2026-11-02
OSV
5.3
In wpa_supplicant and hostapd 2.9, forging attacks may occur because AlgorithmIdentifier parameters are mishandled in tls/pkcs1.c and tls/x509v3.c.
- Record
CVE-2021-30004- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N - Updated
- 2026-11-02
OSVDEBIAN-CVE-2021-30004
5.3
In wpa_supplicant and hostapd 2.9, forging attacks may occur because AlgorithmIdentifier parameters are mishandled in tls/pkcs1.c and tls/x509v3.c.
- Record
DEBIAN-CVE-2021-30004- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N - Updated
- 2026-11-02
OSVMGASA-2021-0254 No score
Updated wpa_supplicant, hostapd packages fix security vulnerability
The wpa_supplicant and hostapd packages are updated to fix a forging attacks that may occur because AlgorithmIdentifier parameters are mishandled in tls/pkcs1.c and tls/x509v3.c. (CVE-2021-30004).
- Record
MGASA-2021-0254- Updated
- 2026-11-02
OSVopenSUSE-SU-2021:0519-1 No score
Security update for hostapd
This update for hostapd fixes the following issues:
-
CVE-2021-30004: forging attacks may occur because AlgorithmIdentifier parameters are mishandled in tls/pkcs1.c and tls/x509v3.c (boo#1184348)
-
CVE-2020-12695: UPnP SUBSCRIBE misbehavior in hostapd WPS AP (boo#1172700)
-
CVE-2019-16275: AP mode PMF disconnection protection bypass (boo#1150934)
-
added AppArmor profile (source apparmor-usr.sbin.hostapd)
- Record
openSUSE-SU-2021:0519-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2021:0545-1 No score
Security update for hostapd
This update for hostapd fixes the following issues:
-
CVE-2021-30004: forging attacks may occur because AlgorithmIdentifier parameters are mishandled in tls/pkcs1.c and tls/x509v3.c (boo#1184348)
-
CVE-2020-12695: UPnP SUBSCRIBE misbehavior in hostapd WPS AP (boo#1172700)
-
CVE-2019-16275: AP mode PMF disconnection protection bypass (boo#1150934)
-
added AppArmor profile (source apparmor-usr.sbin.hostapd)
This update was imported from the openSUSE:Leap:15.2:Update update project.
- Record
openSUSE-SU-2021:0545-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2021:0563-1 No score
Security update for wpa_supplicant
This update for wpa_supplicant fixes the following issues:
- CVE-2021-30004: Fixed an issue where forging attacks might have occured because AlgorithmIdentifier parameters are mishandled in tls/pkcs1.c and tls/x509v3.c (bsc#1184348).
This update was imported from the SUSE:SLE-15:Update update project.
- Record
openSUSE-SU-2021:0563-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10846-1 No score
hostapd-2.9-6.2 on GA media
These are all security issues fixed in the hostapd-2.9-6.2 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10846-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:11515-1 No score
wpa_supplicant-2.9-13.4 on GA media
These are all security issues fixed in the wpa_supplicant-2.9-13.4 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:11515-1- Updated
- 2026-11-02
OSVSUSE-SU-2021:1125-1 No score
Security update for wpa_supplicant
This update for wpa_supplicant fixes the following issues:
- CVE-2021-30004: Fixed an issue where forging attacks might have occured because AlgorithmIdentifier parameters were mishandled in tls/pkcs1.c and tls/x509v3.c (bsc#1184348)
- Record
SUSE-SU-2021:1125-1- Updated
- 2026-11-02
OSVSUSE-SU-2021:1166-1 No score
Security update for wpa_supplicant
This update for wpa_supplicant fixes the following issues:
- CVE-2021-30004: Fixed an issue where forging attacks might have occured because AlgorithmIdentifier parameters are mishandled in tls/pkcs1.c and tls/x509v3.c (bsc#1184348).
- Record
SUSE-SU-2021:1166-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
hostapdAlpine:v3.11 |
before 2.9-r3 | 2.9-r3 |
hostapdAlpine:v3.12 |
before 2.9-r3 | 2.9-r3 |
hostapdAlpine:v3.13 |
before 2.9-r3 | 2.9-r3 |
hostapdAlpine:v3.14 |
before 2.9-r3 | 2.9-r3 |
hostapdAlpine:v3.15 |
before 2.9-r3 | 2.9-r3 |
hostapdAlpine:v3.16 |
before 2.9-r3 | 2.9-r3 |
hostapdAlpine:v3.17 |
before 2.9-r3 | 2.9-r3 |
hostapdAlpine:v3.18 |
before 2.9-r3 | 2.9-r3 |
hostapdAlpine:v3.19 |
before 2.9-r3 | 2.9-r3 |
hostapdAlpine:v3.20 |
before 2.9-r3 | 2.9-r3 |
Show 35 moreShow less
| Package | Affected | Fixed |
|---|---|---|
hostapdAlpine:v3.21 |
before 2.9-r3 | 2.9-r3 |
hostapdAlpine:v3.22 |
before 2.9-r3 | 2.9-r3 |
hostapdAlpine:v3.23 |
before 2.9-r3 | 2.9-r3 |
hostapdAlpine:v3.24 |
before 2.9-r3 | 2.9-r3 |
wpa_supplicantAlpine:v3.11 |
before 2.9-r8 | 2.9-r8 |
wpa_supplicantAlpine:v3.12 |
before 2.9-r8 | 2.9-r8 |
wpa_supplicantAlpine:v3.13 |
before 2.9-r11 | 2.9-r11 |
wpa_supplicantAlpine:v3.14 |
before 2.9-r13 | 2.9-r13 |
wpa_supplicantAlpine:v3.15 |
before 2.9-r13 | 2.9-r13 |
wpa_supplicantAlpine:v3.16 |
before 2.9-r13 | 2.9-r13 |
wpa_supplicantAlpine:v3.17 |
before 2.9-r13 | 2.9-r13 |
wpa_supplicantAlpine:v3.18 |
before 2.9-r13 | 2.9-r13 |
wpa_supplicantAlpine:v3.19 |
before 2.9-r13 | 2.9-r13 |
wpa_supplicantAlpine:v3.20 |
before 2.9-r13 | 2.9-r13 |
wpa_supplicantAlpine:v3.21 |
before 2.9-r13 | 2.9-r13 |
wpa_supplicantAlpine:v3.22 |
before 2.9-r13 | 2.9-r13 |
wpa_supplicantAlpine:v3.23 |
before 2.9-r13 | 2.9-r13 |
wpa_supplicantAlpine:v3.24 |
before 2.9-r13 | 2.9-r13 |
wpa_supplicantAzure Linux:2 |
before 2.9-4 | 2.9-4 |
wpaDebian:12 |
before 2:2.10-1 | 2:2.10-1 |
wpaDebian:13 |
before 2:2.10-1 | 2:2.10-1 |
wpaDebian:14 |
before 2:2.10-1 | 2:2.10-1 |
wpa_supplicantMageia:7 |
before 2.9-1.5.mga7 | 2.9-1.5.mga7 |
hostapdMageia:7 |
before 2.9-1.3.mga7 | 2.9-1.3.mga7 |
wpa_supplicantMageia:8 |
before 2.9-8.2.mga8 | 2.9-8.2.mga8 |
hostapdMageia:8 |
before 2.9-5.1.mga8 | 2.9-5.1.mga8 |
wpa_supplicantSUSE:Linux Enterprise Server 12 SP5 |
before 2.9-23.12.1 | 2.9-23.12.1 |
wpa_supplicantSUSE:Linux Enterprise Server for SAP Applications 12 SP5 |
before 2.9-23.12.1 | 2.9-23.12.1 |
wpa_supplicantSUSE:Linux Enterprise Module for Basesystem 15 SP2 |
before 2.9-4.29.1 | 2.9-4.29.1 |
wpa_supplicantSUSE:Linux Enterprise Micro 5.0 |
before 2.9-4.29.1 | 2.9-4.29.1 |
hostapdopenSUSE:Leap 15.2 From an advisory covering 3 CVEs |
before 2.9-lp152.2.3.1 | 2.9-lp152.2.3.1 |
hostapdSUSE:Package Hub 15 SP2 From an advisory covering 3 CVEs |
before 2.9-bp152.2.3.1 | 2.9-bp152.2.3.1 |
wpa_supplicantopenSUSE:Leap 15.2 |
before 2.9-lp152.8.12.1 | 2.9-lp152.8.12.1 |
hostapdopenSUSE:Tumbleweed From an advisory covering 11 CVEs |
before 2.9-6.2 | 2.9-6.2 |
wpa_supplicantopenSUSE:Tumbleweed From an advisory covering 16 CVEs |
before 2.9-13.4 | 2.9-13.4 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-30004 is a medium vulnerability (CVSS 5.3) in W1.fi Hostapd, published April 2, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.64%, the 76th percentile. Fixed in hostapd 2.9-r3.
References
w1.fi/cgit/hostap/commit?id=a0541334a6394f8237a4393b7372693cd7e96f15
security.gentoo.org/glsa/202309-16
nvd.nist.gov/vuln/detail/CVE-2021-30004
github.com/advisories/GHSA-mwxw-68wg-34jm
security.alpinelinux.org/vuln/CVE-2021-30004
docs.bell-sw.com/security/cves/CVE-2021-30004
Show 30 moreShow less
security-tracker.debian.org/tracker/CVE-2021-30004
advisories.mageia.org/MGASA-2021-0254.html
bugs.mageia.org/show_bug.cgi?id=29046
lists.opensuse.org/archives/list/[email protected]/thread/EXT3Y5NEGCCPGZ7FTYURPUBTHNNJA6MF
lists.opensuse.org/archives/list/[email protected]/thread/4XPNZHCXJ32COQGQ62HNGD6DHPO5E552
suse.com/support/update/announcement/2021/suse-su-20211125-1
bugzilla.suse.com/1184348
suse.com/security/cve/CVE-2021-30004
suse.com/support/update/announcement/2021/suse-su-20211166-1
bugzilla.suse.com/1150934
bugzilla.suse.com/1172700
suse.com/security/cve/CVE-2019-16275
suse.com/security/cve/CVE-2020-12695
lists.opensuse.org/archives/list/[email protected]/thread/7GHTARPJSUMITH7M3ESWRIZUIYW5UAM6
suse.com/security/cve/CVE-2017-13078
suse.com/security/cve/CVE-2017-13082
suse.com/security/cve/CVE-2018-14526
suse.com/security/cve/CVE-2019-9494
suse.com/security/cve/CVE-2019-9495
suse.com/security/cve/CVE-2019-9496
suse.com/security/cve/CVE-2019-9497
suse.com/security/cve/CVE-2019-9499
suse.com/security/cve/CVE-2015-8041
suse.com/security/cve/CVE-2017-13077
suse.com/security/cve/CVE-2017-13079
suse.com/security/cve/CVE-2017-13086
suse.com/security/cve/CVE-2019-11555
suse.com/security/cve/CVE-2019-13377
suse.com/security/cve/CVE-2021-0326
suse.com/security/cve/CVE-2021-27803