Debian dla-3331 : python-cryptography - security update

critical Nessus Plugin ID 171749

Synopsis

The remote Debian host is missing a security-related update.

Description

The remote Debian 10 host has packages installed that are affected by a vulnerability as referenced in the dla-3331 advisory.

- ------------------------------------------------------------------------- Debian LTS Advisory DLA-3331-2 [email protected] https://www.debian.org/lts/security/ Chris Lamb February 27, 2023 https://wiki.debian.org/LTS
- -------------------------------------------------------------------------

Package : python-cryptography Version : 2.6.1-3+deb10u4 CVE ID : CVE-2023-23931

It was discovered that there was a regression in the previous fix for python-cryptography, a Python library offering a number of encryption and cryptography primitives.

The original issue was that there was a potential memory corrution vulnerability. However, the change introduced a regression due to incorrectly backporting upstream's patch to the (older) version in Debian LTS.

For Debian 10 buster, this problem has been fixed in version 2.6.1-3+deb10u4.

We recommend that you upgrade your python-cryptography packages.

For the detailed security status of python-cryptography please refer to its security tracker page at:
https://security-tracker.debian.org/tracker/python-cryptography

Further information about Debian LTS security advisories, how to apply these updates to your system and frequently asked questions can be found at: https://wiki.debian.org/LTS

Tenable has extracted the preceding description block directly from the Debian security advisory.

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade the python-cryptography packages.

See Also

http://www.nessus.org/u?3f917c18

https://security-tracker.debian.org/tracker/CVE-2023-23931

https://packages.debian.org/source/buster/python-cryptography

Plugin Details

Severity: Critical

ID: 171749

File Name: debian_DLA-3331.nasl

Version: 1.2

Type: local

Agent: unix

Published: 2/21/2023

Updated: 1/22/2025

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.3

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 5

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:P/A:P

CVSS Score Source: CVE-2023-23931

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.9

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

CVSS v4

Risk Factor: Critical

Base Score: 9.3

Threat Score: 8.9

Threat Vector: CVSS:4.0/E:P

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Vulnerability Information

CPE: cpe:/o:debian:debian_linux:10.0, p-cpe:/a:debian:debian_linux:python-cryptography, p-cpe:/a:debian:debian_linux:python3-cryptography, p-cpe:/a:debian:debian_linux:python-cryptography-doc

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2/21/2023

Vulnerability Publication Date: 2/7/2023

Reference Information

CVE: CVE-2023-23931