-
Notifications
You must be signed in to change notification settings - Fork 23
chore(deps): update dependency cryptography to v43 [security] #106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the Note Free review on us!CodeRabbit is offering free reviews until Wed Oct 08 2025 to showcase some of the refinements we've made. Comment |
c92dc17 to
3513a4e
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
3513a4e to
42333fa
Compare
42333fa to
4bc0bd2
Compare
4bc0bd2 to
ea721e5
Compare
1e7ffc6 to
0434d7e
Compare
0434d7e to
8347e17
Compare
8347e17 to
dc26f7c
Compare
dc26f7c to
0f0bd76
Compare
0f0bd76 to
11f487a
Compare
11f487a to
7620759
Compare
7620759 to
86e59dd
Compare
86e59dd to
46eae89
Compare
This PR contains the following updates:
>=41.0.0, <42.0.0->>=43.0.1, <43.0.2GitHub Vulnerability Alerts
CVE-2023-50782
A flaw was found in the python-cryptography package. This issue may allow a remote attacker to decrypt captured messages in TLS servers that use RSA key exchanges, which may lead to exposure of confidential or sensitive data.
CVE-2024-0727
Issue summary: Processing a maliciously formatted PKCS12 file may lead OpenSSL
to crash leading to a potential Denial of Service attack
Impact summary: Applications loading files in the PKCS12 format from untrusted
sources might terminate abruptly.
A file in PKCS12 format can contain certificates and keys and may come from an
untrusted source. The PKCS12 specification allows certain fields to be NULL, but
OpenSSL does not correctly check for this case. This can lead to a NULL pointer
dereference that results in OpenSSL crashing. If an application processes PKCS12
files from an untrusted source using the OpenSSL APIs then that application will
be vulnerable to this issue.
OpenSSL APIs that are vulnerable to this are: PKCS12_parse(),
PKCS12_unpack_p7data(), PKCS12_unpack_p7encdata(), PKCS12_unpack_authsafes()
and PKCS12_newpass().
We have also fixed a similar issue in SMIME_write_PKCS7(). However since this
function is related to writing data we do not consider it security significant.
The FIPS modules in 3.2, 3.1 and 3.0 are not affected by this issue.
CVE-2024-26130
If
pkcs12.serialize_key_and_certificatesis called with both:encryption_algorithmwithhmac_hashset (viaPrivateFormat.PKCS12.encryption_builder().hmac_hash(...)Then a NULL pointer dereference would occur, crashing the Python process.
This has been resolved, and now a
ValueErroris properly raised.Patched in https://github.com/pyca/cryptography/pull/10423
GHSA-h4gh-qq45-vh27
pyca/cryptography's wheels include a statically linked copy of OpenSSL. The versions of OpenSSL included in cryptography 37.0.0-43.0.0 are vulnerable to a security issue. More details about the vulnerability itself can be found in https://openssl-library.org/news/secadv/20240903.txt.
If you are building cryptography source ("sdist") then you are responsible for upgrading your copy of OpenSSL. Only users installing from wheels built by the cryptography project (i.e., those distributed on PyPI) need to update their cryptography versions.
Release Notes
pyca/cryptography (cryptography)
v43.0.1Compare Source
v43.0.0Compare Source
v42.0.8Compare Source
v42.0.7Compare Source
v42.0.6Compare Source
v42.0.5Compare Source
v42.0.4Compare Source
v42.0.3Compare Source
v42.0.2Compare Source
v42.0.1Compare Source
v42.0.0Compare Source
v41.0.7Compare Source
v41.0.6Compare Source
v41.0.5Compare Source
v41.0.4Compare Source
v41.0.3Compare Source
v41.0.2Compare Source
v41.0.1Compare Source
Configuration
📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 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.
This PR was generated by Mend Renovate. View the repository job log.