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.parse_qsl and urllib.parse.parse_qs 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.
The product acts as an intermediary HTTP agent (such as a proxy or firewall) in the data flow between two entities such as a client and server, but it does not interpret malformed HTTP requests or responses in ways that are consistent with how the messages will be processed by those entities that are at the ultimate destination.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Python | Python | * | 3.6.13 (excluding) |
Python | Python | 3.7.0 (including) | 3.7.10 (excluding) |
Python | Python | 3.8.0 (including) | 3.8.8 (excluding) |
Python | Python | 3.9.0 (including) | 3.9.2 (excluding) |
Red Hat Enterprise Linux 8 | RedHat | python3-0:3.6.8-37.el8 | * |
Red Hat Enterprise Linux 8 | RedHat | python27:2.7-8050020210811095446.3e7ace8b | * |
Red Hat Enterprise Linux 8 | RedHat | python38:3.8-8050020210811101222.e3d35cca | * |
Red Hat Enterprise Linux 8 | RedHat | python38-devel:3.8-8050020210811101222.e3d35cca | * |
Red Hat Enterprise Linux 8 | RedHat | python3-0:3.6.8-37.el8 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7 | RedHat | python27-babel-0:0.9.6-10.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7 | RedHat | python27-python-0:2.7.18-3.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7 | RedHat | python27-python-jinja2-0:2.6-16.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7 | RedHat | python27-python-pygments-0:1.5-5.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7 | RedHat | rh-python38-babel-0:2.7.0-12.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7 | RedHat | rh-python38-python-0:3.8.11-2.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7 | RedHat | rh-python38-python-cryptography-0:2.8-5.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7 | RedHat | rh-python38-python-jinja2-0:2.10.3-6.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7 | RedHat | rh-python38-python-lxml-0:4.4.1-7.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7 | RedHat | rh-python38-python-pip-0:19.3.1-2.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7 | RedHat | rh-python38-python-urllib3-0:1.25.7-7.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS | RedHat | python27-babel-0:0.9.6-10.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS | RedHat | python27-python-0:2.7.18-3.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS | RedHat | python27-python-jinja2-0:2.6-16.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS | RedHat | python27-python-pygments-0:1.5-5.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS | RedHat | rh-python38-babel-0:2.7.0-12.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS | RedHat | rh-python38-python-0:3.8.11-2.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS | RedHat | rh-python38-python-cryptography-0:2.8-5.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS | RedHat | rh-python38-python-jinja2-0:2.10.3-6.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS | RedHat | rh-python38-python-lxml-0:4.4.1-7.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS | RedHat | rh-python38-python-pip-0:19.3.1-2.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS | RedHat | rh-python38-python-urllib3-0:1.25.7-7.el7 | * |
Python-django | Ubuntu | bionic | * |
Python-django | Ubuntu | devel | * |
Python-django | Ubuntu | focal | * |
Python-django | Ubuntu | groovy | * |
Python-django | Ubuntu | hirsute | * |
Python-django | Ubuntu | impish | * |
Python-django | Ubuntu | jammy | * |
Python-django | Ubuntu | kinetic | * |
Python-django | Ubuntu | lunar | * |
Python-django | Ubuntu | mantic | * |
Python-django | Ubuntu | noble | * |
Python-django | Ubuntu | trusty | * |
Python-django | Ubuntu | upstream | * |
Python2.7 | Ubuntu | bionic | * |
Python2.7 | Ubuntu | esm-apps/focal | * |
Python2.7 | Ubuntu | esm-apps/jammy | * |
Python2.7 | Ubuntu | esm-infra-legacy/trusty | * |
Python2.7 | Ubuntu | esm-infra/bionic | * |
Python2.7 | Ubuntu | esm-infra/xenial | * |
Python2.7 | Ubuntu | focal | * |
Python2.7 | Ubuntu | groovy | * |
Python2.7 | Ubuntu | hirsute | * |
Python2.7 | Ubuntu | impish | * |
Python2.7 | Ubuntu | jammy | * |
Python2.7 | Ubuntu | kinetic | * |
Python2.7 | Ubuntu | precise/esm | * |
Python2.7 | Ubuntu | trusty | * |
Python2.7 | Ubuntu | trusty/esm | * |
Python2.7 | Ubuntu | xenial | * |
Python3.4 | Ubuntu | esm-infra-legacy/trusty | * |
Python3.4 | Ubuntu | trusty | * |
Python3.4 | Ubuntu | trusty/esm | * |
Python3.5 | Ubuntu | esm-infra-legacy/trusty | * |
Python3.5 | Ubuntu | esm-infra/xenial | * |
Python3.5 | Ubuntu | trusty | * |
Python3.5 | Ubuntu | trusty/esm | * |
Python3.5 | Ubuntu | xenial | * |
Python3.6 | Ubuntu | bionic | * |
Python3.6 | Ubuntu | esm-infra/bionic | * |
Python3.6 | Ubuntu | upstream | * |
Python3.7 | Ubuntu | bionic | * |
Python3.7 | Ubuntu | esm-apps/bionic | * |
Python3.7 | Ubuntu | trusty | * |
Python3.7 | Ubuntu | upstream | * |
Python3.8 | Ubuntu | bionic | * |
Python3.8 | Ubuntu | esm-apps/bionic | * |
Python3.8 | Ubuntu | focal | * |
Python3.8 | Ubuntu | groovy | * |
Python3.8 | Ubuntu | trusty | * |
Python3.8 | Ubuntu | upstream | * |
Python3.9 | Ubuntu | focal | * |
Python3.9 | Ubuntu | groovy | * |
Python3.9 | Ubuntu | trusty | * |
Python3.9 | Ubuntu | upstream | * |
HTTP requests or responses (“messages”) can be malformed or unexpected in ways that cause web servers or clients to interpret the messages in different ways than intermediary HTTP agents such as load balancers, reverse proxies, web caching proxies, application firewalls, etc. For example, an adversary may be able to add duplicate or different header fields that a client or server might interpret as one set of messages, whereas the intermediary might interpret the same sequence of bytes as a different set of messages. For example, discrepancies can arise in how to handle duplicate headers like two Transfer-encoding (TE) or two Content-length (CL), or the malicious HTTP message will have different headers for TE and CL. The inconsistent parsing and interpretation of messages can allow the adversary to “smuggle” a message to the client/server without the intermediary being aware of it. This weakness is usually the result of the usage of outdated or incompatible HTTP protocol versions in the HTTP agents.