CVEfocus › CVE database › CVE-2021-30004

CVE-2021-30004

CVSS 4.3 MediumEPSS 1.6% (higher than 77% of CVEs)Published 2021-04-02Updated 2026-07-07Assigner: mitre

In wpa_supplicant and hostapd 2.9, forging attacks may occur because AlgorithmIdentifier parameters are mishandled in tls/pkcs1.c and tls/x509v3.c.

CWE-20

What to do

Fixed builds are available from Alpine, Debian: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

31Fixed
7Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 20.04wpaNot affected
vulnerable_code_not_present
Ubuntu 18.04wpaNot affected
vulnerable_code_not_present
Ubuntu 16.04wpaNot affected
vulnerable_code_not_present
Debian 14wpaFixed2:2.10-1DEBIAN-CVE-2021-30004
Debian 13wpaFixed2:2.10-1DEBIAN-CVE-2021-30004
Debian 12wpaFixed2:2.10-1DEBIAN-CVE-2021-30004
Red Hat Enterprise Linux 9wpa_supplicantNot affected
Red Hat Enterprise Linux 8wpa_supplicantNot affected
Red Hat Enterprise Linux 7wpa_supplicantNot affected
Red Hat Enterprise Linux 6wpa_supplicantNot affected
Alpine Linux 3.24hostapdFixed2.9-r3ALPINE-CVE-2021-30004
Alpine Linux 3.24wpa_supplicantFixed2.9-r13ALPINE-CVE-2021-30004
Alpine Linux 3.23hostapdFixed2.9-r3ALPINE-CVE-2021-30004
Alpine Linux 3.23wpa_supplicantFixed2.9-r13ALPINE-CVE-2021-30004
Alpine Linux 3.22hostapdFixed2.9-r3ALPINE-CVE-2021-30004
Alpine Linux 3.22wpa_supplicantFixed2.9-r13ALPINE-CVE-2021-30004
Alpine Linux 3.21hostapdFixed2.9-r3ALPINE-CVE-2021-30004
Alpine Linux 3.21wpa_supplicantFixed2.9-r13ALPINE-CVE-2021-30004
Alpine Linux 3.20hostapdFixed2.9-r3ALPINE-CVE-2021-30004
Alpine Linux 3.20wpa_supplicantFixed2.9-r13ALPINE-CVE-2021-30004
Alpine Linux 3.19hostapdFixed2.9-r3ALPINE-CVE-2021-30004
Alpine Linux 3.19wpa_supplicantFixed2.9-r13ALPINE-CVE-2021-30004
Alpine Linux 3.18hostapdFixed2.9-r3ALPINE-CVE-2021-30004
Alpine Linux 3.18wpa_supplicantFixed2.9-r13ALPINE-CVE-2021-30004
Alpine Linux 3.17hostapdFixed2.9-r3ALPINE-CVE-2021-30004
Alpine Linux 3.17wpa_supplicantFixed2.9-r13ALPINE-CVE-2021-30004
Alpine Linux 3.16hostapdFixed2.9-r3ALPINE-CVE-2021-30004
Alpine Linux 3.16wpa_supplicantFixed2.9-r13ALPINE-CVE-2021-30004
Alpine Linux 3.15hostapdFixed2.9-r3ALPINE-CVE-2021-30004
Alpine Linux 3.15wpa_supplicantFixed2.9-r13ALPINE-CVE-2021-30004
Alpine Linux 3.14hostapdFixed2.9-r3ALPINE-CVE-2021-30004
Alpine Linux 3.14wpa_supplicantFixed2.9-r13ALPINE-CVE-2021-30004
Alpine Linux 3.13hostapdFixed2.9-r3ALPINE-CVE-2021-30004
Alpine Linux 3.13wpa_supplicantFixed2.9-r11ALPINE-CVE-2021-30004
Alpine Linux 3.12hostapdFixed2.9-r3ALPINE-CVE-2021-30004
Alpine Linux 3.12wpa_supplicantFixed2.9-r8ALPINE-CVE-2021-30004
Alpine Linux 3.11hostapdFixed2.9-r3ALPINE-CVE-2021-30004
Alpine Linux 3.11wpa_supplicantFixed2.9-r8ALPINE-CVE-2021-30004

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.