← Back to issue list

build(deps): bump cryptography from 42.0.2 to 42.0.4

View original Github issue

Metadata

Project
snapcraft
Number
#4599
Type
pull request
State
closed
Author
dependabot[bot]
Labels
—
Created
Updated
Closed

Current evaluation

Dependabot bump of cryptography 42.0.2 -> 42.0.4 was closed unmerged; the same bump had already landed via Renovate PR #4598 (commit 7cfb60986), and Dependabot confirmed it was up-to-date.

Resolution: closed superseded

Reason: Renovate PR #4598 was merged as commit 7cfb60986, bumping cryptography to 42.0.4 and fixing CVE-2024-26130 before this Dependabot PR could be merged. Dependabot then closed it after a maintainer asked it to recreate, reporting "cryptography is up-to-date now, so this is no longer needed."

Evaluated by: mr-cal-bot

No scores available.

Issue body

Bumps [cryptography](https://github.com/pyca/cryptography) from 42.0.2 to 42.0.4. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst">cryptography's changelog</a>.</em></p> <blockquote> <p>42.0.4 - 2024-02-20</p> <pre><code> * Fixed a null-pointer-dereference and segfault that could occur when creating a PKCS#12 bundle. Credit to **Alexander-Programming** for reporting the issue. **CVE-2024-26130** * Fixed ASN.1 encoding for PKCS7/SMIME signed messages. The fields ``SMIMECapabilities`` and ``SignatureAlgorithmIdentifier`` should now be correctly encoded according to the definitions in :rfc:`2633` :rfc:`3370`. <p>.. _v42-0-3:</p> <p>42.0.3 - 2024-02-15 </code></pre></p> <ul> <li>Fixed an initialization issue that caused key loading failures for some users.</li> </ul> <p>.. _v42-0-2:</p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pyca/cryptography/commit/fe18470f7d05f963e7267e34fdf985d81ea6ceea"><code>fe18470</code></a> Bump for 42.0.4 release (<a href="https://redirect.github.com/pyca/cryptography/issues/10445">#10445</a>)</li> <li><a href="https://github.com/pyca/cryptography/commit/aaa2dd06ed470695de818405a982d4c459869803"><code>aaa2dd0</code></a> Fix ASN.1 issues in PKCS#7 and S/MIME signing (<a href="https://redirect.github.com/pyca/cryptography/issues/10373">#10373</a>) (<a href="https://redirect.github.com/pyca/cryptography/issues/10442">#10442</a>)</li> <li><a href="https://github.com/pyca/cryptography/commit/7a4d012991061974da5d9cb7614de65eac94f49b"><code>7a4d012</code></a> Fixes <a href="https://redirect.github.com/pyca/cryptography/issues/10422">#10422</a> -- don't crash when a PKCS#12 key and cert don't match (<a href="https://redirect.github.com/pyca/cryptography/issues/10423">#10423</a>) ...</li> <li><a href="https://github.com/pyca/cryptography/commit/df314bb182bdfd661333969a94325e4680d785f6"><code>df314bb</code></a> backport actions m1 switch to 42.0.x (<a href="https://redirect.github.com/pyca/cryptography/issues/10415">#10415</a>)</li> <li><a href="https://github.com/pyca/cryptography/commit/c49a7a5271178c6e8ef36fa1c499f62c63ec19b9"><code>c49a7a5</code></a> changelog and version bump for 42.0.3 (<a href="https://redirect.github.com/pyca/cryptography/issues/10396">#10396</a>)</li> <li><a href="https://github.com/pyca/cryptography/commit/396bcf64c5be826ec00e7d7f45838c858c049cbc"><code>396bcf6</code></a> fix provider loading take two (<a href="https://redirect.github.com/pyca/cryptography/issues/10390">#10390</a>) (<a href="https://redirect.github.com/pyca/cryptography/issues/10395">#10395</a>)</li> <li><a href="https://github.com/pyca/cryptography/commit/0e0e46f5f73f477b8ee9682738c42129d5d60177"><code>0e0e46f</code></a> backport: initialize openssl's legacy provider in rust (<a href="https://redirect.github.com/pyca/cryptography/issues/10323">#10323</a>) (<a href="https://redirect.github.com/pyca/cryptography/issues/10333">#10333</a>)</li> <li>See full diff in <a href="https://github.com/pyca/cryptography/compare/42.0.2...42.0.4">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=cryptography&package-manager=pip&previous-version=42.0.2&new-version=42.0.4)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/canonical/snapcraft/network/alerts). </details>

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed superseded Dependabot bump of cryptography 42.0.2 -> 42.0.4 was closed unmerged; the same bump had already landed via Renovate PR #4598 (commit 7cfb60986), and Dependabot confirmed it was up-to-date.
stealth/space-bunny-alpha — closed superseded Dependabot's cryptography 42.0.2→42.0.4 bump was closed unmerged as obsolete; the same upgrade landed first via #4598 (commit 7cfb6098), and Dependabot confirmed the dependency was already current.
stealth/space-bunny-alpha — closed superseded Dependabot PR for cryptography 42.0.2→42.0.4 was closed unmerged; #4598 had already landed the same bump as commit 7cfb60986, and Dependabot confirmed the dependency was up to date.
stealth/space-bunny-alpha — closed superseded Closed unmerged as obsolete after #4598 updated cryptography to 42.0.4; Dependabot confirmed the dependency was already current.
qwen/qwen3.6-35b-a3b — — Dependabot update for cryptography to 42.0.4 was closed after manual recreation. Dependabot confirmed the dependency is already current, making the PR unnecessary. The update was abandoned without merging.
qwen3.6-35b-a3b-mtp-q6 — — Dependabot's update PR was closed and abandoned after a maintainer requested a recreation. Dependabot confirmed the cryptography dependency is already current, making the update unnecessary.

Update history

No update history recorded yet.

Related work

  • Superseded By: canonical/snapcraft#4598 (confidence 98%)

    Merged Renovate PR applying the identical cryptography 42.0.2 -> 42.0.4 bump (commit 7cfb60986)

  • Related To: canonical/snapcraft#4784 (confidence 35%)

    Follow-up fix: set CRYPTOGRAPHY_OPENSSL_NO_LEGACY after the cryptography 42.0.4 upgrade

Related issues

Issue Project State Summary Similarity
#4591 build(deps): bump cryptography from 41.0.7 to 42.0.2 snapcraft closed Dependabot's cryptography 41.0.7→42.0.2 bump was closed unmerged as redundant: merged PR #4564 (commit ac421ab96) had already applied the same update, and Dependabot confirmed the dependency was current.
95%
#4563 build(deps): bump cryptography from 41.0.7 to 42.0.0 snapcraft closed Dependabot's cryptography 41.0.7→42.0.0 bump PR was closed unmerged; maintainer @lengau closed it as "superseded by #4564", which merged cryptography 42.0.2 to fix CVE-2023-50782/CVE-2024-0727.
91%
#4280 build(deps): bump cryptography from 41.0.0 to 41.0.2 snapcraft closed Dependabot PR to bump cryptography 41.0.0→41.0.2 was closed unmerged; dependabot commented "Superseded by #4301", which upgraded directly to 41.0.3 and was merged as commit f38160c9d.
91%
#1395 build(deps): bump cryptography from 41.0.4 to 41.0.6 charmcraft closed Closed unmerged as redundant after commit d8a889db had already updated cryptography to v41.0.6; Dependabot confirmed the dependency was current.
91%
#4457 build(deps): bump cryptography from 41.0.4 to 41.0.6 snapcraft closed Closed unmerged as obsolete after cryptography was updated to 41.0.7; Dependabot said the 41.0.4→41.0.6 bump was no longer needed.
90%
#5251 build(deps): bump cryptography from 43.0.3 to 44.0.1 snapcraft closed Dependabot's cryptography 43.0.3→44.0.1 bump was closed unmerged: Dependabot repeatedly couldn't parse pyproject.toml, and mr-cal noted "Updated in #5290" before closing.
90%
#1200 build(deps): bump cryptography from 41.0.2 to 41.0.3 charmcraft closed Dependabot's cryptography 41.0.2→41.0.3 bump was closed unmerged as redundant; the same update landed via security PR canonical/charmcraft#1201 (commit 31f7281c).
89%
#1163 build(deps): bump cryptography from 41.0.0 to 41.0.2 charmcraft closed Closed unmerged as redundant; cryptography 41.0.2 was applied by merged security PR #1164 in commit 6d9dd818.
87%
#2645 build(deps): bump cryptography from 46.0.6 to 46.0.7 charmcraft closed Dependabot’s cryptography 46.0.7 bump was abandoned unmerged after two rebase requests; the bot stopped tracking that release.
86%
#2162 build(deps-dev): bump cryptography from 44.0.0 to 44.0.1 charmcraft merged Merged the cryptography development dependency from 44.0.0 to 44.0.1 in commit e055bf84.
85%