Ubuntu update for python-django



Published: 2022-04-11 | Updated: 2022-04-25
Risk High
Patch available YES
Number of vulnerabilities 3
CVE-ID CVE-2021-32052
CVE-2022-28346
CVE-2022-28347
CWE-ID CWE-113
CWE-89
Exploitation vector Network
Public exploit Public exploit code for vulnerability #2 is available.
Vulnerable software
Subscribe
Ubuntu
Operating systems & Components / Operating system

python3-django (Ubuntu package)
Operating systems & Components / Operating system package or component

python-django (Ubuntu package)
Operating systems & Components / Operating system package or component

Vendor Canonical Ltd.

Security Bulletin

This security bulletin contains information about 3 vulnerabilities.

1) HTTP response splitting

EUVDB-ID: #VU52942

Risk: Medium

CVSSv3.1:

CVE-ID: CVE-2021-32052

CWE-ID: CWE-113 - Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Response Splitting')

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform HTTP splitting attacks.

The vulnerability exists due to software does not correctly processes CRLF character sequences in URLValidator. A remote attacker can send specially crafted request containing CRLF sequence and make the application to send a split HTTP response.

Successful exploitation of the vulnerability may allow an attacker perform cache poisoning attack.

Note, the vulnerability affects Django installations on Python 3.9.5+.

Mitigation

Update the affected package python-django to the latest version.

Vulnerable software versions

Ubuntu: 21.10, 20.04, 18.04

python3-django (Ubuntu package): before 2:2.2.12-1ubuntu0.11

python-django (Ubuntu package): before 1:1.11.11-1ubuntu1.17


CPE2.3 External links

http://ubuntu.com/security/notices/USN-5373-1

Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?

2) SQL injection

EUVDB-ID: #VU62050

Risk: High

CVSSv3.1:

CVE-ID: CVE-2022-28346

CWE-ID: CWE-89 - Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Exploit availability: Yes

Description

The vulnerability allows a remote attacker to execute arbitrary SQL queries in database.

The vulnerability exists due to insufficient sanitization of user-supplied data within the QuerySet.annotate(), aggregate(), and extra() methods. A remote attacker can send a specially crafted request to the affected application and execute arbitrary SQL commands within the application database.

Successful exploitation of this vulnerability may allow a remote attacker to read, delete, modify data in database and gain complete control over the affected application.

Mitigation

Update the affected package python-django to the latest version.

Vulnerable software versions

Ubuntu: 21.10, 20.04, 18.04

python3-django (Ubuntu package): before 2:2.2.12-1ubuntu0.11

python-django (Ubuntu package): before 1:1.11.11-1ubuntu1.17


CPE2.3 External links

http://ubuntu.com/security/notices/USN-5373-1

Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?

3) SQL injection

EUVDB-ID: #VU62051

Risk: High

CVSSv3.1:

CVE-ID: CVE-2022-28347

CWE-ID: CWE-89 - Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Exploit availability: No

Description

The vulnerability allows a remote attacker to execute arbitrary SQL queries in database.

The vulnerability exists due to insufficient sanitization of user-supplied data within the QuerySet.explain() method. A remote attacker can send a specially crafted request to the affected application and execute arbitrary SQL commands within the application database.

Successful exploitation of this vulnerability may allow a remote attacker to read, delete, modify data in database and gain complete control over the affected application.

Mitigation

Update the affected package python-django to the latest version.

Vulnerable software versions

Ubuntu: 21.10, 20.04, 18.04

python3-django (Ubuntu package): before 2:2.2.12-1ubuntu0.11

python-django (Ubuntu package): before 1:1.11.11-1ubuntu1.17


CPE2.3 External links

http://ubuntu.com/security/notices/USN-5373-1

Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?



###SIDEBAR###