{"answers":{"affected":"It affects 11 products.","exploited":"Yes. Attackers have exploited CVE-2021-20021 in the wild since at least 3 Nov 2021, including in ransomware campaigns.","fix":"No fix has been published for CVE-2021-20021 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 17 Nov 2021.","what":"CVE-2021-20021 is a critical vulnerability in SonicWall Email Security, published on 9 Apr 2021. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-20021 and fix it if it is affected.\n\nWhat it is: CVE-2021-20021 is a critical vulnerability in SonicWall Email Security, published on 9 Apr 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: Yes. Attackers have exploited CVE-2021-20021 in the wild since at least 3 Nov 2021, including in ransomware campaigns.\n\nAffected product: SonicWall Email Security. 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-20021/ (Markdown: https://insights.sbomify.com/CVE-2021-20021/index.md)","id":"CVE-2021-20021","markdown":"https://insights.sbomify.com/CVE-2021-20021/index.md","name":"CVE-2021-20021","record":{"aliases":["GHSA-qwrf-wf47-mf5j"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["privilege_escalation","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"SonicWall Email Security","requires_auth":"none","summary":"Attackers can create administrative accounts via crafted HTTP requests, leading to full system compromise on SonicWall Email Security appliances.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"sonicwall","cpe":[{"product":"email_security","vendor":"sonicwall"},{"product":"email_security_appliance_3300_firmware","vendor":"sonicwall"},{"product":"email_security_appliance_4300_firmware","vendor":"sonicwall"},{"product":"email_security_appliance_5000_firmware","vendor":"sonicwall"},{"product":"email_security_appliance_5050_firmware","vendor":"sonicwall"},{"product":"email_security_appliance_7000_firmware","vendor":"sonicwall"},{"product":"email_security_appliance_7050_firmware","vendor":"sonicwall"},{"product":"email_security_appliance_8300_firmware","vendor":"sonicwall"},{"product":"email_security_appliance_9000_firmware","vendor":"sonicwall"},{"product":"email_security_virtual_appliance","vendor":"sonicwall"},{"product":"hosted_email_security","vendor":"sonicwall"}],"cvss":{"score":9.8,"severity":"critical","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-269","name":"Improper Privilege Management"}],"description":"A vulnerability in the SonicWall Email Security version 10.0.9.x allows an attacker to create an administrative account by sending a crafted HTTP request to the remote host.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2023-09-07","github_poc":1,"max_poc_stars":2,"metasploit":0,"nuclei":1,"refs":[{"date":"2023-09-07T16:17:41Z","kind":"github_poc","ref":"https://github.com/SUPRAAA-1337/CVE-2021-20021","stars":2,"title":null},{"date":null,"kind":"nuclei","ref":"http/cves/2021/CVE-2021-20021.yaml","stars":null,"title":"SonicWall Email Security \u003c= 10.0.9.x - Unauthenticated Admin Account Creation"}],"tier":"exploited"},"has_fix":null,"headline":"SonicWall Email Security Improper Privilege Management","id":"CVE-2021-20021","indexable":true,"kev":{"dateAdded":"2021-11-03","dueDate":"2021-11-17","knownRansomwareCampaignUse":"Known","product":"SonicWall Email Security","requiredAction":"Apply updates per vendor instructions.","vendorProject":"SonicWall","vulnerabilityName":"SonicWall Email Security Improper Privilege Management Vulnerability"},"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"privilege_escalation","year":"2021"},"n_packages":0,"n_references":1,"next":{"headline":"SonicWall Email Security Unrestricted Upload of File","id":"CVE-2021-20022"},"packages":[],"prev":{"headline":"Privilege escalation in Global Management System (GMS)","id":"CVE-2021-20020"},"products":["Email Security"],"published":"2021-04-09","related":[{"cvss_score":7.2,"headline":"SonicWall Email Security Unrestricted Upload of File","id":"CVE-2021-20022","kev_date_added":"2021-11-03","published":"2021-04-09"},{"cvss_score":4.9,"headline":"SonicWall Email Security Path Traversal","id":"CVE-2021-20023","kev_date_added":"2021-11-03","published":"2021-04-20"},{"cvss_score":5.3,"headline":"Information disclosure in SonicWall Email Security","id":"CVE-2023-0655","kev_date_added":null,"published":"2023-02-14"},{"cvss_score":4.8,"headline":"Cross-site scripting in Email Security","id":"CVE-2026-3468","kev_date_added":null,"published":"2026-03-31"},{"cvss_score":3.8,"headline":"Other in Email Security","id":"CVE-2026-3470","kev_date_added":null,"published":"2026-03-31"},{"cvss_score":2.7,"headline":"Denial of service in Email Security","id":"CVE-2026-3469","kev_date_added":null,"published":"2026-03-31"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"open","licence":"CC0 1.0","name":"CISA KEV"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-08-12","vendors":["SonicWall"]},"summary":"Attackers can create administrative accounts via crafted HTTP requests, leading to full system compromise on SonicWall Email Security appliances.","url":"https://insights.sbomify.com/CVE-2021-20021/"}