{"answers":{"affected":"11 open source packages ship an affected version, including paramiko. It affects 11 products.","exploited":"There is no known exploitation of CVE-2018-1000805 in the wild and no public exploit code.","fix":"Upgrade paramiko to a fixed version for your release line: 2.0.9, 2.1.6, 2.2.4 or 2.3.3.","what":"CVE-2018-1000805 is a high-severity authentication bypass vulnerability in Canonical Ubuntu Linux, published on 8 Oct 2018. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2018-1000805 and fix it if it is affected.\n\nWhat it is: CVE-2018-1000805 is a high-severity authentication bypass vulnerability in Canonical Ubuntu Linux, published on 8 Oct 2018. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2018-1000805 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- paramiko (PyPI): affected from 1.5.1; fixed in 2.0.9\n- paramiko (PyPI): affected from 1.5.1; fixed in 2.0.9\n- paramiko (PyPI): affected from 1.5.1; fixed in 2.0.9\n- paramiko (PyPI): affected from 2.1.0; fixed in 2.1.6\n- paramiko (PyPI): affected from 2.1.0; fixed in 2.1.6\n- paramiko (PyPI): affected from 2.2.0; fixed in 2.2.4\n- paramiko (PyPI): affected from 2.2.0; fixed in 2.2.4\n- paramiko (PyPI): affected from 2.3.0; fixed in 2.3.3\n- paramiko (PyPI): affected from 2.3.0; fixed in 2.3.3\n- paramiko (PyPI): affected from 2.4.0; fixed in 2.4.2\n- paramiko (PyPI): affected from 2.4.0; fixed in 2.4.2\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-2018-1000805/ (Markdown: https://insights.sbomify.com/CVE-2018-1000805/index.md)","id":"CVE-2018-1000805","markdown":"https://insights.sbomify.com/CVE-2018-1000805/index.md","name":"CVE-2018-1000805","record":{"aliases":["ALPINE-CVE-2018-1000805","DEBIAN-CVE-2018-1000805","GHSA-f2j6-wrhh-v25m","OESA-2021-1069","PYSEC-2018-69","RHBA-2018:3497","RHSA-2018:3347","RHSA-2018:3406","SUSE-SU-2019:0174-1","SUSE-SU-2019:0396-1","SUSE-SU-2019:0481-1","SUSE-SU-2020:1274-1","SUSE-SU-2021:0038-1","SUSE-SU-2022:3730-1","UBUNTU-CVE-2018-1000805","USN-3796-1","openSUSE-SU-2019:0129-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Python SSH library","requires_auth":"low_privilege","summary":"An incorrect access control flaw in Paramiko's SSH server allows remote attackers to execute arbitrary code via network connectivity.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"ubuntu_linux","vendor":"canonical"},{"product":"debian_linux","vendor":"debian"},{"product":"paramiko","vendor":"paramiko"},{"product":"ansible_tower","vendor":"redhat"},{"product":"enterprise_linux_desktop","vendor":"redhat"},{"product":"enterprise_linux_server","vendor":"redhat"},{"product":"enterprise_linux_server_aus","vendor":"redhat"},{"product":"enterprise_linux_server_eus","vendor":"redhat"},{"product":"enterprise_linux_server_tus","vendor":"redhat"},{"product":"enterprise_linux_workstation","vendor":"redhat"},{"product":"virtualization_host","vendor":"redhat"}],"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-863","name":"Incorrect Authorization"}],"description":"Paramiko version 2.4.1, 2.3.2, 2.2.3, 2.1.5, 2.0.8, 1.18.5, 1.17.6 contains a Incorrect Access Control vulnerability in SSH server that can result in RCE. This attack appear to be exploitable via network connectivity.","ecosystems":["PyPI","Red Hat:enterprise_linux:6::client","Red Hat:enterprise_linux:6::computenode","Red Hat:enterprise_linux:6::server","Red Hat:enterprise_linux:6::workstation","Red Hat:enterprise_linux:7::client","Red Hat:enterprise_linux:7::computenode","Red Hat:enterprise_linux:7::hypervisor","Red Hat:enterprise_linux:7::server","Red Hat:enterprise_linux:7::workstation","Red Hat:rhel_aus:6.4::server","Red Hat:rhel_aus:6.5::server","Red Hat:rhel_aus:6.6::server","Red Hat:rhel_eus:6.7::computenode","Red Hat:rhel_eus:6.7::server","Red Hat:rhel_tus:6.6::server","SUSE:Enterprise Storage 4","SUSE:Enterprise Storage 5","SUSE:Enterprise Storage 6","SUSE:Enterprise Storage 7","SUSE:HPE Helion OpenStack 8","SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","SUSE:Linux Enterprise Module for Basesystem 15","SUSE:Linux Enterprise Module for Basesystem 15 SP3","SUSE:Linux Enterprise Module for Basesystem 15 SP4","SUSE:Linux Enterprise Module for Public Cloud 12","SUSE:Linux Enterprise Module for Public Cloud 15","SUSE:Linux Enterprise Module for Python 2 15 SP3","SUSE:Linux Enterprise Server 15 SP1-BCL","SUSE:Linux Enterprise Server 15 SP1-LTSS","SUSE:Linux Enterprise Server 15 SP2-BCL","SUSE:Linux Enterprise Server 15 SP2-LTSS","SUSE:Linux Enterprise Server for SAP Applications 15 SP1","SUSE:Linux Enterprise Server for SAP Applications 15 SP2","SUSE:Manager Proxy 4.1","SUSE:Manager Retail Branch Server 4.1","SUSE:Manager Server 4.1","SUSE:OpenStack Cloud 7","SUSE:OpenStack Cloud 8","SUSE:OpenStack Cloud Crowbar 8","openSUSE:Leap 15.3","openSUSE:Leap 15.4"],"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":"Paramiko Authentication Bypass vulnerability","id":"CVE-2018-1000805","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":"canonical:ubuntu_linux","products":["canonical:ubuntu_linux","debian:debian_linux","redhat:ansible_tower","redhat:enterprise_linux_desktop","redhat:enterprise_linux_server","redhat:enterprise_linux_server_aus","redhat:enterprise_linux_server_eus","redhat:enterprise_linux_server_tus","redhat:enterprise_linux_workstation","redhat:virtualization_host"],"type":"auth_bypass","year":"2018"},"n_packages":63,"n_references":11,"next":{"headline":"PyOpenSSL Use-After-Free vulnerability","id":"CVE-2018-1000807"},"packages":[{"ecosystem":"PyPI","fixed":["2.0.9"],"introduced":["1.5.1"],"last_affected":[],"package":"paramiko","purl":null,"source":"GHSA-f2j6-wrhh-v25m"},{"ecosystem":"PyPI","fixed":["2.0.9"],"introduced":["1.5.1"],"last_affected":[],"package":"paramiko","purl":"pkg:pypi/paramiko","source":"GHSA-f2j6-wrhh-v25m"},{"ecosystem":"PyPI","fixed":["2.0.9"],"introduced":["1.5.1"],"last_affected":[],"package":"paramiko","purl":"pkg:pypi/paramiko","source":"PYSEC-2018-69"},{"ecosystem":"PyPI","fixed":["2.1.6"],"introduced":["2.1.0"],"last_affected":[],"package":"paramiko","purl":null,"source":"GHSA-f2j6-wrhh-v25m"},{"ecosystem":"PyPI","fixed":["2.1.6"],"introduced":["2.1.0"],"last_affected":[],"package":"paramiko","purl":"pkg:pypi/paramiko","source":"GHSA-f2j6-wrhh-v25m"},{"ecosystem":"PyPI","fixed":["2.2.4"],"introduced":["2.2.0"],"last_affected":[],"package":"paramiko","purl":null,"source":"GHSA-f2j6-wrhh-v25m"},{"ecosystem":"PyPI","fixed":["2.2.4"],"introduced":["2.2.0"],"last_affected":[],"package":"paramiko","purl":"pkg:pypi/paramiko","source":"GHSA-f2j6-wrhh-v25m"},{"ecosystem":"PyPI","fixed":["2.3.3"],"introduced":["2.3.0"],"last_affected":[],"package":"paramiko","purl":null,"source":"GHSA-f2j6-wrhh-v25m"},{"ecosystem":"PyPI","fixed":["2.3.3"],"introduced":["2.3.0"],"last_affected":[],"package":"paramiko","purl":"pkg:pypi/paramiko","source":"GHSA-f2j6-wrhh-v25m"},{"ecosystem":"PyPI","fixed":["2.4.2"],"introduced":["2.4.0"],"last_affected":[],"package":"paramiko","purl":null,"source":"GHSA-f2j6-wrhh-v25m"},{"ecosystem":"PyPI","fixed":["2.4.2"],"introduced":["2.4.0"],"last_affected":[],"package":"paramiko","purl":"pkg:pypi/paramiko","source":"GHSA-f2j6-wrhh-v25m"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:1.7.5-5.el6_10"],"introduced":["0"],"last_affected":[],"package":"python-paramiko","purl":"pkg:rpm/redhat/python-paramiko","source":"RHSA-2018:3406"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:1.7.5-5.el6_10"],"introduced":["0"],"last_affected":[],"package":"python-paramiko","purl":"pkg:rpm/redhat/python-paramiko","source":"RHSA-2018:3406"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:1.7.5-5.el6_10"],"introduced":["0"],"last_affected":[],"package":"python-paramiko","purl":"pkg:rpm/redhat/python-paramiko","source":"RHSA-2018:3406"},{"ecosystem":"Red Hat:enterprise_linux:6::workstation","fixed":["0:1.7.5-5.el6_10"],"introduced":["0"],"last_affected":[],"package":"python-paramiko","purl":"pkg:rpm/redhat/python-paramiko","source":"RHSA-2018:3406"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:2.1.1-9.el7"],"introduced":["0"],"last_affected":[],"package":"python-paramiko","purl":"pkg:rpm/redhat/python-paramiko","source":"RHSA-2018:3347"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:2.1.1-9.el7"],"introduced":["0"],"last_affected":[],"package":"python-paramiko-doc","purl":"pkg:rpm/redhat/python-paramiko-doc","source":"RHSA-2018:3347"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:2.1.1-9.el7"],"introduced":["0"],"last_affected":[],"package":"python-paramiko","purl":"pkg:rpm/redhat/python-paramiko","source":"RHSA-2018:3347"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:2.1.1-9.el7"],"introduced":["0"],"last_affected":[],"package":"python-paramiko-doc","purl":"pkg:rpm/redhat/python-paramiko-doc","source":"RHSA-2018:3347"},{"ecosystem":"Red Hat:enterprise_linux:7::hypervisor","fixed":["2:4.2-20181026.1.el7"],"introduced":["0"],"last_affected":[],"package":"rhvm-appliance","purl":"pkg:rpm/redhat/rhvm-appliance","source":"RHBA-2018:3497"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:2.1.1-9.el7"],"introduced":["0"],"last_affected":[],"package":"python-paramiko","purl":"pkg:rpm/redhat/python-paramiko","source":"RHSA-2018:3347"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:2.1.1-9.el7"],"introduced":["0"],"last_affected":[],"package":"python-paramiko-doc","purl":"pkg:rpm/redhat/python-paramiko-doc","source":"RHSA-2018:3347"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:2.1.1-9.el7"],"introduced":["0"],"last_affected":[],"package":"python-paramiko","purl":"pkg:rpm/redhat/python-paramiko","source":"RHSA-2018:3347"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:2.1.1-9.el7"],"introduced":["0"],"last_affected":[],"package":"python-paramiko-doc","purl":"pkg:rpm/redhat/python-paramiko-doc","source":"RHSA-2018:3347"},{"ecosystem":"Red Hat:rhel_aus:6.4::server","fixed":["0:1.7.5-4.el6_4.1"],"introduced":["0"],"last_affected":[],"package":"python-paramiko","purl":"pkg:rpm/redhat/python-paramiko","source":"RHSA-2018:3406"},{"ecosystem":"Red Hat:rhel_aus:6.5::server","fixed":["0:1.7.5-4.el6_5.1"],"introduced":["0"],"last_affected":[],"package":"python-paramiko","purl":"pkg:rpm/redhat/python-paramiko","source":"RHSA-2018:3406"},{"ecosystem":"Red Hat:rhel_aus:6.6::server","fixed":["0:1.7.5-4.el6_6.1"],"introduced":["0"],"last_affected":[],"package":"python-paramiko","purl":"pkg:rpm/redhat/python-paramiko","source":"RHSA-2018:3406"},{"ecosystem":"Red Hat:rhel_eus:6.7::computenode","fixed":["0:1.7.5-4.el6_7.1"],"introduced":["0"],"last_affected":[],"package":"python-paramiko","purl":"pkg:rpm/redhat/python-paramiko","source":"RHSA-2018:3406"},{"ecosystem":"Red Hat:rhel_eus:6.7::server","fixed":["0:1.7.5-4.el6_7.1"],"introduced":["0"],"last_affected":[],"package":"python-paramiko","purl":"pkg:rpm/redhat/python-paramiko","source":"RHSA-2018:3406"},{"ecosystem":"Red Hat:rhel_tus:6.6::server","fixed":["0:1.7.5-4.el6_6.1"],"introduced":["0"],"last_affected":[],"package":"python-paramiko","purl":"pkg:rpm/redhat/python-paramiko","source":"RHSA-2018:3406"},{"ecosystem":"SUSE:Enterprise Storage 4","fixed":["2.0.9-3.6.1"],"introduced":["0"],"last_affected":[],"package":"python-paramiko","purl":"pkg:rpm/suse/python-paramiko\u0026distro=SUSE%20Enterprise%20Storage%204","source":"SUSE-SU-2019:0481-1"},{"ecosystem":"SUSE:Enterprise Storage 5","fixed":["2.0.9-3.6.1"],"introduced":["0"],"last_affected":[],"package":"python-paramiko","purl":"pkg:rpm/suse/python-paramiko\u0026distro=SUSE%20Enterprise%20Storage%205","source":"SUSE-SU-2020:1274-1"},{"ecosystem":"SUSE:Enterprise Storage 6","fixed":["2.4.3-150100.6.15.1"],"introduced":["0"],"last_affected":[],"package":"python-paramiko","purl":"pkg:rpm/suse/python-paramiko\u0026distro=SUSE%20Enterprise%20Storage%206","source":"SUSE-SU-2022:3730-1"},{"ecosystem":"SUSE:Enterprise Storage 7","fixed":["2.4.3-150100.6.15.1"],"introduced":["0"],"last_affected":[],"package":"python-paramiko","purl":"pkg:rpm/suse/python-paramiko\u0026distro=SUSE%20Enterprise%20Storage%207","source":"SUSE-SU-2022:3730-1"},{"ecosystem":"SUSE:HPE Helion OpenStack 8","fixed":["2.2.4-4.3.1"],"introduced":["0"],"last_affected":[],"package":"python-paramiko","purl":"pkg:rpm/suse/python-paramiko\u0026distro=HPE%20Helion%20OpenStack%208","source":"SUSE-SU-2019:0396-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS","fixed":["2.4.3-150100.6.15.1"],"introduced":["0"],"last_affected":[],"package":"python-paramiko","purl":"pkg:rpm/suse/python-paramiko\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-ESPOS","source":"SUSE-SU-2022:3730-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","fixed":["2.4.3-150100.6.15.1"],"introduced":["0"],"last_affected":[],"package":"python-paramiko","purl":"pkg:rpm/suse/python-paramiko\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-LTSS","source":"SUSE-SU-2022:3730-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOS","fixed":["2.4.3-150100.6.15.1"],"introduced":["0"],"last_affected":[],"package":"python-paramiko","purl":"pkg:rpm/suse/python-paramiko\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-ESPOS","source":"SUSE-SU-2022:3730-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","fixed":["2.4.3-150100.6.15.1"],"introduced":["0"],"last_affected":[],"package":"python-paramiko","purl":"pkg:rpm/suse/python-paramiko\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-LTSS","source":"SUSE-SU-2022:3730-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15","fixed":["2.4.2-3.3.2"],"introduced":["0"],"last_affected":[],"package":"python-paramiko","purl":"pkg:rpm/suse/python-paramiko\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015","source":"SUSE-SU-2019:0174-1"}],"prev":{"headline":"Memory corruption in n/a","id":"CVE-2018-1000804"},"products":["n/a"],"published":"2018-10-08","related":[{"cvss_score":9.8,"headline":"SaltStack Salt Authentication Bypass","id":"CVE-2020-11651","kev_date_added":"2021-11-03","published":"2020-04-30"},{"cvss_score":9.8,"headline":"OpenSMTPD Remote Code Execution","id":"CVE-2020-7247","kev_date_added":"2022-03-25","published":"2020-01-29"},{"cvss_score":9.8,"headline":"Exim Out-of-bounds Write","id":"CVE-2019-16928","kev_date_added":"2022-03-03","published":"2019-09-27"},{"cvss_score":9.8,"headline":"Exim Buffer Overflow","id":"CVE-2018-6789","kev_date_added":"2021-11-03","published":"2018-02-08"},{"cvss_score":9.8,"headline":"Oracle Java SE and Java SE Embedded Remote Code Execution","id":"CVE-2015-2590","kev_date_added":"2022-03-03","published":"2015-07-16"},{"cvss_score":9.8,"headline":"Oracle JRE Remote Code Execution","id":"CVE-2013-0422","kev_date_added":"2022-05-25","published":"2013-01-10"},{"cvss_score":9.8,"headline":"Oracle Java SE Runtime Environment (JRE) Arbitrary Code Execution","id":"CVE-2011-3544","kev_date_added":"2022-03-03","published":"2011-10-19"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHBA"},{"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-05","vendors":["n/a"]},"summary":"An incorrect access control flaw in Paramiko's SSH server allows remote attackers to execute arbitrary code via network connectivity.","url":"https://insights.sbomify.com/CVE-2018-1000805/"}