Paramiko not properly checking authentication before processing other requests
GHSA-232r-66cg-79px · CVE-2018-7750 · PYSEC-2018-19
Published · Modified
AI SAST
Find this class of vulnerability in your own code
Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.
Description
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.
References
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2018-7750
- WEB https://github.com/paramiko/paramiko/issues/1175
- WEB https://github.com/paramiko/paramiko/commit/fa29bd8446c8eab237f5187d28787727b4610516
- WEB https://github.com/paramiko/paramiko/commit/e9dfd854bdaf8af15d7834f7502a0451d217bb8c
- WEB https://www.exploit-db.com/exploits/45712
- WEB https://web.archive.org/web/20190831123128/http://www.securityfocus.com/bid/103713
- WEB https://usn.ubuntu.com/3603-2
- WEB https://usn.ubuntu.com/3603-1
- WEB https://lists.debian.org/debian-lts-announce/2021/12/msg00025.html
- WEB https://lists.debian.org/debian-lts-announce/2018/10/msg00018.html
- WEB https://github.com/pypa/advisory-database/tree/main/vulns/paramiko/PYSEC-2018-19.yaml
- WEB https://github.com/paramiko/paramiko/blob/master/sites/www/changelog.rst
- WEB https://github.com/paramiko/paramiko/blob/e861c7697622774071ce73b46ffe8817eacdedfa/sites/www/changelog.rst?plain=1#L759-L763
- PACKAGE https://github.com/paramiko/paramiko
- ADVISORY https://github.com/advisories/GHSA-232r-66cg-79px
- WEB https://access.redhat.com/errata/RHSA-2018:1972
- WEB https://access.redhat.com/errata/RHSA-2018:1525
- WEB https://access.redhat.com/errata/RHSA-2018:1328
- WEB https://access.redhat.com/errata/RHSA-2018:1274
- WEB https://access.redhat.com/errata/RHSA-2018:1213
- WEB https://access.redhat.com/errata/RHSA-2018:1125
- WEB https://access.redhat.com/errata/RHSA-2018:1124
- WEB https://access.redhat.com/errata/RHSA-2018:0646
- WEB https://access.redhat.com/errata/RHSA-2018:0591
- WEB http://www.securityfocus.com/bid/103713
Ready to move
Start Securing
Free, no credit card | First findings in minutes