Every CVE Search/ Get API key

CVE-2021-30004

In wpa_supplicant and hostapd 2.9, forging attacks may occur because AlgorithmIdentifier...

5.3 MediumFix available

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

1.64%Up 1.2 points since Apr 14, 2021
90%50%10%1%

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 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
CVSS 3.1
4.3 MediumCVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
CVSS 2.0
5.0 MediumAV: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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

Affected packages
PackageAffectedFixed
hostapd
Alpine:v3.11
before 2.9-r3
2.9-r3
hostapd
Alpine:v3.12
before 2.9-r3
2.9-r3
hostapd
Alpine:v3.13
before 2.9-r3
2.9-r3
hostapd
Alpine:v3.14
before 2.9-r3
2.9-r3
hostapd
Alpine:v3.15
before 2.9-r3
2.9-r3
hostapd
Alpine:v3.16
before 2.9-r3
2.9-r3
hostapd
Alpine:v3.17
before 2.9-r3
2.9-r3
hostapd
Alpine:v3.18
before 2.9-r3
2.9-r3
hostapd
Alpine:v3.19
before 2.9-r3
2.9-r3
hostapd
Alpine:v3.20
before 2.9-r3
2.9-r3
Show 35 moreShow less
Affected packages
PackageAffectedFixed
hostapd
Alpine:v3.21
before 2.9-r3
2.9-r3
hostapd
Alpine:v3.22
before 2.9-r3
2.9-r3
hostapd
Alpine:v3.23
before 2.9-r3
2.9-r3
hostapd
Alpine:v3.24
before 2.9-r3
2.9-r3
wpa_supplicant
Alpine:v3.11
before 2.9-r8
2.9-r8
wpa_supplicant
Alpine:v3.12
before 2.9-r8
2.9-r8
wpa_supplicant
Alpine:v3.13
before 2.9-r11
2.9-r11
wpa_supplicant
Alpine:v3.14
before 2.9-r13
2.9-r13
wpa_supplicant
Alpine:v3.15
before 2.9-r13
2.9-r13
wpa_supplicant
Alpine:v3.16
before 2.9-r13
2.9-r13
wpa_supplicant
Alpine:v3.17
before 2.9-r13
2.9-r13
wpa_supplicant
Alpine:v3.18
before 2.9-r13
2.9-r13
wpa_supplicant
Alpine:v3.19
before 2.9-r13
2.9-r13
wpa_supplicant
Alpine:v3.20
before 2.9-r13
2.9-r13
wpa_supplicant
Alpine:v3.21
before 2.9-r13
2.9-r13
wpa_supplicant
Alpine:v3.22
before 2.9-r13
2.9-r13
wpa_supplicant
Alpine:v3.23
before 2.9-r13
2.9-r13
wpa_supplicant
Alpine:v3.24
before 2.9-r13
2.9-r13
wpa_supplicant
Azure Linux:2
before 2.9-4
2.9-4
wpa
Debian:12
before 2:2.10-1
2:2.10-1
wpa
Debian:13
before 2:2.10-1
2:2.10-1
wpa
Debian:14
before 2:2.10-1
2:2.10-1
wpa_supplicant
Mageia:7
before 2.9-1.5.mga7
2.9-1.5.mga7
hostapd
Mageia:7
before 2.9-1.3.mga7
2.9-1.3.mga7
wpa_supplicant
Mageia:8
before 2.9-8.2.mga8
2.9-8.2.mga8
hostapd
Mageia:8
before 2.9-5.1.mga8
2.9-5.1.mga8
wpa_supplicant
SUSE:Linux Enterprise Server 12 SP5
before 2.9-23.12.1
2.9-23.12.1
wpa_supplicant
SUSE:Linux Enterprise Server for SAP Applications 12 SP5
before 2.9-23.12.1
2.9-23.12.1
wpa_supplicant
SUSE:Linux Enterprise Module for Basesystem 15 SP2
before 2.9-4.29.1
2.9-4.29.1
wpa_supplicant
SUSE:Linux Enterprise Micro 5.0
before 2.9-4.29.1
2.9-4.29.1
hostapd
openSUSE:Leap 15.2
From an advisory covering 3 CVEs
before 2.9-lp152.2.3.1
2.9-lp152.2.3.1
hostapd
SUSE:Package Hub 15 SP2
From an advisory covering 3 CVEs
before 2.9-bp152.2.3.1
2.9-bp152.2.3.1
wpa_supplicant
openSUSE:Leap 15.2
before 2.9-lp152.8.12.1
2.9-lp152.8.12.1
hostapd
openSUSE:Tumbleweed
From an advisory covering 11 CVEs
before 2.9-6.2
2.9-6.2
wpa_supplicant
openSUSE:Tumbleweed
From an advisory covering 16 CVEs
before 2.9-13.4
2.9-13.4

History

History
RecordedChangedSources
affected, facts
first indexedCVE 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

Show 30 moreShow less
MoveEnter Open