cve.bz

CVE-2021-30004 w1.fi: Improper Input Validation

5.3 mediumEPSS 1.6%Fix available

Medium (5.3) in w1.fi. EPSS 1.6% estimated probability of exploitation activity in the next 30 days.

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

Severity

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
EPSS
1.6% (unchanged from 1.6% a week ago; 1.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 77th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-07-07. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-20 Improper Input Validation
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-30004 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-30004?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-30004?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-30004 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
w1.fi:hostapd2.9
w1.fi:wpa_supplicant2.9

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14wpa2:2.10-1DEBIAN-CVE-2021-30004
SUSELinux Enterprise Micro 5.0, Linux Enterprise Module for Basesystem 15 SP2wpa_supplicant2.9-4.29.1SUSE-SU-2021:1166-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5wpa_supplicant2.9-23.12.1SUSE-SU-2021:1125-1
SUSEPackage Hub 15 SP2hostapd2.9-bp152.2.3.1openSUSE-SU-2021:0545-1
openSUSELeap 15.2hostapd2.9-lp152.2.3.1openSUSE-SU-2021:0519-1
openSUSELeap 15.2wpa_supplicant2.9-lp152.8.12.1openSUSE-SU-2021:0563-1
openSUSETumbleweedhostapd2.9-6.2openSUSE-SU-2024:10846-1
openSUSETumbleweedwpa_supplicant2.9-13.4openSUSE-SU-2024:11515-1
Alpinev3.11, v3.12wpa_supplicant2.9-r8ALPINE-CVE-2021-30004
Alpinev3.11, v3.12, v3.13 and 11 morehostapd2.9-r3ALPINE-CVE-2021-30004
Alpinev3.13wpa_supplicant2.9-r11ALPINE-CVE-2021-30004
Alpinev3.14, v3.15, v3.16 and 8 morewpa_supplicant2.9-r13ALPINE-CVE-2021-30004
Azure Linux2wpa_supplicant2.9-4AZL-6974

From the distributions' data via OSV.dev: the Debian Security Tracker; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This issue only affects the "internal" TLS implementation. The versions of `wpa_supplicant` as shipped with Red Hat Enterprise Linux 6, 7, and 8 are not affected by this flaw, as they use the OpenSSL implementation by default. More specifically, the `CONFIG_TLS=internal` flag is not set at compile time.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6wpa_supplicantNot affected
Red Hat Enterprise Linux 7wpa_supplicantNot affected
Red Hat Enterprise Linux 8wpa_supplicantNot affected
Red Hat Enterprise Linux 9wpa_supplicantNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-30004.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON