You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cryptography NULL pointer deference with pkcs12.serialize_key_and_certificates when called with a non-matching certificate and private key and an hmac_hash override
#79
Open
sniffler-appbot opened this issue
Feb 21, 2024
· 0 comments
Description
If
pkcs12.serialize_key_and_certificates
is called with both:encryption_algorithm
withhmac_hash
set (viaPrivateFormat.PKCS12.encryption_builder().hmac_hash(...)
Then a NULL pointer dereference would occur, crashing the Python process.
This has been resolved, and now a
ValueError
is properly raised.Patched in pyca/cryptography#10423
Informations
Manifest Path: poetry.lock
Please look at dependabot report: https://github.com/lightspeed-hospitality/pre-commit-hooks/security/dependabot/19
The text was updated successfully, but these errors were encountered: