CBL Mariner 2.0 Security Update: python3 (CVE-2024-12718)

critical Nessus Plugin ID 242399

Synopsis

The remote CBL Mariner host is missing one or more security updates.

Description

The version of python3 installed on the remote CBL Mariner 2.0 host is prior to tested version. It is, therefore, affected by a vulnerability as referenced in the CVE-2024-12718 advisory.

- Allows modifying some file metadata (e.g. last modified) with filter=data or file permissions (chmod) with filter=tar of files outside the extraction directory. You are affected by this vulnerability if using the tarfile module to extract untrusted tar archives using TarFile.extractall() or TarFile.extract() using the filter= parameter with a value of data or tar. See the tarfile extraction filters documentation https://docs.python.org/3/library/tarfile.html#tarfile-extraction-filter for more information. Only Python versions 3.12 or later are affected by these vulnerabilities, earlier versions don't include the extraction filter feature. Note that for Python 3.14 or later the default value of filter= changed from no filtering to `data, so if you are relying on this new default behavior then your usage is also affected. Note that none of these vulnerabilities significantly affect the installation of source distributions which are tar archives as source distributions already allow arbitrary code execution during the build process. However when evaluating source distributions it's important to avoid installing source distributions with suspicious links. (CVE-2024-12718)

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

Solution

Update the affected packages.

See Also

https://nvd.nist.gov/vuln/detail/CVE-2024-12718

Plugin Details

Severity: Critical

ID: 242399

File Name: mariner_CVE-2024-12718.nasl

Version: 1.1

Type: local

Published: 7/19/2025

Updated: 7/19/2025

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 2.2

CVSS v2

Risk Factor: High

Base Score: 8.7

Temporal Score: 6.4

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

CVSS Score Source: CVE-2024-12718

CVSS v3

Risk Factor: Medium

Base Score: 5.3

Temporal Score: 4.6

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

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

CVSS v4

Risk Factor: Critical

Base Score: 10

Threat Score: 9.1

Threat Vector: CVSS:4.0/E:U

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

Vulnerability Information

CPE: p-cpe:/a:microsoft:cbl-mariner:python3-libs, p-cpe:/a:microsoft:cbl-mariner:python3-test, x-cpe:/o:microsoft:cbl-mariner, p-cpe:/a:microsoft:cbl-mariner:python3, p-cpe:/a:microsoft:cbl-mariner:python3-pip, p-cpe:/a:microsoft:cbl-mariner:python3-curses, p-cpe:/a:microsoft:cbl-mariner:python3-devel, p-cpe:/a:microsoft:cbl-mariner:python3-tools, p-cpe:/a:microsoft:cbl-mariner:python3-debuginfo, p-cpe:/a:microsoft:cbl-mariner:python3-setuptools

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

Exploit Ease: No known exploits are available

Patch Publication Date: 7/8/2025

Vulnerability Publication Date: 6/3/2025

Reference Information

CVE: CVE-2024-12718

IAVA: 2025-A-0444