Skip to content
OpenAdvisories
Medium ALAS2023-2023-459 1 CVE

Moderate: python-cryptography security update (Amazon Linux 2023)

Published Dec 6, 2023 · Updated Dec 14, 2023

Summary

Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities: 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.

Fixed packages 3

ReleasePackageFixed in
Amazon Linux · 2023 python-cryptography-debugsource 0:36.0.1-1.amzn2023.0.4
Amazon Linux · 2023 python3-cryptography 0:36.0.1-1.amzn2023.0.4
Amazon Linux · 2023 python3-cryptography-debuginfo 0:36.0.1-1.amzn2023.0.4

Vulnerabilities 1

  • Medium 4.8

    Cipher.update_into can corrupt memory in pyca cryptography

    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 a…

References

  • web
    https://alas.aws.amazon.com/cve/html/CVE-2023-23931.html