CVE-2023-23931
Last modified
CVE-2023-23931 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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. EPSS estimates a 1.30% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Cryptography.Io | Cryptography | >= 1.8, < 39.0.1 |
References
- https://github.com/pyca/cryptography/security/advisories/GHSA-w7pp-m8wf-vj6rExploit, Vendor Advisory
- https://github.com/pyca/cryptography/security/advisories/GHSA-w7pp-m8wf-vj6rExploit, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2023-23931?
How severe is CVE-2023-23931?
How do I fix CVE-2023-23931?
Are you affected by CVE-2023-23931?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
