CVE-2018-1000805: Paramiko Authentication Bypass Vulnerability
HIGHCVE-2018-1000805 is a HIGH (CVSS 8.8) authentication bypass vulnerability (CWE-732: Incorrect Permission Assignment for Critical Resource) affecting Paramiko libraries in the PyPI ecosystem. The issue involves paramiko authentication bypass vulnerability. Remediation is available by upgrading affected packages to version 2.0.9, 2.4.2, 2.3.3, 2.2.4, 2.1.6.
CVE-2018-1000805 at a Glance
Security Impact
CVSS: 8.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2018-1000805
To remediate this vulnerability, upgrade all affected Paramiko dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install paramiko>=2.0.9
pip install paramiko>=2.4.2
pip install paramiko>=2.3.3
pip install paramiko>=2.2.4
pip install paramiko>=2.1.6
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show paramiko
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2018-1000805, inspect your installed packages using pip:
pip show paramiko
Analyze the terminal output to locate any version of Paramiko in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.0.9), your application is affected.
Note: The pip show paramiko command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-732: Incorrect Permission Assignment for Critical Resource, where the product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors. In Paramiko, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2018-1000805 Affected Paramiko Versions
5 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
paramiko
|
PyPI |
≥ 1.5.1
< 2.0.9
|
2.0.9
|
|
paramiko
|
PyPI |
≥ 2.4.0
< 2.4.2
|
2.4.2
|
|
paramiko
|
PyPI |
≥ 2.3.0
< 2.3.3
|
2.3.3
|
|
paramiko
|
PyPI |
≥ 2.2.0
< 2.2.4
|
2.2.4
|
|
paramiko
|
PyPI |
≥ 2.1.0
< 2.1.6
|
2.1.6
|
References
Frequently Asked Questions
What is CVE-2018-1000805?
Which Paramiko versions are affected?
What version fixes CVE-2018-1000805?
Is paramiko affected?
What is the CVSS score of CVE-2018-1000805?
What CWE is associated with CVE-2018-1000805?
How can I check PyPI dependencies for CVE-2018-1000805?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-f2j6-wrhh-v25m",
"modified" : "2024-10-09T20:55:50Z",
"published" : "2018-10-10T16:10:10Z",
"aliases" : [ "CVE-2018-1000805" ],
"summary" : "Paramiko Authentication Bypass vulnerability",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "paramiko"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.4.0"
}, {
"fixed" : "2.4.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "paramiko"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.3.0"
}, {
"fixed" : "2.3.3"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "paramiko"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.2.0"
}, {
"fixed" : "2.2.4"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "paramiko"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.1.0"
}, {
"fixed" : "2.1.6"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "paramiko"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.5.1"
}, {
"fixed" : "2.0.9"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2018-1000805"
}, {
"type" : "WEB",
"url" : "https://github.com/paramiko/paramiko/issues/1283"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHBA-2018:3497"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2018:3347"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2018:3406"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2018:3505"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-f2j6-wrhh-v25m"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/paramiko/paramiko"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/paramiko/PYSEC-2018-69.yaml"
}, {
"type" : "WEB",
"url" : "https://herolab.usd.de/wp-content/uploads/sites/4/usd20180023.txt"
}, {
"type" : "WEB",
"url" : "https://lists.debian.org/debian-lts-announce/2018/10/msg00018.html"
}, {
"type" : "WEB",
"url" : "https://lists.debian.org/debian-lts-announce/2021/12/msg00025.html"
}, {
"type" : "WEB",
"url" : "https://usn.ubuntu.com/3796-1"
}, {
"type" : "WEB",
"url" : "https://usn.ubuntu.com/3796-2"
}, {
"type" : "WEB",
"url" : "https://usn.ubuntu.com/3796-3"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-732", "CWE-863" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2020-06-16T21:33:26Z",
"nvd_published_at" : "2018-10-08T15:29:00Z"
}
}