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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
4.8 MEDIUM
NETWORK
HIGH
NONE
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L
Base Score
CVSS 3.x
EPSS Score
Percentile: 72%
Affected Products (NVD)
VendorProductVersion
cryptography.iocryptography
1.8 ≤
𝑥
< 39.0.1
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
python-cryptography
bookworm
38.0.4-3+deb12u1
fixed
bookworm (security)
vulnerable
bullseye
vulnerable
bullseye (security)
3.3.2-1+deb11u1
fixed
sid
43.0.0-1
fixed
trixie
43.0.0-1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
python-cryptography
bionic
needed
focal
Fixed 2.8-3ubuntu0.2
released
jammy
Fixed 3.4.8-1ubuntu2.1
released
kinetic
ignored
lunar
Fixed 38.0.4-2ubuntu0.1
released
mantic
not-affected
noble
not-affected
oracular
not-affected
trusty
ignored
xenial
not-affected
openSUSE logo
openSUSE / SLES Releases
openSUSE Product
Release
python-cffi
suse enterprise sap 12 SP5
1.11.5-5.19.1
fixed
suse enterprise server 12 SP3
1.11.5-5.19.1
fixed
suse enterprise server 12 SP5
1.11.5-5.19.1
fixed
python-cryptography
suse enterprise sap 12 SP5
2.8-7.40.1
fixed
suse enterprise server 12 SP3
2.8-7.40.1
fixed
suse enterprise server 12 SP5
2.8-7.40.1
fixed
python2-cryptography
suse enterprise server 15 SP1
2.9.2-150100.7.12.1
fixed
python3-cffi
suse enterprise sap 12 SP5
1.11.5-5.19.1
fixed
suse enterprise server 12 SP3
1.11.5-5.19.1
fixed
suse enterprise server 12 SP5
1.11.5-5.19.1
fixed
python3-cryptography
suse enterprise sap 12 SP5
2.8-7.40.1
fixed
suse enterprise server 12 SP3
2.8-7.40.1
fixed
suse enterprise server 12 SP5
2.8-7.40.1
fixed
suse enterprise server 15 SP1
2.9.2-150100.7.12.1
fixed
Red Hat logo
Red Hat Enterprise Linux Releases
Red Hat Product
Release
python3-cryptography
RHEL 9
0:36.0.1-4.el9
fixed