Skip to content

← Public intelligence

PyPI package

paramiko

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

5 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. Medium, CVSS 5.9PyPIAmendedPublished

    Prefix Truncation Attack against ChaCha20-Poly1305 and Encrypt-then-MAC aka Terrapin

    CVE-2023-48795 · GHSA-45x7-px36-x8w8

    Affected
    • PyPI paramiko >= 2.5.0, < 3.4.0
    Fixed in
    3.4.0· Vendor fix available
    Issue
    Terrapin is a prefix truncation attack targeting the SSH protocol. More precisely, Terrapin breaks the integrity of SSH's secure channel. By carefully adjusting the sequence numbers during the handshake, an attacker can remove an arbitrary amount of messages sent by the client or server at the beginning of the secure channel without the client or server noticing it. Mitigations To mitigate this protocol vulnerability, OpenSSH suggested a so-called "strict kex" which alters the SSH handshake to ensure a Man-in-the-Middle attacker cannot introduce unauthenticated messages as well as convey sequence number manipulation across handshakes. Warning: To take effect, both the client and server must support this countermeasure. As a stop-gap measure, peers may also (temporarily) disable the affected algorithms and use unaffected alternatives like AES-GCM instead until patches are available. Details The SSH specifications of ChaCha20-Poly1305 (chacha20-poly1305@openssh.com) and…

    Recommended action: Upgrade to 3.4.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  2. High, CVSS 8.2PyPIAmendedPublished

    Race Condition in Paramiko

    CVE-2022-24302 · GHSA-f8q4-jwww-x3wv

    Affected
    • PyPI paramiko >= 2.10.0, < 2.10.1; >= 2.9.0, < 2.9.3
    Fixed in
    2.10.12.9.3· Vendor fix available
    Issue
    In Paramiko before 2.10.1, a race condition (between creation and chmod) in the writeprivatekeyfile function could allow unauthorized information disclosure.

    Recommended action: Upgrade to 2.10.1 or 2.9.3 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  3. High, CVSS 8.7PyPIAmendedPublished

    Paramiko Authentication Bypass vulnerability

    CVE-2018-1000805 · GHSA-f2j6-wrhh-v25m

    Affected
    • PyPI paramiko >= 2.4.0, < 2.4.2; >= 2.3.0, < 2.3.3; >= 2.2.0, < 2.2.4; >= 2.1.0, < 2.1.6; >= 1.5.1, < 2.0.9
    Fixed in
    2.2.42.4.22.0.92.3.32.1.6· Vendor fix available
    Issue
    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.

    Recommended action: Upgrade to 2.4.2, 2.3.3, 2.2.4 or 2 more by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  4. Critical, CVSS 9.3PyPIAmendedPublished

    Paramiko not properly checking authentication before processing other requests

    CVE-2018-7750 · GHSA-232r-66cg-79px

    Affected
    • PyPI paramiko >= 2.0.0, < 2.0.8; >= 2.1.0, < 2.1.5; >= 2.2.0, < 2.2.3; >= 2.3.0, < 2.3.2; >= 2.4.0, <= 2.4.0; >= 1.18.0, < 1.18.5; < 1.17.6
    Fixed in
    2.4.11.17.62.1.52.2.32.0.81.18.52.3.2· Vendor fix available
    Issue
    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.

    Recommended action: Upgrade to 2.4.1, 2.3.2, 2.2.3 or 4 more by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  5. High, CVSS 7.1PyPIAmendedPublished

    Paramiko Unsafe randomness usage may allow access to sensitive information

    CVE-2008-0299 · GHSA-wqmm-q65g-2hqr

    Affected
    • PyPI paramiko <= 1.7.1.post2
    Fixed in
    1.7.1.post3· Vendor fix available
    Issue
    common.py in Paramiko 1.7.1 and earlier, when using threads or forked processes, does not properly use RandomPool, which allows one session to obtain sensitive information from another session by predicting the state of the pool.

    Recommended action: Upgrade to 1.7.1.post3 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →