Rocky Linux 8 : python39:3.9 and python39-devel:3.9 (RLSA-2022:7592)

high Nessus Plugin ID 170775

Synopsis

The remote Rocky Linux host is missing a security update.

Description

The remote Rocky Linux 8 host has packages installed that are affected by a vulnerability as referenced in the RLSA-2022:7592 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://errata.rockylinux.org/RLSA-2022:7592

https://bugzilla.redhat.com/show_bug.cgi?id=2075390

https://bugzilla.redhat.com/show_bug.cgi?id=2095271

Plugin Details

Severity: High

ID: 170775

File Name: rocky_linux_RLSA-2022-7592.nasl

Version: 1.3

Type: local

Published: 1/30/2023

Updated: 11/6/2023

Supported Sensors: Continuous Assessment, 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:rocky:linux:python39, p-cpe:/a:rocky:linux:python39-pyparsing, p-cpe:/a:rocky:linux:python-psycopg2-debugsource, p-cpe:/a:rocky:linux:python39-six, p-cpe:/a:rocky:linux:python39-pip-wheel, p-cpe:/a:rocky:linux:python-cryptography-debugsource, p-cpe:/a:rocky:linux:numpy-debugsource, p-cpe:/a:rocky:linux:python39-numpy, p-cpe:/a:rocky:linux:python39-lxml-debuginfo, p-cpe:/a:rocky:linux:python39-scipy-debuginfo, p-cpe:/a:rocky:linux:python39-urllib3, p-cpe:/a:rocky:linux:python39-pytest, p-cpe:/a:rocky:linux:python39-mod_wsgi, p-cpe:/a:rocky:linux:python39-numpy-f2py, p-cpe:/a:rocky:linux:python39-libs, p-cpe:/a:rocky:linux:python39-psycopg2-debuginfo, cpe:/o:rocky:linux:8, p-cpe:/a:rocky:linux:python39-devel, p-cpe:/a:rocky:linux:python39-tkinter, p-cpe:/a:rocky:linux:python39-pycparser, p-cpe:/a:rocky:linux:pyyaml-debugsource, p-cpe:/a:rocky:linux:python39-cryptography-debuginfo, p-cpe:/a:rocky:linux:python39-ply, p-cpe:/a:rocky:linux:python39-idle, p-cpe:/a:rocky:linux:python39-requests, p-cpe:/a:rocky:linux:python39-cython, p-cpe:/a:rocky:linux:cython-debugsource, p-cpe:/a:rocky:linux:python39-test, p-cpe:/a:rocky:linux:python39-debugsource, p-cpe:/a:rocky:linux:python39-cryptography, p-cpe:/a:rocky:linux:python39-more-itertools, p-cpe:/a:rocky:linux:python39-numpy-debuginfo, p-cpe:/a:rocky:linux:python39-numpy-doc, p-cpe:/a:rocky:linux:python39-wheel, p-cpe:/a:rocky:linux:python39-pip, p-cpe:/a:rocky:linux:python39-psutil, p-cpe:/a:rocky:linux:python39-pluggy, p-cpe:/a:rocky:linux:python39-pybind11-devel, p-cpe:/a:rocky:linux:scipy-debugsource, p-cpe:/a:rocky:linux:python39-scipy, p-cpe:/a:rocky:linux:python39-cffi-debuginfo, p-cpe:/a:rocky:linux:python39-psutil-debuginfo, p-cpe:/a:rocky:linux:python39-setuptools-wheel, p-cpe:/a:rocky:linux:python39-lxml, p-cpe:/a:rocky:linux:python39-setuptools, p-cpe:/a:rocky:linux:python39-cython-debuginfo, p-cpe:/a:rocky:linux:python-cffi-debugsource, p-cpe:/a:rocky:linux:python-psutil-debugsource, p-cpe:/a:rocky:linux:python39-psycopg2-doc, p-cpe:/a:rocky:linux:python39-py, p-cpe:/a:rocky:linux:python39-idna, p-cpe:/a:rocky:linux:python39-debuginfo, p-cpe:/a:rocky:linux:python39-pybind11, p-cpe:/a:rocky:linux:python39-iniconfig, p-cpe:/a:rocky:linux:python39-attrs, p-cpe:/a:rocky:linux:python39-wcwidth, p-cpe:/a:rocky:linux:python39-rpm-macros, p-cpe:/a:rocky:linux:python39-debug, p-cpe:/a:rocky:linux:python39-toml, p-cpe:/a:rocky:linux:python39-cffi, p-cpe:/a:rocky:linux:python39-psycopg2, p-cpe:/a:rocky:linux:python39-pyyaml-debuginfo, p-cpe:/a:rocky:linux:python39-psycopg2-tests, p-cpe:/a:rocky:linux:python39-pysocks, p-cpe:/a:rocky:linux:python39-packaging, p-cpe:/a:rocky:linux:python39-pymysql, p-cpe:/a:rocky:linux:python39-pyyaml, p-cpe:/a:rocky:linux:python39-wheel-wheel, p-cpe:/a:rocky:linux:python39-chardet, p-cpe:/a:rocky:linux:python-lxml-debugsource

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 1/30/2023

Vulnerability Publication Date: 1/30/2023

Reference Information

CVE: CVE-2015-20107