Summary
Python is an interpreted, interactive, object-oriented programming language, which includes modules, classes, exceptions, very high level dynamic data types and dynamic typing. Python supports interfaces to many system calls and libraries, as well as to various windowing systems.
Security Fix(es):
* python-psutil: Double free because of refcount mishandling (CVE-2019-18874)
* python-jinja2: ReDoS vulnerability in the urlize filter (CVE-2020-28493)
* python: Information disclosure via pydoc (CVE-2021-3426)
* python-babel: Relative path traversal allows attacker to load arbitrary locale files and execute arbitrary code (CVE-2021-20095, CVE-2021-42771)
* python: Web cache poisoning via urllib.parse.parse_qsl and urllib.parse.parse_qs by using a semicolon in query parameters (CVE-2021-23336)
* python-lxml: Missing input sanitization for formaction HTML5 attributes may lead to XSS (CVE-2021-28957)
* python-ipaddress: Improper input validation of octal strings (CVE-2021-29921)
* python-urllib3: ReDoS in the parsing of authority part of URL (CVE-2021-33503)
* python-pip: Incorrect handling of unicode separators in git references (CVE-2021-3572)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
Additional Changes:
For detailed information on changes in this release, see the AlmaLinux Release Notes linked from the References section.
Fixed packages 40
| Release | Package | Fixed in |
|---|---|---|
| AlmaLinux · 8 | python38-asn1crypto | 1.2.0-3.module_el8.6.0+2778+cd494b30 |
| AlmaLinux · 8 | python38-atomicwrites | 1.3.0-8.module_el8.6.0+2778+cd494b30 |
| AlmaLinux · 8 | python38-attrs | 19.3.0-3.module_el8.6.0+2778+cd494b30 |
| AlmaLinux · 8 | python38-babel | 2.7.0-11.module_el8.6.0+2778+cd494b30 |
| AlmaLinux · 8 | python38-cffi | 1.13.2-3.module_el8.6.0+2778+cd494b30 |
| AlmaLinux · 8 | python38-chardet | 3.0.4-19.module_el8.6.0+2778+cd494b30 |
| AlmaLinux · 8 | python38-cryptography | 2.8-3.module_el8.6.0+2778+cd494b30 |
| AlmaLinux · 8 | python38-Cython | 0.29.14-4.module_el8.6.0+2778+cd494b30 |
| AlmaLinux · 8 | python38-idna | 2.8-6.module_el8.6.0+2778+cd494b30 |
| AlmaLinux · 8 | python38-jinja2 | 2.10.3-5.module_el8.6.0+2778+cd494b30 |
| AlmaLinux · 8 | python38-markupsafe | 1.1.1-6.module_el8.6.0+2778+cd494b30 |
| AlmaLinux · 8 | python38-mod_wsgi | 4.6.8-3.module_el8.6.0+2778+cd494b30 |
| AlmaLinux · 8 | python38-more-itertools | 7.2.0-5.module_el8.6.0+2778+cd494b30 |
| AlmaLinux · 8 | python38-numpy | 1.17.3-6.module_el8.6.0+2778+cd494b30 |
| AlmaLinux · 8 | python38-numpy-doc | 1.17.3-6.module_el8.6.0+2778+cd494b30 |
| AlmaLinux · 8 | python38-numpy-f2py | 1.17.3-6.module_el8.6.0+2778+cd494b30 |
| AlmaLinux · 8 | python38-packaging | 19.2-3.module_el8.6.0+2778+cd494b30 |
| AlmaLinux · 8 | python38-pluggy | 0.13.0-3.module_el8.6.0+2778+cd494b30 |
| AlmaLinux · 8 | python38-ply | 3.11-10.module_el8.6.0+2778+cd494b30 |
| AlmaLinux · 8 | python38-psutil | 5.6.4-4.module_el8.6.0+2778+cd494b30 |
| AlmaLinux · 8 | python38-psycopg2 | 2.8.4-4.module_el8.6.0+2778+cd494b30 |
| AlmaLinux · 8 | python38-psycopg2-doc | 2.8.4-4.module_el8.6.0+2778+cd494b30 |
| AlmaLinux · 8 | python38-psycopg2-tests | 2.8.4-4.module_el8.6.0+2778+cd494b30 |
| AlmaLinux · 8 | python38-py | 1.8.0-8.module_el8.6.0+2778+cd494b30 |
| AlmaLinux · 8 | python38-pycparser | 2.19-3.module_el8.6.0+2778+cd494b30 |
| AlmaLinux · 8 | python38-PyMySQL | 0.10.1-1.module_el8.6.0+2778+cd494b30 |
| AlmaLinux · 8 | python38-pyparsing | 2.4.5-3.module_el8.6.0+2778+cd494b30 |
| AlmaLinux · 8 | python38-pysocks | 1.7.1-4.module_el8.6.0+2778+cd494b30 |
| AlmaLinux · 8 | python38-pytest | 4.6.6-3.module_el8.6.0+2778+cd494b30 |
| AlmaLinux · 8 | python38-pytz | 2019.3-3.module_el8.6.0+2778+cd494b30 |
| AlmaLinux · 8 | python38-pyyaml | 5.4.1-1.module_el8.6.0+2778+cd494b30 |
| AlmaLinux · 8 | python38-requests | 2.22.0-9.module_el8.6.0+2778+cd494b30 |
| AlmaLinux · 8 | python38-scipy | 1.3.1-4.module_el8.6.0+2778+cd494b30 |
| AlmaLinux · 8 | python38-setuptools | 41.6.0-5.module_el8.6.0+2778+cd494b30 |
| AlmaLinux · 8 | python38-setuptools-wheel | 41.6.0-5.module_el8.6.0+2778+cd494b30 |
| AlmaLinux · 8 | python38-six | 1.12.0-10.module_el8.6.0+2778+cd494b30 |
| AlmaLinux · 8 | python38-urllib3 | 1.25.7-5.module_el8.6.0+2778+cd494b30 |
| AlmaLinux · 8 | python38-wcwidth | 0.1.7-16.module_el8.6.0+2778+cd494b30 |
| AlmaLinux · 8 | python38-wheel | 0.33.6-6.module_el8.6.0+2778+cd494b30 |
| AlmaLinux · 8 | python38-wheel-wheel | 0.33.6-6.module_el8.6.0+2778+cd494b30 |
Vulnerabilities 11
-
High 7.8
Directory Traversal in Babel
Babel.Locale in Babel before 2.9.1 allows attackers to load arbitrary locale .dat files (containing serialized Python objects) via directory traversal, leading to code execution.
-
High 7.5
Double Free in psutil
psutil (aka python-psutil) through 5.6.5 can have a double free. This occurs because of refcount mishandling within a while or for loop that converts system data into a Python object.
-
High 7.5
Catastrophic backtracking in URL authority parser when passed URL containing many @ characters
An issue was discovered in urllib3 before 1.26.5. When provided with a URL containing many @ characters in the authority component, the authority regular expression exhibits catastrophic backtracking, causing a denial of service if a URL were passed as a para…
-
Medium 6.1
lxml vulnerable to Cross-Site Scripting
An XSS vulnerability was discovered in python-lxml's clean module versions before 4.6.3. When disabling the safe_attrs_only and forms arguments, the Cleaner class does not remove the formaction attribute allowing for JS to bypass the sanitizer. A remote attac…
-
Medium 5.9CVE-2021-23336 EPSS 41%
Web Cache Poisoning
The package python/cpython from 0 and before 3.6.13, from 3.7.0 and before 3.7.10, from 3.8.0 and before 3.8.8, from 3.9.0 and before 3.9.2 are vulnerable to Web Cache Poisoning via urllib.parse.parse_qsl and urllib.parse.parse_qs by using a vector called par…
-
Medium 5.7
There's a flaw in Python 3's pydoc. A local or adjacent attacker who discovers or is able to convince another local or …
-
Medium 5.7CVE-2021-3572 Public exploit
Improper Input Validation in pip
A flaw was found in python-pip in the way it handled Unicode separators in git references. A remote attacker could possibly use this issue to install a different revision on a repository. The highest threat from this vulnerability is to data integrity. This i…
-
Medium 5.3
Regular Expression Denial of Service (ReDoS)
This affects the package jinja2 from 0.0.0 and before 2.11.3. The ReDoS vulnerability is mainly due to the `_punctuation_re regex` operator and its use of multiple wildcards. The last wildcard is the most exploitable as it searches for trailing punctuation. T…
-
Unscored —
In Python 3 through 3.9.0, the Lib/test/multibytecodec_support.py CJK codec tests call eval() on content retrieved via …
-
Unscored —CVE-2021-20095 Rejected
DO NOT USE THIS CANDIDATE NUMBER. ConsultIDs: none. Reason: This candidate was withdrawn by its CNA. Notes: none
-
Unscored —
In Python before 3,9,5, the ipaddress library mishandles leading zero characters in the octets of an IP address string.…
References
-
report
https://vulners.com/cve/CVE-2019-18874
-
report
https://vulners.com/cve/CVE-2020-27619
-
report
https://vulners.com/cve/CVE-2020-28493
-
report
https://vulners.com/cve/CVE-2021-20095
-
report
https://vulners.com/cve/CVE-2021-23336
-
report
https://vulners.com/cve/CVE-2021-28957
-
report
https://vulners.com/cve/CVE-2021-29921
-
report
https://vulners.com/cve/CVE-2021-33503
-
report
https://vulners.com/cve/CVE-2021-3426
-
report
https://vulners.com/cve/CVE-2021-3572
-
report
https://vulners.com/cve/CVE-2021-42771