]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
python3-cryptography: fix for CVE-2023-23931
authorNarpat Mali <narpat.mali@windriver.com>
Fri, 5 May 2023 16:53:53 +0000 (16:53 +0000)
committerSteve Sakoman <steve@sakoman.com>
Fri, 5 May 2023 18:55:27 +0000 (08:55 -1000)
commit368e450c2d800790a05924519f34c579e28e9cbb
tree2a6f9eb6ec02a3555501b2be2ae3e5657bf6fde9
parente24e16974e81a0f62dd6f5862a465fc74ad751d3
python3-cryptography: fix for 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.

Signed-off-by: Narpat Mali <narpat.mali@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-devtools/python/python3-cryptography/CVE-2023-23931.patch [new file with mode: 0644]
meta/recipes-devtools/python/python3-cryptography_36.0.2.bb