QID 356791

Date Published: 2023-12-18

QID 356791: Amazon Linux Security Advisory for python-cryptography : ALAS2023-2023-459

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. (
( CVE-2023-23931)



Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.

Successful exploitation of this vulnerability could lead to a securitybreach or could affect integrity, availability, and confidentiality.

  • CVSS V3 rated as High - 6.5 severity.
  • CVSS V2 rated as Medium - 5.4 severity.
  • Solution
    Please refer to Amazon advisory: ALAS2023-2023-459 for affected packages and patching details, or update with your package manager.
    Vendor References

    CVEs related to QID 356791

    Software Advisories
    Advisory ID Software Component Link
    ALAS2023-2023-459 amazon linux 2023 URL Logo alas.aws.amazon.com/AL2023/ALAS-2023-459.html