Skip to content

Update cryptography requirement from >=43.0.1 to >=48.0.0#905

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/cryptography-gte-48.0.0
Closed

Update cryptography requirement from >=43.0.1 to >=48.0.0#905
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/cryptography-gte-48.0.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 11, 2026

Updates the requirements on cryptography to permit the latest version.

Changelog

Sourced from cryptography's changelog.

48.0.0 - 2026-05-04


* **BACKWARDS INCOMPATIBLE:** Support for Python 3.8 has been removed.
  ``cryptography`` now requires Python 3.9 or later.
* **BACKWARDS INCOMPATIBLE:** Loading an X.509 CRL whose inner
  ``TBSCertList.signature`` algorithm does not match the outer
  ``signatureAlgorithm`` now raises ``ValueError``. Previously, such CRLs
  were parsed successfully and only rejected during signature validation.
* Added support for :doc:`/hazmat/primitives/asymmetric/mlkem` and
  :doc:`/hazmat/primitives/asymmetric/mldsa` when using OpenSSL 3.5.0 or
  later, in addition to the existing AWS-LC and BoringSSL support. This means
  post-quantum algorithms are now available to users of our wheels.
  • Note: Going forward, we do not guarantee that all functionality
    in cryptography will be available when building against
    OpenSSL. See :doc:/statements/state-of-openssl for more information.

.. _v47-0-0:

47.0.0 - 2026-04-24

  • Support for Python 3.8 is deprecated and will be removed in the next cryptography release.
  • BACKWARDS INCOMPATIBLE: Support for binary elliptic curves (SECT* classes) has been removed. These curves are rarely used and have additional security considerations that make them undesirable.
  • BACKWARDS INCOMPATIBLE: Support for OpenSSL 1.1.x has been removed. OpenSSL 3.0.0 or later is now required. LibreSSL, BoringSSL, and AWS-LC continue to be supported.
  • BACKWARDS INCOMPATIBLE: Dropped support for LibreSSL < 4.1.
  • BACKWARDS INCOMPATIBLE: Loading keys with unsupported algorithms or keys with unsupported explicit curve encodings now raises :class:~cryptography.exceptions.UnsupportedAlgorithm instead of ValueError. This change affects :func:~cryptography.hazmat.primitives.serialization.load_pem_private_key, :func:~cryptography.hazmat.primitives.serialization.load_der_private_key, :func:~cryptography.hazmat.primitives.serialization.load_pem_public_key, :func:~cryptography.hazmat.primitives.serialization.load_der_public_key, and :meth:~cryptography.x509.Certificate.public_key when called on certificates with unsupported public key algorithms.
  • BACKWARDS INCOMPATIBLE: When parsing elliptic curve private keys, we now reject keys that incorrectly encode a private key of the wrong length because such keys are impossible to process in a constant-time manner. We do not believe keys with this problem are in wide use, however we may revert this change based on the feedback we receive.
  • Deprecated passing 64-bit (8-byte) and 128-bit (16-byte) keys to :class:~cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES. In a

... (truncated)

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels May 11, 2026
Updates the requirements on [cryptography](https://github.com/pyca/cryptography) to permit the latest version.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](pyca/cryptography@43.0.1...48.0.0)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-version: 48.0.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/pip/cryptography-gte-48.0.0 branch from bb74318 to f389d82 Compare May 11, 2026 20:44
Copy link
Copy Markdown
Collaborator

@FlorianBracq FlorianBracq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok for me!

@ianhelle
Copy link
Copy Markdown
Contributor

ianhelle commented Jun 4, 2026

Superseded by #909 which bumps cryptography to >=46.0.7 (minimum safe version per CVE-2026-39892) along with 12 other security dependency updates.

@ianhelle
Copy link
Copy Markdown
Contributor

ianhelle commented Jun 4, 2026

Closing — covered by #909.

@ianhelle ianhelle closed this Jun 4, 2026
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github Jun 4, 2026

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot Bot deleted the dependabot/pip/cryptography-gte-48.0.0 branch June 4, 2026 20:42
ianhelle added a commit that referenced this pull request Jun 4, 2026
Address 13 packages flagged by Component Governance with known CVEs:

Direct dependencies:
- azure-core >=1.38.0 (CVE-2026-21226 - RCE via deserialization)
- cryptography >=46.0.7 (CVE-2026-26007, CVE-2026-34073, CVE-2026-39892)
- jinja2 >=3.1.6 (CVE-2024-56326, CVE-2024-56201, CVE-2025-27516)
- lxml >=6.1.1 (CVE-2026-41066 XXE, CVE-2025-7424, CVE-2025-11731)
- pyjwt >=2.13.0 (CVE-2026-32597 + 5 others)
- urllib3 >=2.7.0 (CVE-2025-50181/50182, CVE-2025-66418/66471)

Transitive dependencies (security floor pins):
- aiohttp >=3.14.0 (CVE-2026-34993 RCE, CVE-2026-47265)
- h11 >=0.16.0 (CVE-2025-43859 request smuggling)
- idna >=3.15 (CVE-2026-45409 DoS)
- jaraco.context >=6.1.0 (CVE-2026-23949 Zip Slip)
- Pillow >=12.2.0 (CVE-2026-25990 + 4 others)
- tornado >=6.5.5 (CVE-2024-52804 + 3 others)
- filelock >=3.20.3 (CVE-2025-68146 TOCTOU race)

Supersedes dependabot PRs #905 (cryptography) and #906 (jinja2).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants