Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 920299 - <dev-python/paramiko-3.4.0: terrapin vulnerability
Summary: <dev-python/paramiko-3.4.0: terrapin vulnerability
Status: CONFIRMED
Alias: None
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Security
URL: https://github.com/paramiko/paramiko/...
Whiteboard: B3 [glsa?]
Keywords: PullRequest
Depends on: 920303
Blocks: CVE-2023-48795
  Show dependency tree
 
Reported: 2023-12-19 03:13 UTC by Christopher Fore
Modified: 2023-12-22 09:30 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher Fore 2023-12-19 03:13:26 UTC
CVE-2023-48795 (https://terrapin-attack.com/):

The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6 and other products, allows remote attackers to bypass integrity checks such that some packets are omitted (from the extension negotiation message), and a client and server may consequently end up with a connection for which some security features have been downgraded or disabled, aka a Terrapin attack. This occurs because the SSH Binary Packet Protocol (BPP), implemented by these extensions, mishandles the handshake phase and mishandles use of sequence numbers. For example, there is an effective attack against ChaCha20-Poly1305 (and CBC with Encrypt-then-MAC). The bypass occurs in chacha20-poly1305@openssh.com and (if CBC is used) the -etm@openssh.com MAC algorithms. This also affects Maverick Synergy Java SSH API before 3.1.0-SNAPSHOT, Dropbear through 2022.83, Ssh before 5.1.1 in Erlang/OTP, and PuTTY before 0.80; and there could be effects on Bitvise SSH through 9.31, AsyncSSH through 2.14.1, libssh through 0.10.5, and golang.org/x/crypto through 2023-12-17.
Comment 1 Larry the Git Cow gentoo-dev 2023-12-19 06:11:04 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b919f97af32c7dccd735d7fa4eb4b9bdfe4a94af

commit b919f97af32c7dccd735d7fa4eb4b9bdfe4a94af
Author:     Christopher Fore <csfore@posteo.net>
AuthorDate: 2023-12-19 03:23:19 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2023-12-19 06:10:56 +0000

    dev-python/paramiko: add 3.4.0
    
    The Terrapin exploit is fixed in this version.
    
    Bug: https://bugs.gentoo.org/920299
    Signed-off-by: Christopher Fore <csfore@posteo.net>
    Closes: https://github.com/gentoo/gentoo/pull/34365
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/paramiko/Manifest              |  1 +
 dev-python/paramiko/paramiko-3.4.0.ebuild | 62 +++++++++++++++++++++++++++++++
 2 files changed, 63 insertions(+)
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-12-19 11:54:28 UTC
Cleanup done.