{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-20048 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2021-20048 yet. Limit exposure of the affected software until one is available.","what":"CVE-2021-20048 is a high-severity memory corruption vulnerability in Sonicwall Sonicos, published on 7 Jan 2022. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-20048 and fix it if it is affected.\n\nWhat it is: CVE-2021-20048 is a high-severity memory corruption vulnerability in Sonicwall Sonicos, published on 7 Jan 2022. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2021-20048 in the wild and no public exploit code.\n\nAffected product: Sonicwall Sonicos. 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-20048/ (Markdown: https://insights.sbomify.com/CVE-2021-20048/index.md)","id":"CVE-2021-20048","markdown":"https://insights.sbomify.com/CVE-2021-20048/index.md","name":"CVE-2021-20048","record":{"aliases":["GHSA-248v-73qf-wh7x"],"analysis":{"component_type":"network_device","fix_type":"patch","impacts":["denial_of_service","code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"SonicWall firewall","requires_auth":"low_privilege","summary":"A remote authenticated attacker can trigger a stack-based buffer overflow in SonicOS, causing denial of service or potential code execution.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"sonicwall","cpe":[{"product":"sonicos","vendor":"sonicwall"}],"cvss":{"score":8.8,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"},{"id":"CWE-121","name":"Stack-based Buffer Overflow"}],"description":"A Stack-based buffer overflow in the SonicOS SessionID HTTP response header allows a remote authenticated attacker to cause Denial of Service (DoS) and potentially results in code execution in the firewall. This vulnerability affected SonicOS Gen 5, Gen 6 and Gen 7 firmware versions.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Memory corruption in SonicOS","id":"CVE-2021-20048","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"sonicwall:sonicos","products":["sonicwall:sonicos"],"type":"memory_corruption","year":"2021"},"n_packages":0,"n_references":1,"next":{"headline":"Information disclosure in SonicWall SMA100","id":"CVE-2021-20049"},"packages":[],"prev":{"headline":"Other in SonicWall Global VPN Client","id":"CVE-2021-20047"},"products":["SonicOS"],"published":"2022-01-07","related":[{"cvss_score":9.8,"headline":"SonicWall SonicOS Buffer Overflow","id":"CVE-2020-5135","kev_date_added":"2022-03-15","published":"2020-10-12"},{"cvss_score":9.3,"headline":"SonicWall SonicOS Improper Access Control","id":"CVE-2024-40766","kev_date_added":"2024-09-09","published":"2024-08-23"},{"cvss_score":8.2,"headline":"SonicWall SonicOS SSLVPN Improper Authentication","id":"CVE-2024-53704","kev_date_added":"2025-02-18","published":"2025-01-09"},{"cvss_score":9.8,"headline":"Denial of service in SonicOS","id":"CVE-2025-40600","kev_date_added":null,"published":"2025-07-29"},{"cvss_score":9.8,"headline":"Auth bypass in SonicOS","id":"CVE-2024-22394","kev_date_added":null,"published":"2024-02-08"},{"cvss_score":9.8,"headline":"Memory corruption in SonicOS","id":"CVE-2022-22274","kev_date_added":null,"published":"2022-03-25"},{"cvss_score":9.8,"headline":"Missing authorization in SonicOS","id":"CVE-2019-7475","kev_date_added":null,"published":"2019-04-02"}],"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":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["SonicWall"]},"summary":"A remote authenticated attacker can trigger a stack-based buffer overflow in SonicOS, causing denial of service or potential code execution.","url":"https://insights.sbomify.com/CVE-2021-20048/"}