跳转到帖子

Amazon Linux 2023: CVE-2023-23931: Medium priority package update for python-cryptography

recommended_posts

发布于
  • Members

Amazon Linux 2023: CVE-2023-23931: Medium priority package update for python-cryptography

Severity
6
CVSS
(AV:N/AC:L/Au:N/C:N/I:P/A:P)
Published
02/08/2023
Created
02/14/2025
Added
02/14/2025
Modified
02/14/2025

Description

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. A vulnerability was found in python-cryptography. In affected versions, `Cipher.update_into` would accept Python objects which implement the buffer protocol but provide only immutable buffers. This issue allows immutable objects (such as `bytes`) to be mutated, thus violating the fundamental rules of Python, resulting in corrupted output.

Solution(s)

  • amazon-linux-2023-upgrade-python3-cryptography
  • amazon-linux-2023-upgrade-python3-cryptography-debuginfo
  • amazon-linux-2023-upgrade-python-cryptography-debugsource

References

  • https://attackerkb.com/topics/cve-2023-23931
  • CVE - 2023-23931
  • https://alas.aws.amazon.com/AL2023/ALAS-2023-459.html
  • 查看数 697
  • 已创建
  • 最后回复

参与讨论

你可立刻发布并稍后注册。 如果你有帐户,立刻登录发布帖子。

游客
回帖…