Rapid7 Vulnerability & Exploit Database

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

Free InsightVM Trial No Credit Card Necessary
Watch Demo See how it all works
Back to Search

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

Severity
4
CVSS
(AV:L/AC:M/Au:N/C:P/I:P/A:P)
Published
02/07/2023
Created
05/05/2023
Added
04/14/2023
Modified
04/14/2023

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

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;