CVE-2021-23336

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-23336
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-23336.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-23336
Aliases
Related
Published
2021-02-15T13:15:12Z
Modified
2024-10-12T07:01:21.298993Z
Severity
  • 5.9 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:H CVSS Calculator
Summary
[none]
Details

The package python/cpython from 0 and before 3.6.13, from 3.7.0 and before 3.7.10, from 3.8.0 and before 3.8.8, from 3.9.0 and before 3.9.2 are vulnerable to Web Cache Poisoning via urllib.parse.parseqsl and urllib.parse.parseqs by using a vector called parameter cloaking. 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.

References

Affected packages

Alpine:v3.12 / python3

Package

Name
python3
Purl
pkg:apk/alpine/python3?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.8.8-r0

Affected versions

3.*

3.1.3-r0
3.2.0-r0
3.2.3-r0
3.3.0-r0
3.3.2-r0
3.3.3-r0
3.3.4-r0
3.4.1-r0
3.4.2-r0
3.4.2-r1
3.4.3-r1
3.4.3-r2
3.5.0-r0
3.5.1-r0
3.5.1-r1
3.5.1-r2
3.5.1-r3
3.5.2-r0
3.5.2-r1
3.5.2-r2
3.5.2-r3
3.5.2-r4
3.5.2-r5
3.5.2-r6
3.5.2-r7
3.5.2-r8
3.5.2-r9
3.5.2-r10
3.6.0-r0
3.6.1-r0
3.6.1-r1
3.6.1-r2
3.6.1-r3
3.6.1-r4
3.6.2-r0
3.6.2-r1
3.6.2-r2
3.6.2-r3
3.6.3-r3
3.6.3-r4
3.6.3-r5
3.6.3-r6
3.6.3-r7
3.6.3-r8
3.6.3-r9
3.6.4-r0
3.6.4-r1
3.6.6-r0
3.6.6-r1
3.6.6-r2
3.6.6-r3
3.6.7-r0
3.6.8-r0
3.6.8-r1
3.6.8-r2
3.7.2-r0
3.7.3-r0
3.7.3-r1
3.7.4-r0
3.7.5-r0
3.7.5-r1
3.8.0-r0
3.8.1-r0
3.8.1-r1
3.8.1-r2
3.8.1-r3
3.8.2-r0
3.8.2-r1
3.8.2-r2
3.8.2-r3
3.8.2-r4
3.8.2-r5
3.8.2-r6
3.8.2-r7
3.8.3-r0
3.8.4-r0
3.8.5-r0
3.8.5-r1

Alpine:v3.13 / python3

Package

Name
python3
Purl
pkg:apk/alpine/python3?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.8.8-r0

Affected versions

3.*

3.1.3-r0
3.2.0-r0
3.2.3-r0
3.3.0-r0
3.3.2-r0
3.3.3-r0
3.3.4-r0
3.4.1-r0
3.4.2-r0
3.4.2-r1
3.4.3-r1
3.4.3-r2
3.5.0-r0
3.5.1-r0
3.5.1-r1
3.5.1-r2
3.5.1-r3
3.5.2-r0
3.5.2-r1
3.5.2-r2
3.5.2-r3
3.5.2-r4
3.5.2-r5
3.5.2-r6
3.5.2-r7
3.5.2-r8
3.5.2-r9
3.5.2-r10
3.6.0-r0
3.6.1-r0
3.6.1-r1
3.6.1-r2
3.6.1-r3
3.6.1-r4
3.6.2-r0
3.6.2-r1
3.6.2-r2
3.6.2-r3
3.6.3-r3
3.6.3-r4
3.6.3-r5
3.6.3-r6
3.6.3-r7
3.6.3-r8
3.6.3-r9
3.6.4-r0
3.6.4-r1
3.6.6-r0
3.6.6-r1
3.6.6-r2
3.6.6-r3
3.6.7-r0
3.6.8-r0
3.6.8-r1
3.6.8-r2
3.7.2-r0
3.7.3-r0
3.7.3-r1
3.7.4-r0
3.7.5-r0
3.7.5-r1
3.8.0-r0
3.8.1-r0
3.8.1-r1
3.8.1-r2
3.8.1-r3
3.8.2-r0
3.8.2-r1
3.8.2-r2
3.8.2-r3
3.8.2-r4
3.8.2-r5
3.8.2-r6
3.8.2-r7
3.8.3-r0
3.8.4-r0
3.8.5-r0
3.8.5-r1
3.8.5-r2
3.8.6-r0
3.8.7-r0
3.8.7-r1

Alpine:v3.14 / python3

Package

Name
python3
Purl
pkg:apk/alpine/python3?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.8.8-r0

Affected versions

3.*

3.1.3-r0
3.2.0-r0
3.2.3-r0
3.3.0-r0
3.3.2-r0
3.3.3-r0
3.3.4-r0
3.4.1-r0
3.4.2-r0
3.4.2-r1
3.4.3-r1
3.4.3-r2
3.5.0-r0
3.5.1-r0
3.5.1-r1
3.5.1-r2
3.5.1-r3
3.5.2-r0
3.5.2-r1
3.5.2-r2
3.5.2-r3
3.5.2-r4
3.5.2-r5
3.5.2-r6
3.5.2-r7
3.5.2-r8
3.5.2-r9
3.5.2-r10
3.6.0-r0
3.6.1-r0
3.6.1-r1
3.6.1-r2
3.6.1-r3
3.6.1-r4
3.6.2-r0
3.6.2-r1
3.6.2-r2
3.6.2-r3
3.6.3-r3
3.6.3-r4
3.6.3-r5
3.6.3-r6
3.6.3-r7
3.6.3-r8
3.6.3-r9
3.6.4-r0
3.6.4-r1
3.6.6-r0
3.6.6-r1
3.6.6-r2
3.6.6-r3
3.6.7-r0
3.6.8-r0
3.6.8-r1
3.6.8-r2
3.7.2-r0
3.7.3-r0
3.7.3-r1
3.7.4-r0
3.7.5-r0
3.7.5-r1
3.8.0-r0
3.8.1-r0
3.8.1-r1
3.8.1-r2
3.8.1-r3
3.8.2-r0
3.8.2-r1
3.8.2-r2
3.8.2-r3
3.8.2-r4
3.8.2-r5
3.8.2-r6
3.8.2-r7
3.8.3-r0
3.8.4-r0
3.8.5-r0
3.8.5-r1
3.8.5-r2
3.8.6-r0
3.8.7-r0
3.8.7-r1
3.8.7-r2
3.8.7-r3

Alpine:v3.15 / python3

Package

Name
python3
Purl
pkg:apk/alpine/python3?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.8.8-r0

Affected versions

3.*

3.1.3-r0
3.2.0-r0
3.2.3-r0
3.3.0-r0
3.3.2-r0
3.3.3-r0
3.3.4-r0
3.4.1-r0
3.4.2-r0
3.4.2-r1
3.4.3-r1
3.4.3-r2
3.5.0-r0
3.5.1-r0
3.5.1-r1
3.5.1-r2
3.5.1-r3
3.5.2-r0
3.5.2-r1
3.5.2-r2
3.5.2-r3
3.5.2-r4
3.5.2-r5
3.5.2-r6
3.5.2-r7
3.5.2-r8
3.5.2-r9
3.5.2-r10
3.6.0-r0
3.6.1-r0
3.6.1-r1
3.6.1-r2
3.6.1-r3
3.6.1-r4
3.6.2-r0
3.6.2-r1
3.6.2-r2
3.6.2-r3
3.6.3-r3
3.6.3-r4
3.6.3-r5
3.6.3-r6
3.6.3-r7
3.6.3-r8
3.6.3-r9
3.6.4-r0
3.6.4-r1
3.6.6-r0
3.6.6-r1
3.6.6-r2
3.6.6-r3
3.6.7-r0
3.6.8-r0
3.6.8-r1
3.6.8-r2
3.7.2-r0
3.7.3-r0
3.7.3-r1
3.7.4-r0
3.7.5-r0
3.7.5-r1
3.8.0-r0
3.8.1-r0
3.8.1-r1
3.8.1-r2
3.8.1-r3
3.8.2-r0
3.8.2-r1
3.8.2-r2
3.8.2-r3
3.8.2-r4
3.8.2-r5
3.8.2-r6
3.8.2-r7
3.8.3-r0
3.8.4-r0
3.8.5-r0
3.8.5-r1
3.8.5-r2
3.8.6-r0
3.8.7-r0
3.8.7-r1
3.8.7-r2
3.8.7-r3

Alpine:v3.16 / python3

Package

Name
python3
Purl
pkg:apk/alpine/python3?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.8.8-r0

Affected versions

3.*

3.1.3-r0
3.2.0-r0
3.2.3-r0
3.3.0-r0
3.3.2-r0
3.3.3-r0
3.3.4-r0
3.4.1-r0
3.4.2-r0
3.4.2-r1
3.4.3-r1
3.4.3-r2
3.5.0-r0
3.5.1-r0
3.5.1-r1
3.5.1-r2
3.5.1-r3
3.5.2-r0
3.5.2-r1
3.5.2-r2
3.5.2-r3
3.5.2-r4
3.5.2-r5
3.5.2-r6
3.5.2-r7
3.5.2-r8
3.5.2-r9
3.5.2-r10
3.6.0-r0
3.6.1-r0
3.6.1-r1
3.6.1-r2
3.6.1-r3
3.6.1-r4
3.6.2-r0
3.6.2-r1
3.6.2-r2
3.6.2-r3
3.6.3-r3
3.6.3-r4
3.6.3-r5
3.6.3-r6
3.6.3-r7
3.6.3-r8
3.6.3-r9
3.6.4-r0
3.6.4-r1
3.6.6-r0
3.6.6-r1
3.6.6-r2
3.6.6-r3
3.6.7-r0
3.6.8-r0
3.6.8-r1
3.6.8-r2
3.7.2-r0
3.7.3-r0
3.7.3-r1
3.7.4-r0
3.7.5-r0
3.7.5-r1
3.8.0-r0
3.8.1-r0
3.8.1-r1
3.8.1-r2
3.8.1-r3
3.8.2-r0
3.8.2-r1
3.8.2-r2
3.8.2-r3
3.8.2-r4
3.8.2-r5
3.8.2-r6
3.8.2-r7
3.8.3-r0
3.8.4-r0
3.8.5-r0
3.8.5-r1
3.8.5-r2
3.8.6-r0
3.8.7-r0
3.8.7-r1
3.8.7-r2
3.8.7-r3

Alpine:v3.17 / python3

Package

Name
python3
Purl
pkg:apk/alpine/python3?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.8.8-r0

Affected versions

3.*

3.1.3-r0
3.2.0-r0
3.2.3-r0
3.3.0-r0
3.3.2-r0
3.3.3-r0
3.3.4-r0
3.4.1-r0
3.4.2-r0
3.4.2-r1
3.4.3-r1
3.4.3-r2
3.5.0-r0
3.5.1-r0
3.5.1-r1
3.5.1-r2
3.5.1-r3
3.5.2-r0
3.5.2-r1
3.5.2-r2
3.5.2-r3
3.5.2-r4
3.5.2-r5
3.5.2-r6
3.5.2-r7
3.5.2-r8
3.5.2-r9
3.5.2-r10
3.6.0-r0
3.6.1-r0
3.6.1-r1
3.6.1-r2
3.6.1-r3
3.6.1-r4
3.6.2-r0
3.6.2-r1
3.6.2-r2
3.6.2-r3
3.6.3-r3
3.6.3-r4
3.6.3-r5
3.6.3-r6
3.6.3-r7
3.6.3-r8
3.6.3-r9
3.6.4-r0
3.6.4-r1
3.6.6-r0
3.6.6-r1
3.6.6-r2
3.6.6-r3
3.6.7-r0
3.6.8-r0
3.6.8-r1
3.6.8-r2
3.7.2-r0
3.7.3-r0
3.7.3-r1
3.7.4-r0
3.7.5-r0
3.7.5-r1
3.8.0-r0
3.8.1-r0
3.8.1-r1
3.8.1-r2
3.8.1-r3
3.8.2-r0
3.8.2-r1
3.8.2-r2
3.8.2-r3
3.8.2-r4
3.8.2-r5
3.8.2-r6
3.8.2-r7
3.8.3-r0
3.8.4-r0
3.8.5-r0
3.8.5-r1
3.8.5-r2
3.8.6-r0
3.8.7-r0
3.8.7-r1
3.8.7-r2
3.8.7-r3

Alpine:v3.18 / python3

Package

Name
python3
Purl
pkg:apk/alpine/python3?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.8.8-r0

Affected versions

3.*

3.1.3-r0
3.2.0-r0
3.2.3-r0
3.3.0-r0
3.3.2-r0
3.3.3-r0
3.3.4-r0
3.4.1-r0
3.4.2-r0
3.4.2-r1
3.4.3-r1
3.4.3-r2
3.5.0-r0
3.5.1-r0
3.5.1-r1
3.5.1-r2
3.5.1-r3
3.5.2-r0
3.5.2-r1
3.5.2-r2
3.5.2-r3
3.5.2-r4
3.5.2-r5
3.5.2-r6
3.5.2-r7
3.5.2-r8
3.5.2-r9
3.5.2-r10
3.6.0-r0
3.6.1-r0
3.6.1-r1
3.6.1-r2
3.6.1-r3
3.6.1-r4
3.6.2-r0
3.6.2-r1
3.6.2-r2
3.6.2-r3
3.6.3-r3
3.6.3-r4
3.6.3-r5
3.6.3-r6
3.6.3-r7
3.6.3-r8
3.6.3-r9
3.6.4-r0
3.6.4-r1
3.6.6-r0
3.6.6-r1
3.6.6-r2
3.6.6-r3
3.6.7-r0
3.6.8-r0
3.6.8-r1
3.6.8-r2
3.7.2-r0
3.7.3-r0
3.7.3-r1
3.7.4-r0
3.7.5-r0
3.7.5-r1
3.8.0-r0
3.8.1-r0
3.8.1-r1
3.8.1-r2
3.8.1-r3
3.8.2-r0
3.8.2-r1
3.8.2-r2
3.8.2-r3
3.8.2-r4
3.8.2-r5
3.8.2-r6
3.8.2-r7
3.8.3-r0
3.8.4-r0
3.8.5-r0
3.8.5-r1
3.8.5-r2
3.8.6-r0
3.8.7-r0
3.8.7-r1
3.8.7-r2
3.8.7-r3

Alpine:v3.19 / python3

Package

Name
python3
Purl
pkg:apk/alpine/python3?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.8.8-r0

Affected versions

3.*

3.1.3-r0
3.2.0-r0
3.2.3-r0
3.3.0-r0
3.3.2-r0
3.3.3-r0
3.3.4-r0
3.4.1-r0
3.4.2-r0
3.4.2-r1
3.4.3-r1
3.4.3-r2
3.5.0-r0
3.5.1-r0
3.5.1-r1
3.5.1-r2
3.5.1-r3
3.5.2-r0
3.5.2-r1
3.5.2-r2
3.5.2-r3
3.5.2-r4
3.5.2-r5
3.5.2-r6
3.5.2-r7
3.5.2-r8
3.5.2-r9
3.5.2-r10
3.6.0-r0
3.6.1-r0
3.6.1-r1
3.6.1-r2
3.6.1-r3
3.6.1-r4
3.6.2-r0
3.6.2-r1
3.6.2-r2
3.6.2-r3
3.6.3-r3
3.6.3-r4
3.6.3-r5
3.6.3-r6
3.6.3-r7
3.6.3-r8
3.6.3-r9
3.6.4-r0
3.6.4-r1
3.6.6-r0
3.6.6-r1
3.6.6-r2
3.6.6-r3
3.6.7-r0
3.6.8-r0
3.6.8-r1
3.6.8-r2
3.7.2-r0
3.7.3-r0
3.7.3-r1
3.7.4-r0
3.7.5-r0
3.7.5-r1
3.8.0-r0
3.8.1-r0
3.8.1-r1
3.8.1-r2
3.8.1-r3
3.8.2-r0
3.8.2-r1
3.8.2-r2
3.8.2-r3
3.8.2-r4
3.8.2-r5
3.8.2-r6
3.8.2-r7
3.8.3-r0
3.8.4-r0
3.8.5-r0
3.8.5-r1
3.8.5-r2
3.8.6-r0
3.8.7-r0
3.8.7-r1
3.8.7-r2
3.8.7-r3

Alpine:v3.20 / python3

Package

Name
python3
Purl
pkg:apk/alpine/python3?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.8.8-r0

Affected versions

3.*

3.1.3-r0
3.2.0-r0
3.2.3-r0
3.3.0-r0
3.3.2-r0
3.3.3-r0
3.3.4-r0
3.4.1-r0
3.4.2-r0
3.4.2-r1
3.4.3-r1
3.4.3-r2
3.5.0-r0
3.5.1-r0
3.5.1-r1
3.5.1-r2
3.5.1-r3
3.5.2-r0
3.5.2-r1
3.5.2-r2
3.5.2-r3
3.5.2-r4
3.5.2-r5
3.5.2-r6
3.5.2-r7
3.5.2-r8
3.5.2-r9
3.5.2-r10
3.6.0-r0
3.6.1-r0
3.6.1-r1
3.6.1-r2
3.6.1-r3
3.6.1-r4
3.6.2-r0
3.6.2-r1
3.6.2-r2
3.6.2-r3
3.6.3-r3
3.6.3-r4
3.6.3-r5
3.6.3-r6
3.6.3-r7
3.6.3-r8
3.6.3-r9
3.6.4-r0
3.6.4-r1
3.6.6-r0
3.6.6-r1
3.6.6-r2
3.6.6-r3
3.6.7-r0
3.6.8-r0
3.6.8-r1
3.6.8-r2
3.7.2-r0
3.7.3-r0
3.7.3-r1
3.7.4-r0
3.7.5-r0
3.7.5-r1
3.8.0-r0
3.8.1-r0
3.8.1-r1
3.8.1-r2
3.8.1-r3
3.8.2-r0
3.8.2-r1
3.8.2-r2
3.8.2-r3
3.8.2-r4
3.8.2-r5
3.8.2-r6
3.8.2-r7
3.8.3-r0
3.8.4-r0
3.8.5-r0
3.8.5-r1
3.8.5-r2
3.8.6-r0
3.8.7-r0
3.8.7-r1
3.8.7-r2
3.8.7-r3

Debian:11 / pypy3

Package

Name
pypy3
Purl
pkg:deb/debian/pypy3?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
7.3.3+dfsg-3

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / pypy3

Package

Name
pypy3
Purl
pkg:deb/debian/pypy3?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
7.3.3+dfsg-3

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / pypy3

Package

Name
pypy3
Purl
pkg:deb/debian/pypy3?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
7.3.3+dfsg-3

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:11 / python-django

Package

Name
python-django
Purl
pkg:deb/debian/python-django?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2:2.2.19-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / python-django

Package

Name
python-django
Purl
pkg:deb/debian/python-django?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2:2.2.19-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / python-django

Package

Name
python-django
Purl
pkg:deb/debian/python-django?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2:2.2.19-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:11 / python2.7

Package

Name
python2.7
Purl
pkg:deb/debian/python2.7?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.7.18-8+deb11u1

Affected versions

2.*

2.7.18-8

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:11 / python3.9

Package

Name
python3.9
Purl
pkg:deb/debian/python3.9?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.9.2-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Git / github.com/django/django

Affected ranges

Type
GIT
Repo
https://github.com/django/django
Events
Type
GIT
Repo
https://github.com/python/cpython
Events

Affected versions

2.*

2.2
2.2.1
2.2.10
2.2.11
2.2.12
2.2.13
2.2.14
2.2.15
2.2.16
2.2.17
2.2.18
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9