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: Unsafe use of eval() on data retrieved via HTTP in the test suite (CVE-2020-27619)
* python-jinja2: ReDoS vulnerability in the urlize filter (CVE-2020-28493)
* python-babel: Relative path traversal allows attacker to load arbitrary locale files and execute arbitrary code (CVE-2021-20095, CVE-2021-42771)
* python-pygments: Infinite loop in SML lexer may lead to DoS (CVE-2021-20270)
* 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-pygments: ReDoS in multiple lexers (CVE-2021-27291)
* python-lxml: Missing input sanitization for formaction HTML5 attributes may lead to XSS (CVE-2021-28957)
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 Rocky Linux 8.5 Release Notes linked from the References section.
Fixed packages 65
| Release | Package | Fixed in |
|---|---|---|
| Rocky Linux · 8 | babel | 0:2.5.1-10.module+el8.5.0+706+735ec4b3 |
| Rocky Linux · 8 | Cython | 0:0.28.1-7.module+el8.5.0+706+735ec4b3 |
| Rocky Linux · 8 | Cython | 0:0.28.1-7.module+el8.4.0+403+9ae17a31 |
| Rocky Linux · 8 | numpy | 1:1.14.2-16.module+el8.5.0+706+735ec4b3 |
| Rocky Linux · 8 | numpy | 1:1.14.2-16.module+el8.4.0+403+9ae17a31 |
| Rocky Linux · 8 | pytest | 0:3.4.2-13.module+el8.5.0+706+735ec4b3 |
| Rocky Linux · 8 | pytest | 0:3.4.2-13.module+el8.4.0+403+9ae17a31 |
| Rocky Linux · 8 | python-attrs | 0:17.4.0-10.module+el8.5.0+706+735ec4b3 |
| Rocky Linux · 8 | python-attrs | 0:17.4.0-10.module+el8.4.0+403+9ae17a31 |
| Rocky Linux · 8 | python-backports | 0:1.0-16.module+el8.4.0+403+9ae17a31 |
| Rocky Linux · 8 | python-backports-ssl_match_hostname | 0:3.5.0.1-12.module+el8.4.0+403+9ae17a31 |
| Rocky Linux · 8 | python-chardet | 0:3.0.4-10.module+el8.5.0+706+735ec4b3 |
| Rocky Linux · 8 | python-chardet | 0:3.0.4-10.module+el8.4.0+403+9ae17a31 |
| Rocky Linux · 8 | python-coverage | 0:4.5.1-4.module+el8.5.0+706+735ec4b3 |
| Rocky Linux · 8 | python-coverage | 0:4.5.1-4.module+el8.4.0+403+9ae17a31 |
| Rocky Linux · 8 | python-dns | 0:1.15.0-10.module+el8.7.0+1062+663ba31c |
| Rocky Linux · 8 | python-dns | 0:1.15.0-10.el8 |
| Rocky Linux · 8 | python-dns | 0:1.15.0-10.module+el8.4.0+403+9ae17a31 |
| Rocky Linux · 8 | python-docs | 0:2.7.16-2.module+el8.4.0+403+9ae17a31 |
| Rocky Linux · 8 | python-docutils | 0:0.14-12.module+el8.4.0+403+9ae17a31 |
| Rocky Linux · 8 | python-docutils | 0:0.14-12.module+el8.3.0+120+426d8baf |
| Rocky Linux · 8 | python-funcsigs | 0:1.0.2-13.module+el8.4.0+403+9ae17a31 |
| Rocky Linux · 8 | python-idna | 0:2.5-7.module+el8.5.0+706+735ec4b3 |
| Rocky Linux · 8 | python-idna | 0:2.5-7.module+el8.4.0+403+9ae17a31 |
| Rocky Linux · 8 | python-ipaddress | 0:1.0.18-6.module+el8.4.0+403+9ae17a31 |
| Rocky Linux · 8 | python-jinja2 | 0:2.10-9.module+el8.7.0+1062+663ba31c |
| Rocky Linux · 8 | python-jinja2 | 0:2.10-9.module+el8.5.0+706+735ec4b3 |
| Rocky Linux · 8 | python-lxml | 0:4.2.3-5.module+el8.5.0+706+735ec4b3 |
| Rocky Linux · 8 | python-markupsafe | 0:0.23-19.el8 |
| Rocky Linux · 8 | python-markupsafe | 0:0.23-19.module+el8.5.0+706+735ec4b3 |
| Rocky Linux · 8 | python-mock | 0:2.0.0-13.module+el8.4.0+403+9ae17a31 |
| Rocky Linux · 8 | python-nose | 0:1.3.7-31.module+el8.5.0+671+195e4563 |
| Rocky Linux · 8 | python-pluggy | 0:0.6.0-8.module+el8.5.0+706+735ec4b3 |
| Rocky Linux · 8 | python-pluggy | 0:0.6.0-8.module+el8.4.0+403+9ae17a31 |
| Rocky Linux · 8 | python-psycopg2 | 0:2.7.5-7.el8 |
| Rocky Linux · 8 | python-psycopg2 | 0:2.7.5-7.module+el8.5.0+706+735ec4b3 |
| Rocky Linux · 8 | python-py | 0:1.5.3-6.module+el8.5.0+706+735ec4b3 |
| Rocky Linux · 8 | python-py | 0:1.5.3-6.module+el8.4.0+403+9ae17a31 |
| Rocky Linux · 8 | python-pygments | 0:2.2.0-22.module+el8.5.0+671+195e4563 |
| Rocky Linux · 8 | python-pymongo | 0:3.7.0-1.module+el8.5.0+671+195e4563 |
| Rocky Linux · 8 | python-pymongo | 0:3.7.0-1.module+el8.4.0+597+ddf0ddea |
| Rocky Linux · 8 | python-PyMySQL | 0:0.8.0-10.module+el8.5.0+706+735ec4b3 |
| Rocky Linux · 8 | python-PyMySQL | 0:0.8.0-10.module+el8.3.0+120+426d8baf |
| Rocky Linux · 8 | python-pysocks | 0:1.6.8-6.module+el8.5.0+706+735ec4b3 |
| Rocky Linux · 8 | python-pysocks | 0:1.6.8-6.module+el8.4.0+403+9ae17a31 |
| Rocky Linux · 8 | python-pytest-mock | 0:1.9.0-4.module+el8.4.0+403+9ae17a31 |
| Rocky Linux · 8 | python-requests | 0:2.20.0-3.module+el8.5.0+706+735ec4b3 |
| Rocky Linux · 8 | python-requests | 0:2.20.0-3.module+el8.4.0+403+9ae17a31 |
| Rocky Linux · 8 | python-setuptools_scm | 0:1.15.7-6.module+el8.4.0+403+9ae17a31 |
| Rocky Linux · 8 | python-sqlalchemy | 0:1.3.2-2.module+el8.4.0+403+9ae17a31 |
| Rocky Linux · 8 | python-sqlalchemy | 0:1.3.2-2.module+el8.3.0+120+426d8baf |
| Rocky Linux · 8 | python-urllib3 | 0:1.24.2-3.module+el8.5.0+706+735ec4b3 |
| Rocky Linux · 8 | python-urllib3 | 0:1.24.2-3.module+el8.4.0+403+9ae17a31 |
| Rocky Linux · 8 | python-virtualenv | 0:15.1.0-21.module+el8.5.0+671+195e4563 |
| Rocky Linux · 8 | python-wheel | 1:0.31.1-3.module+el8.5.0+671+195e4563 |
| Rocky Linux · 8 | python2 | 0:2.7.18-7.module+el8.5.0+706+735ec4b3.rocky.0.1 |
| Rocky Linux · 8 | python2-pip | 0:9.0.3-18.module+el8.4.0+403+9ae17a31 |
| Rocky Linux · 8 | python2-rpm-macros | 0:3-38.module+el8.4.0+403+9ae17a31 |
| Rocky Linux · 8 | python2-setuptools | 0:39.0.1-13.module+el8.4.0+403+9ae17a31 |
| Rocky Linux · 8 | python2-six | 0:1.11.0-6.module+el8.4.0+403+9ae17a31 |
| Rocky Linux · 8 | pytz | 0:2017.2-12.module+el8.5.0+706+735ec4b3 |
| Rocky Linux · 8 | pytz | 0:2017.2-12.module+el8.4.0+403+9ae17a31 |
| Rocky Linux · 8 | PyYAML | 0:3.12-16.module+el8.5.0+706+735ec4b3 |
| Rocky Linux · 8 | PyYAML | 0:3.12-16.module+el8.4.0+403+9ae17a31 |
| Rocky Linux · 8 | scipy | 0:1.0.0-21.module+el8.5.0+671+195e4563 |
Vulnerabilities 8
-
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
Infinite Loop in Pygments
An infinite loop in SMLLexer in Pygments versions 1.5 to 2.7.3 may lead to denial of service when performing syntax highlighting of a Standard ML (SML) source file, as demonstrated by input that only contains the "exception" keyword.
-
High 7.5
Pygments vulnerable to Regular Expression Denial of Service (ReDoS)
In pygments 1.1+, fixed in 2.7.4, the lexers used to parse programming languages rely heavily on regular expressions. Some of the regular expressions have exponential or cubic worst-case complexity and are vulnerable to ReDoS. By crafting malicious input, an …
-
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.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
References
-
report
https://bugzilla.redhat.com/show_bug.cgi?id=1889886
-
report
https://bugzilla.redhat.com/show_bug.cgi?id=1922136
-
report
https://bugzilla.redhat.com/show_bug.cgi?id=1928707
-
report
https://bugzilla.redhat.com/show_bug.cgi?id=1928904
-
report
https://bugzilla.redhat.com/show_bug.cgi?id=1940603
-
report
https://bugzilla.redhat.com/show_bug.cgi?id=1941534
-
report
https://bugzilla.redhat.com/show_bug.cgi?id=1945483
-
report
https://bugzilla.redhat.com/show_bug.cgi?id=1955615