Amazon Linux 2023 : python3-bson, python3-pymongo, python3-pymongo-gridfs (ALAS2023-2024-614)

medium Nessus Plugin ID 196920

Language:

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-2024-614 advisory.

- Versions of the package pymongo before 4.6.3 are vulnerable to Out-of-bounds Read in the bson module.
Using the crafted payload the attacker could force the parser to deserialize unmanaged memory. The parser tries to interpret bytes next to buffer and throws an exception with string. If the following bytes are not printable UTF-8 the parser throws an exception with a single byte. (CVE-2024-21506)

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-pymongo --releasever 2023.4.20240513' to update your system.

See Also

https://alas.aws.amazon.com/AL2023/ALAS-2024-614.html

https://alas.aws.amazon.com/cve/html/CVE-2024-21506.html

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

Plugin Details

Severity: Medium

ID: 196920

File Name: al2023_ALAS2023-2024-614.nasl

Version: 1.0

Type: local

Agent: unix

Published: 5/13/2024

Updated: 5/13/2024

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

Risk Information

CVSS v2

Risk Factor: High

Base Score: 8.5

Temporal Score: 6.3

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

CVSS Score Source: CVE-2024-21506

CVSS v3

Risk Factor: Medium

Base Score: 5.2

Temporal Score: 4.5

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

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

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:python3-pymongo, p-cpe:/a:amazon:linux:python3-bson-debuginfo, cpe:/o:amazon:linux:2023, p-cpe:/a:amazon:linux:python-pymongo-debugsource, p-cpe:/a:amazon:linux:python3-pymongo-debuginfo, p-cpe:/a:amazon:linux:python-pymongo-doc, p-cpe:/a:amazon:linux:python3-bson, p-cpe:/a:amazon:linux:python-pymongo-debuginfo, p-cpe:/a:amazon:linux:python3-pymongo-gridfs

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

Exploit Ease: No known exploits are available

Patch Publication Date: 5/9/2024

Vulnerability Publication Date: 4/6/2024

Reference Information

CVE: CVE-2024-21506