CentOS 8 : python27:2.7 (CESA-2023:2860)

high Nessus Plugin ID 175856

Synopsis

The remote CentOS host is missing a security update.

Description

The remote CentOS Linux 8 host has packages installed that are affected by a vulnerability as referenced in the CESA-2023:2860 advisory.

- An issue was discovered in Python before 3.11.1. An unnecessary quadratic algorithm exists in one path when processing some inputs to the IDNA (RFC 3490) decoder, such that a crafted, unreasonably long name being presented to the decoder could lead to a CPU denial of service. Hostnames are often supplied by remote servers that could be controlled by a malicious actor; in such a scenario, they could trigger excessive CPU consumption on the client attempting to make use of an attacker-supplied supposed hostname.
For example, the attack payload could be placed in the Location header of an HTTP response with status code 302. A fix is planned in 3.11.1, 3.10.9, 3.9.16, 3.8.16, and 3.7.16. (CVE-2022-45061)

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://access.redhat.com/errata/RHSA-2023:2860

Plugin Details

Severity: High

ID: 175856

File Name: centos8_RHSA-2023-2860.nasl

Version: 1.7

Type: local

Agent: unix

Published: 5/16/2023

Updated: 2/8/2024

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

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.1

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

CVSS Score Source: CVE-2022-45061

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.7

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

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

Vulnerability Information

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

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 5/16/2023

Vulnerability Publication Date: 11/8/2022

Reference Information

CVE: CVE-2022-45061

RHSA: 2023:2860