cryptography
Affected
- introduced
1.8, fixed39.0.1(ecosystem)
Fixed versions
39.0.1
Fix
- Fixed version
39.0.1pip install --upgrade cryptography==39.0.1
Advisory
Also known as: CVE-2023-23931, GHSA-w7pp-m8wf-vj6r
The record has no summary.
cryptography is a package designed to expose cryptographic primitives and recipes to Python developers. In affected versions Cipher.update_into would accept Python objects which implement the buffer protocol, but provide only immutable buffers. This would allow immutable objects (such as bytes) to be mutated, thus violating fundamental rules of Python and resulting in corrupted output. This now correctly raises an exception. This issue has been present since update_into was originally introduced in cryptography 1.8.
Not rated by the source.
1.8, fixed 39.0.1 (ecosystem)39.0.1
39.0.1pip install --upgrade cryptography==39.0.1Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: PyPA Advisory Database · CC BY 4.0