Skip to content
Fencer Intel
medium 4.3

CVE-2021-30004 json

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

published 5y ago modified 4mo ago also EUVD-2021-16948

cvss
4.3
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.6%
EPSS 1.6% chance of exploitation in 30 days, percentile 76%
public exploits
0
none known

Summary

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

Patch / fix

  • wpa Debian 14, Debian 13, Debian 12 2:2.10-1

debian advisories DEBIAN-CVE-2021-30004

  • wpa_supplicant SLE Module for Basesystem 15 SP2, SLE Micro 5.0 2.9-4.29.1
  • wpa_supplicant SLES for SAP 12 SP5, SLES 12 SP5 2.9-23.12.1

suse advisories SUSE-SU-2021:1166-1SUSE-SU-2021:1125-1

  • hostapd openSUSE Tumbleweed 2.9-6.2
  • wpa_supplicant openSUSE Tumbleweed 2.9-13.4
  • wpa_supplicant openSUSE Leap 15.2 2.9-lp152.8.12.1
  • hostapd Package Hub 15 SP2 2.9-bp152.2.3.1
  • hostapd openSUSE Leap 15.2 2.9-lp152.2.3.1

opensuse advisories openSUSE-SU-2024:10846-1openSUSE-SU-2024:11515-1openSUSE-SU-2021:0563-1openSUSE-SU-2021:0545-1openSUSE-SU-2021:0519-1

  • hostapd Alpine 3.24, Alpine 3.23, Alpine 3.22 +11 more 2.9-r3
  • wpa_supplicant Alpine 3.12, Alpine 3.11 2.9-r8
  • wpa_supplicant Alpine 3.13 2.9-r11
  • wpa_supplicant Alpine 3.24, Alpine 3.23, Alpine 3.22 +8 more 2.9-r13

alpine advisories ALPINE-CVE-2021-30004

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • wpa_supplicant CBL-Mariner 2.0 2.9-4

azure linux advisories AZL-6974

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

  • wpa_supplicant Arch Linux 2:2.10-1
  • hostapd Arch Linux 2.9-5

arch linux advisories AVG-1626AVG-1762

Is CVE-2021-30004 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2021-30004 updated cvss 5.3

wpa_supplicant: mishandled AlgorithmIdentifier parameters may lead to forging attacks

  • Red Hat Enterprise Linux 6 wpa_supplicant Red Hat Enterprise Linux 7 wpa_supplicant Red Hat Enterprise Linux 8 wpa_supplicant Red Hat Enterprise Linux 9 wpa_supplicant
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
4mo ago

Exploit prediction

1.64% chance of exploitation in the next 30 days, higher than 76% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
CISA ADP 3.1 4.3 CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
NVD 3.1 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
CNA 3.1 4.3 CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
NVD 2.0 5.0 AV:N/AC:L/Au:N/C:N/I:P/A:N

Classification

Weakness
  • CWE-20 Improper Input Validation

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.