CBL Mariner 2.0 Security Update: python2 / python3 (CVE-2015-20107)

high Nessus Plugin ID 172912

Synopsis

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

Description

The version of python2 / 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-2015-20107 advisory.

- In Python (aka CPython) up to 3.10.8, the mailcap module does not add escape characters into commands discovered in the system mailcap file. This may allow attackers to inject shell commands into applications that call mailcap.findmatch with untrusted input (if they lack validation of user-provided filenames or arguments). The fix is also back-ported to 3.7, 3.8, 3.9 (CVE-2015-20107)

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-2015-20107

Plugin Details

Severity: High

ID: 172912

File Name: mariner_python2_python3_CVE-2015-20107.nasl

Version: 1.1

Type: local

Published: 3/20/2023

Updated: 8/29/2023

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.5

CVSS v2

Risk Factor: High

Base Score: 8

Temporal Score: 6.3

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

CVSS Score Source: CVE-2015-20107

CVSS v3

Risk Factor: High

Base Score: 7.6

Temporal Score: 6.8

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

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

Vulnerability Information

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

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 4/12/2022

Vulnerability Publication Date: 4/12/2022

Reference Information

CVE: CVE-2015-20107