{"answers":{"affected":"It affects 11 products.","exploited":"Yes. Attackers have exploited CVE-2021-20022 in the wild since at least 3 Nov 2021, including in ransomware campaigns.","fix":"No fix has been published for CVE-2021-20022 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 17 Nov 2021.","what":"CVE-2021-20022 is a high-severity vulnerability in SonicWall Email Security, published on 9 Apr 2021. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-20022 and fix it if it is affected.\n\nWhat it is: CVE-2021-20022 is a high-severity vulnerability in SonicWall Email Security, published on 9 Apr 2021. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: Yes. Attackers have exploited CVE-2021-20022 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-20022/ (Markdown: https://insights.sbomify.com/CVE-2021-20022/index.md)","id":"CVE-2021-20022","markdown":"https://insights.sbomify.com/CVE-2021-20022/index.md","name":"CVE-2021-20022","record":{"aliases":["GHSA-5f56-r8q7-xv26"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Email Security Appliance","requires_auth":"high_privilege","summary":"A post-authenticated attacker can upload arbitrary files to the SonicWall Email Security server, potentially leading to remote code execution.","user_interaction":"not_required","vuln_class":"file_upload"},"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":7.2,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"}],"description":"SonicWall Email Security version 10.0.9.x contains a vulnerability that allows a post-authenticated attacker to upload an arbitrary file to the remote host.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"exploited"},"has_fix":null,"headline":"SonicWall Email Security Unrestricted Upload of File","id":"CVE-2021-20022","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 Unrestricted Upload of File Vulnerability"},"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"file_upload","year":"2021"},"n_packages":0,"n_references":1,"next":{"headline":"SonicWall Email Security Path Traversal","id":"CVE-2021-20023"},"packages":[],"prev":{"headline":"SonicWall Email Security Improper Privilege Management","id":"CVE-2021-20021"},"products":["Email Security"],"published":"2021-04-09","related":[{"cvss_score":9.8,"headline":"SonicWall Email Security Improper Privilege Management","id":"CVE-2021-20021","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)"}],"ssvc":{"automatable":"yes","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-01","vendors":["SonicWall"]},"summary":"A post-authenticated attacker can upload arbitrary files to the SonicWall Email Security server, potentially leading to remote code execution.","url":"https://insights.sbomify.com/CVE-2021-20022/"}