{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2020-22218 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2020-22218 is a high-severity memory corruption vulnerability in n/a, published on 22 Aug 2023. 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-22218 and fix it if it is affected.\n\nWhat it is: CVE-2020-22218 is a high-severity memory corruption vulnerability in n/a, published on 22 Aug 2023. 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-22218 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-2020-22218/ (Markdown: https://insights.sbomify.com/CVE-2020-22218/index.md)","id":"CVE-2020-22218","markdown":"https://insights.sbomify.com/CVE-2020-22218/index.md","name":"CVE-2020-22218","record":{"aliases":["AZL-28594","CLSA-2023-1695835334","CLSA-2023-1695835423","CLSA-2023-1695835793","DEBIAN-CVE-2020-22218","GHSA-4wvm-v4fc-prp5","JLSEC-2025-189","RHSA-2023:5615","SUSE-SU-2023:3555-1","SUSE-SU-2023:3738-1","UBUNTU-CVE-2020-22218","USN-6371-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"libssh2 library","requires_auth":"none","summary":"Attackers can trigger out-of-bounds memory access in libssh2, potentially leading to code execution or denial of service.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"libssh2","vendor":"libssh2"}],"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"}],"description":"An issue was discovered in function _libssh2_packet_add in libssh2 1.10.0 allows attackers to access out of bounds memory.","ecosystems":["Red Hat:enterprise_linux:7::client","Red Hat:enterprise_linux:7::computenode","Red Hat:enterprise_linux:7::server","Red Hat:enterprise_linux:7::workstation","SUSE:Enterprise Storage 7","SUSE:Enterprise Storage 7.1","SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","SUSE:Linux Enterprise Micro 5.1","SUSE:Linux Enterprise Micro 5.2","SUSE:Linux Enterprise Micro 5.3","SUSE:Linux Enterprise Micro 5.4","SUSE:Linux Enterprise Module for Basesystem 15 SP4","SUSE:Linux Enterprise Module for Basesystem 15 SP5","SUSE:Linux Enterprise Server 12 SP5","SUSE:Linux Enterprise Server 15 SP1-LTSS","SUSE:Linux Enterprise Server 15 SP2-LTSS","SUSE:Linux Enterprise Server 15 SP3-LTSS","SUSE:Linux Enterprise Server for SAP Applications 12 SP5","SUSE:Linux Enterprise Server for SAP Applications 15 SP1","SUSE:Linux Enterprise Server for SAP Applications 15 SP2","SUSE:Linux Enterprise Server for SAP Applications 15 SP3","SUSE:Linux Enterprise Software Development Kit 12 SP5","SUSE:Manager Proxy 4.2","SUSE:Manager Server 4.2","openSUSE:Leap 15.4","openSUSE:Leap 15.5"],"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":"Memory corruption in n/a","id":"CVE-2020-22218","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2020"},"n_packages":40,"n_references":3,"next":{"headline":"Memory corruption in n/a","id":"CVE-2020-22219"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.8.0-4.el7_9.1"],"introduced":["0"],"last_affected":[],"package":"libssh2","purl":"pkg:rpm/redhat/libssh2","source":"RHSA-2023:5615"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.8.0-4.el7_9.1"],"introduced":["0"],"last_affected":[],"package":"libssh2-debuginfo","purl":"pkg:rpm/redhat/libssh2-debuginfo","source":"RHSA-2023:5615"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.8.0-4.el7_9.1"],"introduced":["0"],"last_affected":[],"package":"libssh2-devel","purl":"pkg:rpm/redhat/libssh2-devel","source":"RHSA-2023:5615"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.8.0-4.el7_9.1"],"introduced":["0"],"last_affected":[],"package":"libssh2-docs","purl":"pkg:rpm/redhat/libssh2-docs","source":"RHSA-2023:5615"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:1.8.0-4.el7_9.1"],"introduced":["0"],"last_affected":[],"package":"libssh2-debuginfo","purl":"pkg:rpm/redhat/libssh2-debuginfo","source":"RHSA-2023:5615"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:1.8.0-4.el7_9.1"],"introduced":["0"],"last_affected":[],"package":"libssh2-devel","purl":"pkg:rpm/redhat/libssh2-devel","source":"RHSA-2023:5615"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:1.8.0-4.el7_9.1"],"introduced":["0"],"last_affected":[],"package":"libssh2-docs","purl":"pkg:rpm/redhat/libssh2-docs","source":"RHSA-2023:5615"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:1.8.0-4.el7_9.1"],"introduced":["0"],"last_affected":[],"package":"libssh2","purl":"pkg:rpm/redhat/libssh2","source":"RHSA-2023:5615"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:1.8.0-4.el7_9.1"],"introduced":["0"],"last_affected":[],"package":"libssh2-debuginfo","purl":"pkg:rpm/redhat/libssh2-debuginfo","source":"RHSA-2023:5615"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:1.8.0-4.el7_9.1"],"introduced":["0"],"last_affected":[],"package":"libssh2-devel","purl":"pkg:rpm/redhat/libssh2-devel","source":"RHSA-2023:5615"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:1.8.0-4.el7_9.1"],"introduced":["0"],"last_affected":[],"package":"libssh2-docs","purl":"pkg:rpm/redhat/libssh2-docs","source":"RHSA-2023:5615"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:1.8.0-4.el7_9.1"],"introduced":["0"],"last_affected":[],"package":"libssh2","purl":"pkg:rpm/redhat/libssh2","source":"RHSA-2023:5615"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:1.8.0-4.el7_9.1"],"introduced":["0"],"last_affected":[],"package":"libssh2-debuginfo","purl":"pkg:rpm/redhat/libssh2-debuginfo","source":"RHSA-2023:5615"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:1.8.0-4.el7_9.1"],"introduced":["0"],"last_affected":[],"package":"libssh2-devel","purl":"pkg:rpm/redhat/libssh2-devel","source":"RHSA-2023:5615"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:1.8.0-4.el7_9.1"],"introduced":["0"],"last_affected":[],"package":"libssh2-docs","purl":"pkg:rpm/redhat/libssh2-docs","source":"RHSA-2023:5615"},{"ecosystem":"SUSE:Enterprise Storage 7","fixed":["1.9.0-150000.4.16.1"],"introduced":["0"],"last_affected":[],"package":"libssh2_org","purl":"pkg:rpm/suse/libssh2_org\u0026distro=SUSE%20Enterprise%20Storage%207","source":"SUSE-SU-2023:3555-1"},{"ecosystem":"SUSE:Enterprise Storage 7.1","fixed":["1.9.0-150000.4.16.1"],"introduced":["0"],"last_affected":[],"package":"libssh2_org","purl":"pkg:rpm/suse/libssh2_org\u0026distro=SUSE%20Enterprise%20Storage%207.1","source":"SUSE-SU-2023:3555-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","fixed":["1.9.0-150000.4.16.1"],"introduced":["0"],"last_affected":[],"package":"libssh2_org","purl":"pkg:rpm/suse/libssh2_org\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-LTSS","source":"SUSE-SU-2023:3555-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","fixed":["1.9.0-150000.4.16.1"],"introduced":["0"],"last_affected":[],"package":"libssh2_org","purl":"pkg:rpm/suse/libssh2_org\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-LTSS","source":"SUSE-SU-2023:3555-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS","fixed":["1.9.0-150000.4.16.1"],"introduced":["0"],"last_affected":[],"package":"libssh2_org","purl":"pkg:rpm/suse/libssh2_org\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-ESPOS","source":"SUSE-SU-2023:3555-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","fixed":["1.9.0-150000.4.16.1"],"introduced":["0"],"last_affected":[],"package":"libssh2_org","purl":"pkg:rpm/suse/libssh2_org\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-LTSS","source":"SUSE-SU-2023:3555-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.1","fixed":["1.9.0-150000.4.16.1"],"introduced":["0"],"last_affected":[],"package":"libssh2_org","purl":"pkg:rpm/suse/libssh2_org\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.1","source":"SUSE-SU-2023:3555-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.2","fixed":["1.9.0-150000.4.16.1"],"introduced":["0"],"last_affected":[],"package":"libssh2_org","purl":"pkg:rpm/suse/libssh2_org\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.2","source":"SUSE-SU-2023:3555-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.3","fixed":["1.9.0-150000.4.16.1"],"introduced":["0"],"last_affected":[],"package":"libssh2_org","purl":"pkg:rpm/suse/libssh2_org\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.3","source":"SUSE-SU-2023:3555-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.4","fixed":["1.9.0-150000.4.16.1"],"introduced":["0"],"last_affected":[],"package":"libssh2_org","purl":"pkg:rpm/suse/libssh2_org\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.4","source":"SUSE-SU-2023:3555-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP4","fixed":["1.9.0-150000.4.16.1"],"introduced":["0"],"last_affected":[],"package":"libssh2_org","purl":"pkg:rpm/suse/libssh2_org\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP4","source":"SUSE-SU-2023:3555-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP5","fixed":["1.9.0-150000.4.16.1"],"introduced":["0"],"last_affected":[],"package":"libssh2_org","purl":"pkg:rpm/suse/libssh2_org\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP5","source":"SUSE-SU-2023:3555-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP5","fixed":["1.4.3-26.5.1"],"introduced":["0"],"last_affected":[],"package":"libssh2_org","purl":"pkg:rpm/suse/libssh2_org\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5","source":"SUSE-SU-2023:3738-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP1-LTSS","fixed":["1.9.0-150000.4.16.1"],"introduced":["0"],"last_affected":[],"package":"libssh2_org","purl":"pkg:rpm/suse/libssh2_org\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-LTSS","source":"SUSE-SU-2023:3555-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP2-LTSS","fixed":["1.9.0-150000.4.16.1"],"introduced":["0"],"last_affected":[],"package":"libssh2_org","purl":"pkg:rpm/suse/libssh2_org\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP2-LTSS","source":"SUSE-SU-2023:3555-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP3-LTSS","fixed":["1.9.0-150000.4.16.1"],"introduced":["0"],"last_affected":[],"package":"libssh2_org","purl":"pkg:rpm/suse/libssh2_org\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP3-LTSS","source":"SUSE-SU-2023:3555-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP5","fixed":["1.4.3-26.5.1"],"introduced":["0"],"last_affected":[],"package":"libssh2_org","purl":"pkg:rpm/suse/libssh2_org\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5","source":"SUSE-SU-2023:3738-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP1","fixed":["1.9.0-150000.4.16.1"],"introduced":["0"],"last_affected":[],"package":"libssh2_org","purl":"pkg:rpm/suse/libssh2_org\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP1","source":"SUSE-SU-2023:3555-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP2","fixed":["1.9.0-150000.4.16.1"],"introduced":["0"],"last_affected":[],"package":"libssh2_org","purl":"pkg:rpm/suse/libssh2_org\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP2","source":"SUSE-SU-2023:3555-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP3","fixed":["1.9.0-150000.4.16.1"],"introduced":["0"],"last_affected":[],"package":"libssh2_org","purl":"pkg:rpm/suse/libssh2_org\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP3","source":"SUSE-SU-2023:3555-1"},{"ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP5","fixed":["1.4.3-26.5.1"],"introduced":["0"],"last_affected":[],"package":"libssh2_org","purl":"pkg:rpm/suse/libssh2_org\u0026distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP5","source":"SUSE-SU-2023:3738-1"},{"ecosystem":"SUSE:Manager Proxy 4.2","fixed":["1.9.0-150000.4.16.1"],"introduced":["0"],"last_affected":[],"package":"libssh2_org","purl":"pkg:rpm/suse/libssh2_org\u0026distro=SUSE%20Manager%20Proxy%204.2","source":"SUSE-SU-2023:3555-1"},{"ecosystem":"SUSE:Manager Server 4.2","fixed":["1.9.0-150000.4.16.1"],"introduced":["0"],"last_affected":[],"package":"libssh2_org","purl":"pkg:rpm/suse/libssh2_org\u0026distro=SUSE%20Manager%20Server%204.2","source":"SUSE-SU-2023:3555-1"},{"ecosystem":"openSUSE:Leap 15.4","fixed":["1.9.0-150000.4.16.1"],"introduced":["0"],"last_affected":[],"package":"libssh2_org","purl":"pkg:rpm/opensuse/libssh2_org\u0026distro=openSUSE%20Leap%2015.4","source":"SUSE-SU-2023:3555-1"},{"ecosystem":"openSUSE:Leap 15.5","fixed":["1.9.0-150000.4.16.1"],"introduced":["0"],"last_affected":[],"package":"libssh2_org","purl":"pkg:rpm/opensuse/libssh2_org\u0026distro=openSUSE%20Leap%2015.5","source":"SUSE-SU-2023:3555-1"}],"prev":{"headline":"Memory corruption in n/a","id":"CVE-2020-22217"},"products":["n/a"],"published":"2023-08-22","related":[{"cvss_score":9.2,"headline":"libssh2 - Out-of-Bounds Write via Unchecked packet_length in transport.c","id":"CVE-2026-55200","kev_date_added":null,"published":"2026-06-17"},{"cvss_score":8.7,"headline":"libssh2 Double-Free Heap Corruption via sftp_open()","id":"CVE-2026-66032","kev_date_added":null,"published":"2026-07-24"},{"cvss_score":8.7,"headline":"libssh2 Integer Underflow DoS via AES-GCM Cipher Negotiation","id":"CVE-2026-66033","kev_date_added":null,"published":"2026-07-24"},{"cvss_score":8.3,"headline":"libssh2 - Integer Overflow in publickey Subsystem Attribute Allocation","id":"CVE-2026-58050","kev_date_added":null,"published":"2026-06-28"},{"cvss_score":8.3,"headline":"libssh2 - Free of Uninitialized Pointer in publickey List Cleanup","id":"CVE-2026-58051","kev_date_added":null,"published":"2026-06-28"},{"cvss_score":8.3,"headline":"libssh2 - Heap Buffer Over-read via sftp_symlink() in sftp.c","id":"CVE-2025-15661","kev_date_added":null,"published":"2026-06-18"},{"cvss_score":8.2,"headline":"libssh2 - Pre-Authentication DoS via SSH_MSG_EXT_INFO Handler","id":"CVE-2026-55199","kev_date_added":null,"published":"2026-06-17"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"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":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-14","vendors":["n/a"]},"summary":"Attackers can trigger out-of-bounds memory access in libssh2, potentially leading to code execution or denial of service.","url":"https://insights.sbomify.com/CVE-2020-22218/"}