{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2020-5138 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2020-5138 yet. Limit exposure of the affected software until one is available.","what":"CVE-2020-5138 is a high-severity memory corruption vulnerability in Sonicwall Sonicos, published on 12 Oct 2020. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2020-5138 and fix it if it is affected.\n\nWhat it is: CVE-2020-5138 is a high-severity memory corruption vulnerability in Sonicwall Sonicos, published on 12 Oct 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2020-5138 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-2020-5138/ (Markdown: https://insights.sbomify.com/CVE-2020-5138/index.md)","id":"CVE-2020-5138","markdown":"https://insights.sbomify.com/CVE-2020-5138/index.md","name":"CVE-2020-5138","record":{"aliases":["GHSA-f685-7rhr-28cx"],"analysis":{"component_type":"network_device","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"SonicWall firewall","requires_auth":"none","summary":"A heap overflow in SonicOS allows remote unauthenticated attackers to crash the SSLVPN service, causing denial of service.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"sonicwall","cpe":[{"product":"sonicos","vendor":"sonicwall"},{"product":"sonicosv","vendor":"sonicwall"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"},{"id":"CWE-122","name":"Heap-based Buffer Overflow"}],"description":"A Heap Overflow vulnerability in the SonicOS allows a remote unauthenticated attacker to cause Denial of Service (DoS) on the firewall SSLVPN service and leads to SonicOS crash. This vulnerability affected SonicOS Gen 5 version 5.9.1.7, 5.9.1.13, Gen 6 version 6.5.4.7, 6.5.1.12, 6.0.5.3, SonicOSv 6.5.4.v and Gen 7 version SonicOS 7.0.0.0.","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-2020-5138","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"sonicwall:sonicos","products":["sonicwall:sonicos"],"type":"memory_corruption","year":"2020"},"n_packages":0,"n_references":1,"next":{"headline":"Null dereference in SonicOS","id":"CVE-2020-5139"},"packages":[],"prev":{"headline":"Memory corruption in SonicOS","id":"CVE-2020-5137"},"products":["SonicOS"],"published":"2020-10-12","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-04","vendors":["SonicWall"]},"summary":"A heap overflow in SonicOS allows remote unauthenticated attackers to crash the SSLVPN service, causing denial of service.","url":"https://insights.sbomify.com/CVE-2020-5138/"}