CVE-2021-30004: wpa_supplicant & hostapd - Cryptographic Forgery
- Cve: CVE-2021-30004
- Name: wpa_supplicant & hostapd - Cryptographic Forgery
- Description: In wpa_supplicant and hostapd 2.9, forging attacks may occur because AlgorithmIdentifier parameters are mishandled in tls/pkcs1.c and tls/x509v3.c.
- Impact: Attackers can perform forging attacks, potentially leading to impersonation or man-in-the-middle attacks.
- Remediation: Update to the latest version of wpa_supplicant and hostapd that addresses this issue.
- Vulnerability impact: man_in_the_middle
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.3
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- Epss score: 0.01637
- Epss percentile: 0.76971
- Assignee: [email protected]
- Published at: 2021-04-02T05:15:13Z
- Age in days: 2062
- Modified at: 2026-07-07T19:16:47Z
- Patch available: yes
- References total: 2
- Products total: 2
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-30004
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: vulnerability type, requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-20 | Improper Input Validation |
References
| Url | Source | Tags |
|---|---|---|
| https://w1.fi/cgit/hostap/commit/?id=a0541334a6394f8237a4393b7372693cd7e96f15 | nvd | Patch, Vendor Advisory |
| https://security.gentoo.org/glsa/202309-16 | nvd |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| w1.fi:hostapd | = 2.9 | no | nvd | /v1/products/w1.fi/hostapd |
| w1.fi:wpa_supplicant | = 2.9 | no | nvd | /v1/products/w1.fi/wpa_supplicant |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts