跳转到帖子

FreeBSD: VID-A32EF450-9781-414B-A944-39F2F61677F2 (CVE-2023-23931): py-cryptography -- allows programmers to misuse an API

recommended_posts

发布于
  • Members

FreeBSD: VID-A32EF450-9781-414B-A944-39F2F61677F2 (CVE-2023-23931): py-cryptography -- allows programmers to misuse an API

Severity
6
CVSS
(AV:N/AC:L/Au:N/C:N/I:P/A:P)
Published
02/07/2023
Created
05/05/2023
Added
04/14/2023
Modified
01/28/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.

Solution(s)

  • freebsd-upgrade-package-py310-cryptography
  • freebsd-upgrade-package-py311-cryptography
  • freebsd-upgrade-package-py37-cryptography
  • freebsd-upgrade-package-py38-cryptography
  • freebsd-upgrade-package-py39-cryptography

References

  • CVE-2023-23931
  • 查看数 694
  • 已创建
  • 最后回复

参与讨论

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

游客
回帖…