Описание
Security update for python-Django
This update for python-Django fixes the following issues:
Security issues fixed:
- CVE-2019-11358: Fixed prototype pollution.
- CVE-2019-12308: Fixed XSS in AdminURLFieldWidget (bsc#1136468)
- CVE-2019-12781: Fixed incorrect HTTP detection with reverse-proxy connecting via HTTPS (bsc#1139945).
- CVE-2019-14232: Fixed denial-of-service possibility in
django.utils.text.Truncator
(bsc#1142880). - CVE-2019-14233: Fixed denial-of-service possibility in
strip_tags()
(bsc#1142882). - CVE-2019-14234: Fixed SQL injection possibility in key and index lookups for
JSONField
/HStoreField
(bsc#1142883). - CVE-2019-14235: Fixed potential memory exhaustion in
django.utils.encoding.uri_to_iri()
(bsc#1142885).
Non-security issues fixed:
- Fixed a migration crash on PostgreSQL when adding a check constraint with a contains lookup on DateRangeField or DateTimeRangeField, if the right hand side of an expression is the same type.
Список пакетов
openSUSE Leap 15.1
Ссылки
- E-Mail link for openSUSE-SU-2019:1839-1
- SUSE Security Ratings
- SUSE Bug 1136468
- SUSE Bug 1139945
- SUSE Bug 1142880
- SUSE Bug 1142882
- SUSE Bug 1142883
- SUSE Bug 1142885
- SUSE CVE CVE-2019-11358 page
- SUSE CVE CVE-2019-12308 page
- SUSE CVE CVE-2019-12781 page
- SUSE CVE CVE-2019-14232 page
- SUSE CVE CVE-2019-14233 page
- SUSE CVE CVE-2019-14234 page
- SUSE CVE CVE-2019-14235 page
Описание
jQuery before 3.4.0, as used in Drupal, Backdrop CMS, and other products, mishandles jQuery.extend(true, {}, ...) because of Object.prototype pollution. If an unsanitized source object contained an enumerable __proto__ property, it could extend the native Object.prototype.
Затронутые продукты
Ссылки
- CVE-2019-11358
Описание
An issue was discovered in Django 1.11 before 1.11.21, 2.1 before 2.1.9, and 2.2 before 2.2.2. The clickable Current URL value displayed by the AdminURLFieldWidget displays the provided value without validating it as a safe URL. Thus, an unvalidated value stored in the database, or a value provided as a URL query parameter payload, could result in an clickable JavaScript link.
Затронутые продукты
Ссылки
- CVE-2019-12308
- SUSE Bug 1136468
Описание
An issue was discovered in Django 1.11 before 1.11.22, 2.1 before 2.1.10, and 2.2 before 2.2.3. An HTTP request is not redirected to HTTPS when the SECURE_PROXY_SSL_HEADER and SECURE_SSL_REDIRECT settings are used, and the proxy connects to Django via HTTPS. In other words, django.http.HttpRequest.scheme has incorrect behavior when a client uses HTTP.
Затронутые продукты
Ссылки
- CVE-2019-12781
- SUSE Bug 1124991
- SUSE Bug 1139945
Описание
An issue was discovered in Django 1.11.x before 1.11.23, 2.1.x before 2.1.11, and 2.2.x before 2.2.4. If django.utils.text.Truncator's chars() and words() methods were passed the html=True argument, they were extremely slow to evaluate certain inputs due to a catastrophic backtracking vulnerability in a regular expression. The chars() and words() methods are used to implement the truncatechars_html and truncatewords_html template filters, which were thus vulnerable.
Затронутые продукты
Ссылки
- CVE-2019-14232
- SUSE Bug 1142880
- SUSE Bug 1215978
- SUSE Bug 1220358
Описание
An issue was discovered in Django 1.11.x before 1.11.23, 2.1.x before 2.1.11, and 2.2.x before 2.2.4. Due to the behaviour of the underlying HTMLParser, django.utils.html.strip_tags would be extremely slow to evaluate certain inputs containing large sequences of nested incomplete HTML entities.
Затронутые продукты
Ссылки
- CVE-2019-14233
- SUSE Bug 1142882
Описание
An issue was discovered in Django 1.11.x before 1.11.23, 2.1.x before 2.1.11, and 2.2.x before 2.2.4. Due to an error in shallow key transformation, key and index lookups for django.contrib.postgres.fields.JSONField, and key lookups for django.contrib.postgres.fields.HStoreField, were subject to SQL injection. This could, for example, be exploited via crafted use of "OR 1=1" in a key or index name to return all records, using a suitably crafted dictionary, with dictionary expansion, as the **kwargs passed to the QuerySet.filter() function.
Затронутые продукты
Ссылки
- CVE-2019-14234
- SUSE Bug 1142883
Описание
An issue was discovered in Django 1.11.x before 1.11.23, 2.1.x before 2.1.11, and 2.2.x before 2.2.4. If passed certain inputs, django.utils.encoding.uri_to_iri could lead to significant memory usage due to a recursion when repercent-encoding invalid UTF-8 octet sequences.
Затронутые продукты
Ссылки
- CVE-2019-14235
- SUSE Bug 1142885