RHEL 8 : python-django (RHSA-2020:1324)

critical Nessus Plugin ID 170305

Synopsis

The remote Red Hat host is missing one or more security updates.

Description

The remote Redhat Enterprise Linux 8 host has packages installed that are affected by multiple vulnerabilities as referenced in the RHSA-2020:1324 advisory.

- Django: Incorrect HTTP detection with reverse-proxy connecting via HTTPS (CVE-2019-12781)

- Django: backtracking in a regular expression in django.utils.text.Truncator leads to DoS (CVE-2019-14232)

- Django: the behavior of the underlying HTMLParser leading to DoS (CVE-2019-14233)

- Django: SQL injection possibility in key and index lookups for JSONField/HStoreField (CVE-2019-14234)

- Django: Potential memory exhaustion in django.utils.encoding.uri_to_iri() (CVE-2019-14235)

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

Solution

Update the affected python-django-bash-completion and / or python3-django packages.

See Also

https://access.redhat.com/security/cve/CVE-2019-12781

https://access.redhat.com/security/cve/CVE-2019-14232

https://access.redhat.com/security/cve/CVE-2019-14233

https://access.redhat.com/security/cve/CVE-2019-14234

https://access.redhat.com/security/cve/CVE-2019-14235

https://access.redhat.com/errata/RHSA-2020:1324

https://bugzilla.redhat.com/1724497

https://bugzilla.redhat.com/1734405

https://bugzilla.redhat.com/1734410

https://bugzilla.redhat.com/1734417

https://bugzilla.redhat.com/1734422

Plugin Details

Severity: Critical

ID: 170305

File Name: redhat-RHSA-2020-1324.nasl

Version: 1.1

Type: local

Agent: unix

Published: 1/23/2023

Updated: 5/25/2023

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

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

CVSS Score Source: CVE-2019-14234

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

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

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

Vulnerability Information

CPE: cpe:/o:redhat:enterprise_linux:8, p-cpe:/a:redhat:enterprise_linux:python-django-bash-completion, p-cpe:/a:redhat:enterprise_linux:python3-django

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

Exploit Ease: No known exploits are available

Patch Publication Date: 4/6/2020

Vulnerability Publication Date: 7/1/2019

Reference Information

CVE: CVE-2019-12781, CVE-2019-14232, CVE-2019-14233, CVE-2019-14234, CVE-2019-14235

CWE: 20, 358, 400, 444

RHSA: 2020:1324