Vulnerability in Cryptography.io Cryptography

CVE-2023-23931

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.

Published · last modified .

CVSS v3 metric

CVSS v3 base score 4.8 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L.

EPSS exploit prediction

EPSS: 0.013 (70.0th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 70th percentile — 70.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2023-23931: held from 0.013 to 0.013.

EPSS over last 30 days · oldest: 0.013 · newest: 0.013 · change: 0.000

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2023-23931?
CVE-2023-23931 is a medium-severity vulnerability in Cryptography.io Cryptography, classified under Improper Check for Unusual or Exceptional Conditions. CVSS score: 4.8/10. Published 2023-02-07.
How severe is CVE-2023-23931?
Medium severity. CVSS v3 base score is 4.8 out of 10.