vulnerability

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
Feb 7, 2023
Added
Apr 14, 2023
Modified
Jan 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-cryptographyfreebsd-upgrade-package-py311-cryptographyfreebsd-upgrade-package-py37-cryptographyfreebsd-upgrade-package-py38-cryptographyfreebsd-upgrade-package-py39-cryptography
Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.