SB2021060234 - Ubuntu update for python-django



SB2021060234 - Ubuntu update for python-django

Published: June 2, 2021

Security Bulletin ID SB2021060234
Severity
Medium
Patch available
YES
Number of vulnerabilities 3
Exploitation vector Remote access
Highest impact Information disclosure

Breakdown by Severity

Medium 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 3 secuirty vulnerabilities.


1) HTTP response splitting (CVE-ID: CVE-2021-32052)

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+.


2) Path traversal (CVE-ID: CVE-2021-33203)

The vulnerability allows a remote attacker to perform directory traversal attacks.

The vulnerability exists due to input validation error when processing directory traversal sequences within the "admindocs" view. A remote authenticated attacker can send a specially crafted HTTP request and read arbitrary files on the system.


3) Server-Side Request Forgery (SSRF) (CVE-ID: CVE-2021-33571)

The disclosed vulnerability allows a remote attacker to perform SSRF attacks.

The vulnerability exists due to insufficient validation of user-supplied input in the "URLValidator", "validate_ipv4_address()" and "validate_ipv46_address()" . A remote attacker can send a specially crafted HTTP request and trick the application to initiate requests to arbitrary systems.

Successful exploitation of this vulnerability may allow a remote attacker gain access to sensitive data, located in the local network or send malicious requests to other servers from the vulnerable system.


Remediation

Install update from vendor's website.