CVE-2021-23336

Inconsistent Interpretation of HTTP Requests (HTTP Request Smuggling) in pypi/Django

Identifiers

CVE-2021-23336

Package Slug

pypi/Django

Vulnerability

Inconsistent Interpretation of HTTP Requests (HTTP Request Smuggling)

Description

When the attacker can separate query parameters using a semicolon (;), they can cause a difference in the interpretation of the request between the proxy (running with default configuration) and the server. This can result in malicious requests being cached as completely safe ones, as the proxy would usually not see the semicolon as a separator, and therefore would not include it in a cache key of an unkeyed parameter.

Affected Versions

All versions starting from 2.2 before 2.2.19, all versions starting from 3.0 before 3.0.13, all versions starting from 3.1 before 3.1.7

Solution

Upgrade to versions 2.2.19, 3.0.13, 3.1.7 or above.

Last Modified

2021-04-30

source