Vulnerability CVE-2021-23336: Information

Description

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.

Severity: MEDIUM (5.9) Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:H

Published: Feb. 15, 2021
Modified: Nov. 7, 2023
Error type identifier: CWE-444

Fixed packages

References to Advisories, Solutions, and Tools

Hyperlink
Resource
https://snyk.io/vuln/SNYK-UPSTREAM-PYTHONCPYTHON-1074933
  • Exploit
  • Third Party Advisory
https://github.com/python/cpython/pull/24297
  • Patch
  • Third Party Advisory
https://snyk.io/blog/cache-poisoning-in-popular-open-source-packages/
  • Technical Description
  • Third Party Advisory
[oss-security] 20210219 Django security releases: CVE-2021-23336: Web cache poisoning via ``django.utils.http.limited_parse_qsl()``
  • Mailing List
  • Patch
  • Third Party Advisory
[debian-lts-announce] 20210219 [SECURITY] [DLA 2569-1] python-django security update
  • Mailing List
  • Third Party Advisory
https://security.netapp.com/advisory/ntap-20210326-0004/
  • Third Party Advisory
[debian-lts-announce] 20210405 [SECURITY] [DLA 2619-1] python3.5 security update
  • Mailing List
  • Third Party Advisory
[debian-lts-announce] 20210417 [SECURITY] [DLA 2628-1] python2.7 security update
  • Mailing List
  • Third Party Advisory
GLSA-202104-04
  • Third Party Advisory
[oss-security] 20210501 CVE-2021-28359: Apache Airflow Reflected XSS via Origin Query Argument in URL
  • Mailing List
  • Third Party Advisory
https://www.oracle.com/security-alerts/cpuApr2021.html
  • Patch
  • Third Party Advisory
N/A
  • Patch
  • Third Party Advisory
https://www.oracle.com/security-alerts/cpuoct2021.html
  • Patch
  • Third Party Advisory
https://www.oracle.com/security-alerts/cpujan2022.html
  • Patch
  • Third Party Advisory
[debian-lts-announce] 20230920 [SECURITY] [DLA 3575-1] python2.7 security update
    FEDORA-2021-7547ad987f
      FEDORA-2021-f4fd9372c7
        FEDORA-2021-3352c1c802
          FEDORA-2021-7d3a9004e2
            [mina-dev] 20210225 [jira] [Created] (FTPSERVER-500) Security vulnerability in common/lib/log4j-1.2.17.jar
              FEDORA-2021-907f3bacae
                FEDORA-2021-7c1bb32d13
                  FEDORA-2021-b1843407ca
                    FEDORA-2021-2897f5366c
                      FEDORA-2021-b326fcb83f
                        FEDORA-2021-1bb399a5af
                          FEDORA-2021-ef83e8525a
                            FEDORA-2021-b76ede8f4d
                              FEDORA-2021-309bc2e727
                                FEDORA-2021-5a09621ebb
                                  FEDORA-2021-e22bb0e548
                                    FEDORA-2021-e525e48886
                                      FEDORA-2021-b6b6093b3a
                                        [airflow-users] 20210501 CVE-2021-28359: Apache Airflow Reflected XSS via Origin Query Argument in URL
                                          [announce] 20210501 Apache Airflow CVE: CVE-2021-28359: Apache Airflow Reflected XSS via Origin Query Argument in URL
                                            FEDORA-2021-98720f3785
                                              FEDORA-2021-12df7f7382
                                                  1. Configuration 1

                                                    cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
                                                    Start including
                                                    3.9.0
                                                    End excliding
                                                    3.9.2

                                                    cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
                                                    Start including
                                                    3.8.0
                                                    End excliding
                                                    3.8.8

                                                    cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
                                                    Start including
                                                    3.7.0
                                                    End excliding
                                                    3.7.10

                                                    cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
                                                    End excliding
                                                    3.6.13

                                                    Configuration 2

                                                    cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*

                                                    cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*

                                                    cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*

                                                    Configuration 3

                                                    cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*

                                                    Configuration 4

                                                    cpe:2.3:a:netapp:cloud_backup:-:*:*:*:*:*:*:*

                                                    cpe:2.3:a:netapp:snapcenter:-:*:*:*:*:*:*:*

                                                    cpe:2.3:a:netapp:ontap_select_deploy_administration_utility:-:*:*:*:*:*:*:*

                                                    cpe:2.3:a:netapp:inventory_collect_tool:-:*:*:*:*:*:*:*

                                                    Configuration 5

                                                    cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*
                                                    Start including
                                                    3.1
                                                    End excliding
                                                    3.1.7

                                                    cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*
                                                    Start including
                                                    3.0
                                                    End excliding
                                                    3.0.13

                                                    cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*
                                                    Start including
                                                    2.2
                                                    End excliding
                                                    2.2.19

                                                    Configuration 6

                                                    cpe:2.3:o:oracle:zfs_storage_appliance:8.8:*:*:*:*:*:*:*

                                                    cpe:2.3:a:oracle:enterprise_manager_ops_center:12.4.0.0:*:*:*:*:*:*:*

                                                    cpe:2.3:a:oracle:communications_offline_mediation_controller:12.0.0.3.0:*:*:*:*:*:*:*

                                                    cpe:2.3:a:oracle:communications_pricing_design_center:12.0.0.3.0:*:*:*:*:*:*:*