← Back to issue list

Update dependency paramiko to v3 [SECURITY] - autoclosed

View original Github issue

Metadata

Project
imagecraft
Number
#20
Type
pull request
State
closed
Author
renovate[bot]
Labels
Created
Updated
Closed

Current evaluation

Renovate pull request to update paramiko to v3.4.0 for CVE-2023-48795 was autoclosed due to inactivity. The security update was abandoned and never merged.

Suggested action:

No scores available.

Issue body

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [paramiko](https://paramiko.org) ([source](https://togithub.com/paramiko/paramiko), [changelog](https://www.paramiko.org/changelog.html)) | `==2.12.0` -> `==3.4.0` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/paramiko/3.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/paramiko/3.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/paramiko/2.12.0/3.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/paramiko/2.12.0/3.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. ### GitHub Vulnerability Alerts #### [CVE-2023-48795](https://togithub.com/warp-tech/russh/security/advisories/GHSA-45x7-px36-x8w8) ### Summary 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@&#8203;openssh.com) and Encrypt-then-MAC (*-etm@openssh.com MACs) are vulnerable against an arbitrary prefix truncation attack (a.k.a. Terrapin attack). This allows for an extension negotiation downgrade by stripping the SSH_MSG_EXT_INFO sent after the first message after SSH_MSG_NEWKEYS, downgrading security, and disabling attack countermeasures in some versions of OpenSSH. When targeting Encrypt-then-MAC, this attack requires the use of a CBC cipher to be practically exploitable due to the internal workings of the cipher mode. Additionally, this novel attack technique can be used to exploit previously unexploitable implementation flaws in a Man-in-the-Middle scenario. The attack works by an attacker injecting an arbitrary number of SSH_MSG_IGNORE messages during the initial key exchange and consequently removing the same number of messages just after the initial key exchange has concluded. This is possible due to missing authentication of the excess SSH_MSG_IGNORE messages and the fact that the implicit sequence numbers used within the SSH protocol are only checked after the initial key exchange. In the case of ChaCha20-Poly1305, the attack is guaranteed to work on every connection as this cipher does not maintain an internal state other than the message's sequence number. In the case of Encrypt-Then-MAC, practical exploitation requires the use of a CBC cipher; while theoretical integrity is broken for all ciphers when using this mode, message processing will fail at the application layer for CTR and stream ciphers. For more details see [https://terrapin-attack.com](https://terrapin-attack.com). ### Impact This attack targets the specification of ChaCha20-Poly1305 (chacha20-poly1305@&#8203;openssh.com) and Encrypt-then-MAC (*-etm@openssh.com), which are widely adopted by well-known SSH implementations and can be considered de-facto standard. These algorithms can be practically exploited; however, in the case of Encrypt-Then-MAC, we additionally require the use of a CBC cipher. As a consequence, this attack works against all well-behaving SSH implementations supporting either of those algorithms and can be used to downgrade (but not fully strip) connection security in case SSH extension negotiation (RFC8308) is supported. The attack may also enable attackers to exploit certain implementation flaws in a man-in-the-middle (MitM) scenario. --- ### Release Notes <details> <summary>paramiko/paramiko (paramiko)</summary> ### [`v3.4.0`](https://togithub.com/paramiko/paramiko/compare/3.3.1...3.4.0) [Compare Source](https://togithub.com/paramiko/paramiko/compare/3.3.1...3.4.0) ### [`v3.3.1`](https://togithub.com/paramiko/paramiko/compare/3.3.0...3.3.1) [Compare Source](https://togithub.com/paramiko/paramiko/compare/3.3.0...3.3.1) ### [`v3.3.0`](https://togithub.com/paramiko/paramiko/compare/3.2.0...3.3.0) [Compare Source](https://togithub.com/paramiko/paramiko/compare/3.2.0...3.3.0) ### [`v3.2.0`](https://togithub.com/paramiko/paramiko/compare/3.1.0...3.2.0) [Compare Source](https://togithub.com/paramiko/paramiko/compare/3.1.0...3.2.0) ### [`v3.1.0`](https://togithub.com/paramiko/paramiko/compare/3.0.0...3.1.0) [Compare Source](https://togithub.com/paramiko/paramiko/compare/3.0.0...3.1.0) ### [`v3.0.0`](https://togithub.com/paramiko/paramiko/compare/2.12.0...3.0.0) [Compare Source](https://togithub.com/paramiko/paramiko/compare/2.12.0...3.0.0) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "" in timezone Etc/UTC, Automerge - "every weekend" in timezone Etc/UTC. 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/canonical/imagecraft). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMDMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjEwMy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Renovate pull request to update paramiko to v3.4.0 for CVE-2023-48795 was autoclosed due to inactivity. The security update was abandoned and never merged.
qwen3.6-35b-a3b-mtp-q6 Automatically closed without merging. The Renovate dependency update for paramiko to v3 addressing CVE-2023-48795 was autoclosed, likely due to staleness or being superseded by a newer update.
qwen3.6-35b-a3b-mtp-q6 Automatically closed without merging. The dependency update to paramiko v3.4.0 for CVE-2023-48795 was not applied.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#12 Update dependency requests to v2.31.0 [SECURITY] - autoclosed imagecraft closed Renovate autoclosed this pull request to update requests to v2.31.0 for CVE-2023-32681. The PR was abandoned without merging, indicating it was superseded by a newer update or stale configuration.
73%
#19 Bump paramiko from 2.12.0 to 3.4.0 imagecraft closed Closed as unnecessary after paramiko was removed from project dependencies. The version bump from 2.12.0 to 3.4.0 was abandoned.
72%
#4 Update dependency reportlab to v3.6.13 [SECURITY] - autoclosed imagecraft closed Automated reportlab update to v3.6.13 for CVE-2023-33733 was autoclosed without merging. The bot closed the inactive PR due to zero reviews and no CI checks.
71%
#2 Update dependency GitPython to v3.1.37 [SECURITY] - autoclosed imagecraft closed Automatically closed by Renovate after proposing GitPython v3.1.37 to fix CVE-2023-40267 and CVE-2023-41040. With zero reviews or CI checks, the update was superseded or resolved through an alternative channel.
71%