Fedora Linux 8814 Published by

A python-cryptography security update has been released for Fedora 36.



SECURITY: Fedora 36 Update: python-cryptography-36.0.0-4.fc36


--------------------------------------------------------------------------------
Fedora Update Notification
FEDORA-2023-672f668f51
2023-03-10 01:37:02.422983
--------------------------------------------------------------------------------

Name : python-cryptography
Product : Fedora 36
Version : 36.0.0
Release : 4.fc36
URL :   https://cryptography.io/en/latest/
Summary : PyCA's cryptography library
Description :
cryptography is a package designed to expose cryptographic primitives and
recipes to Python developers.

--------------------------------------------------------------------------------
Update Information:

Security 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.
--------------------------------------------------------------------------------
ChangeLog:

* Wed Feb 22 2023 Christian Heimes - 36.0.0-4
- Fix CVE-2023-23931: Don't allow update_into to mutate immutable objects, resolves rhbz#2171820
- Fix FTBFS due to failing test_load_invalid_ec_key_from_pem and test_decrypt_invalid_decrypt, resolves rhbz#2171661
--------------------------------------------------------------------------------
References:

[ 1 ] Bug #2171817 - CVE-2023-23931 python-cryptography: memory corruption via immutable objects
  https://bugzilla.redhat.com/show_bug.cgi?id=2171817
--------------------------------------------------------------------------------

This update can be installed with the "dnf" update program. Use
su -c 'dnf upgrade --advisory FEDORA-2023-672f668f51' at the command
line. For more information, refer to the dnf documentation available at
  http://dnf.readthedocs.io/en/latest/command_ref.html#upgrade-command-label

All packages are signed with the Fedora Project GPG key. More details on the
GPG keys used by the Fedora Project can be found at
  https://fedoraproject.org/keys
--------------------------------------------------------------------------------
_______________________________________________