{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2021-30004 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2021-30004 is a medium-severity vulnerability in n/a, published on 2 Apr 2021. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-30004 and fix it if it is affected.\n\nWhat it is: CVE-2021-30004 is a medium-severity vulnerability in n/a, published on 2 Apr 2021. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2021-30004 in the wild and no public exploit code.\n\nAffected product: n/a. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2021-30004/ (Markdown: https://insights.sbomify.com/CVE-2021-30004/index.md)","id":"CVE-2021-30004","markdown":"https://insights.sbomify.com/CVE-2021-30004/index.md","name":"CVE-2021-30004","record":{"aliases":["ALPINE-CVE-2021-30004","AZL-6974","DEBIAN-CVE-2021-30004","GHSA-mwxw-68wg-34jm","MGASA-2021-0254","SUSE-SU-2021:1125-1","SUSE-SU-2021:1166-1","openSUSE-SU-2021:0563-1"],"analysis":{"component_type":"network_device","fix_type":"patch","impacts":["security_bypass"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"WPA supplicant","requires_auth":"none","summary":"Attackers can forge attacks due to mishandled AlgorithmIdentifier parameters in wpa_supplicant and hostapd, bypassing security checks.","user_interaction":"not_required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"hostapd","vendor":"w1.fi"},{"product":"wpa_supplicant","vendor":"w1.fi"}],"cvss":{"score":4.3,"severity":"medium","source":"cisa-adp","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"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.","ecosystems":["SUSE:Linux Enterprise Micro 5.0","SUSE:Linux Enterprise Module for Basesystem 15 SP2","SUSE:Linux Enterprise Server 12 SP5","SUSE:Linux Enterprise Server for SAP Applications 12 SP5","openSUSE:Leap 15.2"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Other in n/a","id":"CVE-2021-30004","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"other","year":"2021"},"n_packages":5,"n_references":2,"next":{"headline":"Code injection in n/a","id":"CVE-2021-30005"},"packages":[{"ecosystem":"SUSE:Linux Enterprise Micro 5.0","fixed":["2.9-4.29.1"],"introduced":["0"],"last_affected":[],"package":"wpa_supplicant","purl":"pkg:rpm/suse/wpa_supplicant\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.0","source":"SUSE-SU-2021:1166-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP2","fixed":["2.9-4.29.1"],"introduced":["0"],"last_affected":[],"package":"wpa_supplicant","purl":"pkg:rpm/suse/wpa_supplicant\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP2","source":"SUSE-SU-2021:1166-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP5","fixed":["2.9-23.12.1"],"introduced":["0"],"last_affected":[],"package":"wpa_supplicant","purl":"pkg:rpm/suse/wpa_supplicant\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5","source":"SUSE-SU-2021:1125-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP5","fixed":["2.9-23.12.1"],"introduced":["0"],"last_affected":[],"package":"wpa_supplicant","purl":"pkg:rpm/suse/wpa_supplicant\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5","source":"SUSE-SU-2021:1125-1"},{"ecosystem":"openSUSE:Leap 15.2","fixed":["2.9-lp152.8.12.1"],"introduced":["0"],"last_affected":[],"package":"wpa_supplicant","purl":"pkg:rpm/opensuse/wpa_supplicant\u0026distro=openSUSE%20Leap%2015.2","source":"openSUSE-SU-2021:0563-1"}],"prev":{"headline":"Cross-site scripting in n/a","id":"CVE-2021-30003"},"products":["n/a"],"published":"2021-04-02","related":[{"cvss_score":7.5,"headline":"Weak cryptography in n/a","id":"CVE-2016-10743","kev_date_added":null,"published":"2019-03-23"},{"cvss_score":7.4,"headline":"Denial of service in W1.f1","id":"CVE-2019-5061","kev_date_added":null,"published":"2019-12-12"},{"cvss_score":7.4,"headline":"Denial of service in W1.f1","id":"CVE-2019-5062","kev_date_added":null,"published":"2019-12-12"},{"cvss_score":6.5,"headline":"Memory corruption in hostapd","id":"CVE-2026-58374","kev_date_added":null,"published":"2026-06-30"},{"cvss_score":6.5,"headline":"Other in n/a","id":"CVE-2022-37660","kev_date_added":null,"published":"2025-02-11"},{"cvss_score":5.9,"headline":"Null dereference in n/a","id":"CVE-2019-11555","kev_date_added":null,"published":"2019-04-26"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-07-07","vendors":["n/a"]},"summary":"Attackers can forge attacks due to mishandled AlgorithmIdentifier parameters in wpa_supplicant and hostapd, bypassing security checks.","url":"https://insights.sbomify.com/CVE-2021-30004/"}