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?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2023
- CVE-2023-23926APOC (Awesome Procedures on Cypher) is an add-on library for…8.1
- CVE-2023-23927Craft is a platform for creating digital experiences. When y…5.4
- CVE-2023-23928reason-jose is a JOSE implementation in ReasonML and OCaml.`…9.8
- CVE-2023-23929vantage6 is a privacy preserving federated learning infrastr…8.8
- CVE-2023-2393A vulnerability was found in Netgear SRX5308 up to 4.3.5-3. …4.8
- CVE-2023-23930vantage6 is privacy preserving federated learning infrastruc…7.2
- CVE-2023-23932OpenDDS is an open source C++ implementation of the Object M…7.5
- CVE-2023-23933OpenSearch Anomaly Detection identifies atypical data and re…4.3
- CVE-2023-23934Werkzeug is a comprehensive WSGI web application library. Br…3.5
- CVE-2023-23935Discourse is an open-source messaging platform. In versions …4.3
- CVE-2023-23936Undici is an HTTP/1.1 client for Node.js. Starting with vers…5.4
- CVE-2023-23937Pimcore is an Open Source Data & Experience Management Platf…5.4
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
