AlmaLinux 8 : python38:3.8 and python38-devel:3.8 (ALSA-2022:1764)

high Nessus Plugin ID 161112


The remote AlmaLinux host is missing one or more security updates.


The remote AlmaLinux 8 host has packages installed that are affected by multiple vulnerabilities as referenced in the ALSA-2022:1764 advisory.

- There's a flaw in urllib's AbstractBasicAuthHandler class. An attacker who controls a malicious HTTP server that an HTTP client (such as web browser) connects to, could trigger a Regular Expression Denial of Service (ReDOS) during an authentication request with a specially crafted payload that is sent by the server to the client. The greatest threat that this flaw poses is to application availability.

- A flaw was found in python. An improperly handled HTTP response in the HTTP client code of python may allow a remote attacker, who controls the HTTP server, to make the client script enter an infinite loop, consuming CPU time. The highest threat from this vulnerability is to system availability. (CVE-2021-3737)

- lxml is a library for processing XML and HTML in the Python language. Prior to version 4.6.5, the HTML Cleaner in lxml.html lets certain crafted script content pass through, as well as script content in SVG files embedded using data URIs. Users that employ the HTML cleaner in a security relevant context should upgrade to lxml 4.6.5 to receive a patch. There are no known workarounds available. (CVE-2021-43818)

- A flaw was found in Python, specifically within the urllib.parse module. This module helps break Uniform Resource Locator (URL) strings into components. The issue involves how the urlparse method does not sanitize input and allows characters like '\r' and '\n' in the URL path. This flaw allows an attacker to input a crafted URL, leading to injection attacks. This flaw affects Python versions prior to 3.10.0b1, 3.9.5, 3.8.11, 3.7.11 and 3.6.14. (CVE-2022-0391)

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


Update the affected packages.

See Also

Plugin Details

Severity: High

ID: 161112

File Name: alma_linux_ALSA-2022-1764.nasl

Version: 1.2

Type: local

Published: 5/12/2022

Updated: 5/12/2022

Risk Information


Risk Factor: Medium

Score: 4.9


Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5

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

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

CVSS Score Source: CVE-2021-43818


Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

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

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

CVSS Score Source: CVE-2022-0391

Vulnerability Information

CPE: p-cpe:/a:alma:linux:python38, p-cpe:/a:alma:linux:python38-Cython, p-cpe:/a:alma:linux:python38-PyMySQL, p-cpe:/a:alma:linux:python38-asn1crypto, p-cpe:/a:alma:linux:python38-babel, p-cpe:/a:alma:linux:python38-cffi, p-cpe:/a:alma:linux:python38-chardet, p-cpe:/a:alma:linux:python38-cryptography, p-cpe:/a:alma:linux:python38-debug, p-cpe:/a:alma:linux:python38-devel, p-cpe:/a:alma:linux:python38-idle, p-cpe:/a:alma:linux:python38-idna, p-cpe:/a:alma:linux:python38-jinja2, p-cpe:/a:alma:linux:python38-libs, p-cpe:/a:alma:linux:python38-lxml, p-cpe:/a:alma:linux:python38-markupsafe, p-cpe:/a:alma:linux:python38-mod_wsgi, p-cpe:/a:alma:linux:python38-numpy, p-cpe:/a:alma:linux:python38-numpy-doc, p-cpe:/a:alma:linux:python38-numpy-f2py, p-cpe:/a:alma:linux:python38-pip, p-cpe:/a:alma:linux:python38-pip-wheel, p-cpe:/a:alma:linux:python38-ply, p-cpe:/a:alma:linux:python38-psutil, p-cpe:/a:alma:linux:python38-psycopg2, p-cpe:/a:alma:linux:python38-psycopg2-doc, p-cpe:/a:alma:linux:python38-psycopg2-tests, p-cpe:/a:alma:linux:python38-pycparser, p-cpe:/a:alma:linux:python38-pysocks, p-cpe:/a:alma:linux:python38-pytz, p-cpe:/a:alma:linux:python38-pyyaml, p-cpe:/a:alma:linux:python38-requests, p-cpe:/a:alma:linux:python38-rpm-macros, p-cpe:/a:alma:linux:python38-scipy, p-cpe:/a:alma:linux:python38-setuptools, p-cpe:/a:alma:linux:python38-setuptools-wheel, p-cpe:/a:alma:linux:python38-six, p-cpe:/a:alma:linux:python38-test, p-cpe:/a:alma:linux:python38-tkinter, p-cpe:/a:alma:linux:python38-urllib3, p-cpe:/a:alma:linux:python38-wheel, p-cpe:/a:alma:linux:python38-wheel-wheel, cpe:/o:alma:linux:8

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

Exploit Ease: No known exploits are available

Patch Publication Date: 5/10/2022

Vulnerability Publication Date: 9/20/2021

Reference Information

CVE: CVE-2021-3733, CVE-2021-3737, CVE-2021-43818, CVE-2022-0391

ALSA: 2022:1764

IAVA: 2021-A-0497