Oracle Linux 8 : python27:2.7 (ELSA-2021-1761)

critical Nessus Plugin ID 152764
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

Synopsis

The remote Oracle Linux host is missing one or more security updates.

Description

The remote Oracle Linux 8 host has packages installed that are affected by multiple vulnerabilities as referenced in the ELSA-2021-1761 advisory.

- urllib3 before 1.25.9 allows CRLF injection if the attacker controls the HTTP request method, as demonstrated by inserting CR and LF control characters in the first argument of putrequest(). NOTE: this is similar to CVE-2020-26116. (CVE-2020-26137)

- http.client in Python 3.x before 3.5.10, 3.6.x before 3.6.12, 3.7.x before 3.7.9, and 3.8.x before 3.8.5 allows CRLF injection if the attacker controls the HTTP request method, as demonstrated by inserting CR and LF control characters in the first argument of HTTPConnection.request. (CVE-2020-26116)

- Python 3.x through 3.9.1 has a buffer overflow in PyCArg_repr in _ctypes/callproc.c, which may lead to remote code execution in certain Python applications that accept floating-point numbers as untrusted input, as demonstrated by a 1e300 argument to c_double.from_param. This occurs because sprintf is used unsafely. (CVE-2021-3177)

- A XSS vulnerability was discovered in python-lxml's clean module. The module's parser didn't properly imitate browsers, which caused different behaviors between the sanitizer and the user's page. A remote attacker could exploit this flaw to run arbitrary HTML/JS code. (CVE-2020-27783)

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://linux.oracle.com/errata/ELSA-2021-1761.html

Plugin Details

Severity: Critical

ID: 152764

File Name: oraclelinux_ELSA-2021-1761.nasl

Version: 1.2

Type: local

Agent: unix

Published: 8/24/2021

Updated: 8/24/2021

Dependencies: ssh_get_info.nasl

Risk Information

CVSS Score Source: CVE-2021-3177

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

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

Temporal Vector: E:U/RL:OF/RC:C

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

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

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

Vulnerability Information

CPE: cpe:/o:oracle:linux:8, p-cpe:/a:oracle:linux:babel, p-cpe:/a:oracle:linux:python-nose-docs, p-cpe:/a:oracle:linux:python-psycopg2-doc, p-cpe:/a:oracle:linux:python-sqlalchemy-doc, p-cpe:/a:oracle:linux:python2, p-cpe:/a:oracle:linux:python2-Cython, p-cpe:/a:oracle:linux:python2-PyMySQL, p-cpe:/a:oracle:linux:python2-attrs, p-cpe:/a:oracle:linux:python2-babel, p-cpe:/a:oracle:linux:python2-backports, p-cpe:/a:oracle:linux:python2-backports-ssl_match_hostname, p-cpe:/a:oracle:linux:python2-bson, p-cpe:/a:oracle:linux:python2-chardet, p-cpe:/a:oracle:linux:python2-coverage, p-cpe:/a:oracle:linux:python2-debug, p-cpe:/a:oracle:linux:python2-devel, p-cpe:/a:oracle:linux:python2-dns, p-cpe:/a:oracle:linux:python2-docs, p-cpe:/a:oracle:linux:python2-docs-info, p-cpe:/a:oracle:linux:python2-docutils, p-cpe:/a:oracle:linux:python2-funcsigs, p-cpe:/a:oracle:linux:python2-idna, p-cpe:/a:oracle:linux:python2-ipaddress, p-cpe:/a:oracle:linux:python2-jinja2, p-cpe:/a:oracle:linux:python2-libs, p-cpe:/a:oracle:linux:python2-lxml, p-cpe:/a:oracle:linux:python2-markupsafe, p-cpe:/a:oracle:linux:python2-mock, p-cpe:/a:oracle:linux:python2-nose, p-cpe:/a:oracle:linux:python2-numpy, p-cpe:/a:oracle:linux:python2-numpy-doc, p-cpe:/a:oracle:linux:python2-numpy-f2py, p-cpe:/a:oracle:linux:python2-pip, p-cpe:/a:oracle:linux:python2-pip-wheel, p-cpe:/a:oracle:linux:python2-pluggy, p-cpe:/a:oracle:linux:python2-psycopg2, p-cpe:/a:oracle:linux:python2-psycopg2-debug, p-cpe:/a:oracle:linux:python2-psycopg2-tests, p-cpe:/a:oracle:linux:python2-py, p-cpe:/a:oracle:linux:python2-pygments, p-cpe:/a:oracle:linux:python2-pymongo, p-cpe:/a:oracle:linux:python2-pymongo-gridfs, p-cpe:/a:oracle:linux:python2-pysocks, p-cpe:/a:oracle:linux:python2-pytest, p-cpe:/a:oracle:linux:python2-pytest-mock, p-cpe:/a:oracle:linux:python2-pytz, p-cpe:/a:oracle:linux:python2-pyyaml, p-cpe:/a:oracle:linux:python2-requests, p-cpe:/a:oracle:linux:python2-rpm-macros, p-cpe:/a:oracle:linux:python2-scipy, p-cpe:/a:oracle:linux:python2-setuptools, p-cpe:/a:oracle:linux:python2-setuptools-wheel, p-cpe:/a:oracle:linux:python2-setuptools_scm, p-cpe:/a:oracle:linux:python2-six, p-cpe:/a:oracle:linux:python2-sqlalchemy, p-cpe:/a:oracle:linux:python2-test, p-cpe:/a:oracle:linux:python2-tkinter, p-cpe:/a:oracle:linux:python2-tools, p-cpe:/a:oracle:linux:python2-urllib3, p-cpe:/a:oracle:linux:python2-virtualenv, p-cpe:/a:oracle:linux:python2-wheel, p-cpe:/a:oracle:linux:python2-wheel-wheel

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

Exploit Ease: No known exploits are available

Patch Publication Date: 5/25/2021

Vulnerability Publication Date: 7/30/2020

Reference Information

CVE: CVE-2020-26116, CVE-2020-26137, CVE-2020-27783, CVE-2021-3177

IAVA: 2020-A-0340-S, 2021-A-0052-S