Amazon Linux 2023 : python3-cryptography (ALAS2023-2023-459)

medium Nessus Plugin ID 186981

Synopsis

The remote Amazon Linux 2023 host is missing a security update.

Description

It is, therefore, affected by a vulnerability as referenced in the ALAS2023-2023-459 advisory.

- 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.
(CVE-2023-23931)

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

Solution

Run 'dnf update python-cryptography --releasever 2023.2.20231211' to update your system.

See Also

https://alas.aws.amazon.com/AL2023/ALAS-2023-459.html

https://alas.aws.amazon.com/cve/html/CVE-2023-23931.html

https://alas.aws.amazon.com/faqs.html

Plugin Details

Severity: Medium

ID: 186981

File Name: al2023_ALAS2023-2023-459.nasl

Version: 1.1

Type: local

Agent: unix

Published: 12/15/2023

Updated: 12/18/2023

Supported Sensors: Frictionless Assessment AWS, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Continuous Assessment, 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

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:python3-cryptography, p-cpe:/a:amazon:linux:python3-cryptography-debuginfo, p-cpe:/a:amazon:linux:python-cryptography-debugsource, cpe:/o:amazon:linux:2023

Required KB Items: Host/local_checks_enabled, Host/AmazonLinux/release, Host/AmazonLinux/rpm-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 12/6/2023

Vulnerability Publication Date: 2/7/2023

Reference Information

CVE: CVE-2023-23931