Vulnerabilities in pkg:pypi/paramiko
PACKAGECVE-2018-7750 is a CRITICAL (CVSS 9.8) paramiko not properly checking authentication vulnerability (CWE-287: Improper Authentication) affecting Paramiko libraries in the PyPI ecosystem. The issue involves paramiko not properly checking authentication before processing other requests. Remediation is available by upgrading affected packages to version 2.0.8, 2.1.5, 2.2.3, 2.3.2, 2.4.1, 1.18.5, 1.17.6.
pkg:pypi/paramiko
Vulnerability advisories affecting package pkg:pypi/paramiko. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-232r-66cg-79px | CVE-2018-7750 | CRITICAL | Paramiko not properly checking authentication before processing other requests |
| GHSA-45x7-px36-x8w8 | CVE-2023-48795 | MODERATE | Prefix Truncation Attack against ChaCha20-Poly1305 and Encrypt-then-MAC aka Terrapin |
| GHSA-r374-rxx8-8654 | CVE-2026-44405 | LOW | Paramiko rsakey.py allows the SHA-1 algorithm |
| GHSA-f8q4-jwww-x3wv | CVE-2022-24302 | HIGH | Race Condition in Paramiko |
| GHSA-f2j6-wrhh-v25m | CVE-2018-1000805 | HIGH | Paramiko Authentication Bypass vulnerability |
| GHSA-wqmm-q65g-2hqr | CVE-2008-0299 | HIGH | Paramiko Unsafe randomness usage may allow access to sensitive information |
CVE-2018-7750 at a Glance
Security Impact
CVSS: 9.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2018-7750
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.8
pip install paramiko>=2.1.5
pip install paramiko>=2.2.3
pip install paramiko>=2.3.2
pip install paramiko>=2.4.1
pip install paramiko>=1.18.5
pip install paramiko>=1.17.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-7750, 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.8), 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-287: Improper Authentication, where when an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct. 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-7750 Affected Paramiko Versions
7 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
paramiko
|
PyPI |
≥ 2.0.0
< 2.0.8
|
2.0.8
|
|
paramiko
|
PyPI |
≥ 2.1.0
< 2.1.5
|
2.1.5
|
|
paramiko
|
PyPI |
≥ 2.2.0
< 2.2.3
|
2.2.3
|
|
paramiko
|
PyPI |
≥ 2.3.0
< 2.3.2
|
2.3.2
|
|
paramiko
|
PyPI |
≥ 2.4.0
< 2.4.1
All 1 versions
2.4.0
|
2.4.1
|
|
paramiko
|
PyPI |
≥ 1.18.0
< 1.18.5
|
1.18.5
|
|
paramiko
|
PyPI |
< 1.17.6
|
1.17.6
|
References
Frequently Asked Questions
What is CVE-2018-7750?
Which Paramiko versions are affected?
What version fixes CVE-2018-7750?
Is paramiko affected?
What is the CVSS score of CVE-2018-7750?
What CWE is associated with CVE-2018-7750?
How can I check PyPI dependencies for CVE-2018-7750?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-232r-66cg-79px",
"modified" : "2026-06-09T12:59:24Z",
"published" : "2018-07-12T20:29:30Z",
"aliases" : [ "CVE-2018-7750" ],
"summary" : "Paramiko not properly checking authentication before processing other requests",
"details" : "transport.py in the SSH server implementation of Paramiko before 1.17.6, 1.18.x before 1.18.5, 2.0.x before 2.0.8, 2.1.x before 2.1.5, 2.2.x before 2.2.3, 2.3.x before 2.3.2, and 2.4.x before 2.4.1 does not properly check whether authentication is completed before processing other requests, as demonstrated by channel-open. A customized SSH client can simply skip the authentication step.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/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.0.0"
}, {
"fixed" : "2.0.8"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "paramiko"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.1.0"
}, {
"fixed" : "2.1.5"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "paramiko"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.2.0"
}, {
"fixed" : "2.2.3"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "paramiko"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.3.0"
}, {
"fixed" : "2.3.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "paramiko"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.4.0"
}, {
"fixed" : "2.4.1"
} ]
} ],
"versions" : [ "2.4.0" ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "paramiko"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.18.0"
}, {
"fixed" : "1.18.5"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "paramiko"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.17.6"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2018-7750"
}, {
"type" : "WEB",
"url" : "https://github.com/paramiko/paramiko/issues/1175"
}, {
"type" : "WEB",
"url" : "https://github.com/paramiko/paramiko/commit/fa29bd8446c8eab237f5187d28787727b4610516"
}, {
"type" : "WEB",
"url" : "https://github.com/paramiko/paramiko/commit/e9dfd854bdaf8af15d7834f7502a0451d217bb8c"
}, {
"type" : "WEB",
"url" : "https://www.exploit-db.com/exploits/45712"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20190831123128/http://www.securityfocus.com/bid/103713"
}, {
"type" : "WEB",
"url" : "https://usn.ubuntu.com/3603-2"
}, {
"type" : "WEB",
"url" : "https://usn.ubuntu.com/3603-1"
}, {
"type" : "WEB",
"url" : "https://lists.debian.org/debian-lts-announce/2021/12/msg00025.html"
}, {
"type" : "WEB",
"url" : "https://lists.debian.org/debian-lts-announce/2018/10/msg00018.html"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/paramiko/PYSEC-2018-19.yaml"
}, {
"type" : "WEB",
"url" : "https://github.com/paramiko/paramiko/blob/master/sites/www/changelog.rst"
}, {
"type" : "WEB",
"url" : "https://github.com/paramiko/paramiko/blob/e861c7697622774071ce73b46ffe8817eacdedfa/sites/www/changelog.rst?plain=1#L759-L763"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/paramiko/paramiko"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-232r-66cg-79px"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2018:1972"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2018:1525"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2018:1328"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2018:1274"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2018:1213"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2018:1125"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2018:1124"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2018:0646"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2018:0591"
}, {
"type" : "WEB",
"url" : "http://www.securityfocus.com/bid/103713"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-287" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2020-06-16T20:50:58Z",
"nvd_published_at" : "2018-03-13T18:29:00Z"
}
}