{
    "data_type": "CVE",
    "data_format": "MITRE",
    "data_version": "4.0",
    "CVE_data_meta": {
        "ASSIGNER": "report@snyk.io",
        "DATE_PUBLIC": "2021-02-15T12:12:19.012177Z",
        "ID": "CVE-2021-23336",
        "STATE": "PUBLIC",
        "TITLE": "Web Cache Poisoning"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "python/cpython",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": ">=",
                                            "version_value": "0"
                                        },
                                        {
                                            "version_affected": "<",
                                            "version_value": "3.6.13"
                                        },
                                        {
                                            "version_affected": ">=",
                                            "version_value": "3.7.0"
                                        },
                                        {
                                            "version_affected": "<",
                                            "version_value": "3.7.10"
                                        },
                                        {
                                            "version_affected": ">=",
                                            "version_value": "3.8.0"
                                        },
                                        {
                                            "version_affected": "<",
                                            "version_value": "3.8.8"
                                        },
                                        {
                                            "version_affected": ">=",
                                            "version_value": "3.9.0"
                                        },
                                        {
                                            "version_affected": "<",
                                            "version_value": "3.9.2"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "n/a"
                }
            ]
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "Web Cache Poisoning"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "refsource": "MISC",
                "url": "https://snyk.io/vuln/SNYK-UPSTREAM-PYTHONCPYTHON-1074933",
                "name": "https://snyk.io/vuln/SNYK-UPSTREAM-PYTHONCPYTHON-1074933"
            },
            {
                "refsource": "MISC",
                "url": "https://github.com/python/cpython/pull/24297",
                "name": "https://github.com/python/cpython/pull/24297"
            },
            {
                "refsource": "MISC",
                "url": "https://snyk.io/blog/cache-poisoning-in-popular-open-source-packages/",
                "name": "https://snyk.io/blog/cache-poisoning-in-popular-open-source-packages/"
            },
            {
                "refsource": "MLIST",
                "name": "[oss-security] 20210219 Django security releases: CVE-2021-23336: Web cache poisoning via ``django.utils.http.limited_parse_qsl()``",
                "url": "http://www.openwall.com/lists/oss-security/2021/02/19/4"
            },
            {
                "refsource": "MLIST",
                "name": "[debian-lts-announce] 20210219 [SECURITY] [DLA 2569-1] python-django security update",
                "url": "https://lists.debian.org/debian-lts-announce/2021/02/msg00030.html"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2021-7547ad987f",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HCQTCSP6SCVIYNIRUJC5X7YBVUHPLSC4/"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2021-f4fd9372c7",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NODWHDIFBQE5RU5PUWUVE47JOT5VCMJ2/"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2021-3352c1c802",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MP572OLHMS7MZO4KUPSCIMSZIA5IZZ62/"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2021-7d3a9004e2",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MNUN5SOMFL2BBKP6ZAICIIUPQKZDMGYO/"
            },
            {
                "refsource": "MLIST",
                "name": "[mina-dev] 20210225 [jira] [Created] (FTPSERVER-500) Security vulnerability in common/lib/log4j-1.2.17.jar",
                "url": "https://lists.apache.org/thread.html/rf9fa47ab66495c78bb4120b0754dd9531ca2ff0430f6685ac9b07772@%3Cdev.mina.apache.org%3E"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2021-907f3bacae",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FONHJIOZOFD7CD35KZL6SVBUTMBPGZGA/"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2021-7c1bb32d13",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KJXCMHLY7H3FIYLE4OKDYUILU2CCRUCZ/"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2021-b1843407ca",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3YKKDLXL3UEZ3J426C2XTBS63AHE46SM/"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2021-2897f5366c",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TFTELUMWZE3KV3JB2H5EE6VFRZFRD5MV/"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2021-b326fcb83f",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OAGSWNGZJ6HQ5ISA67SNMK3CJRKICET7/"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2021-1bb399a5af",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NJSCSN722JO2E2AGPWD4NTGVELVRPB4R/"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2021-ef83e8525a",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HZTM7KLHFCE3LWSEVO2NAFLUHMGYMCRY/"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2021-b76ede8f4d",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3EPYWWFDV22CJ5AOH5VCE72DOASZZ255/"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2021-309bc2e727",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IHQDU7NXA7EWAE4W7VO6MURVJIULEPPR/"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2021-5a09621ebb",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/W2LSKBEFI5SYEY5FM6ICZVZM5WRQUCS4/"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2021-e22bb0e548",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/46N6A52EGSXHJYCZWVMBJJIH4NWIV2B5/"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2021-e525e48886",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LVNH6Z24IG3E67ZCQGGJ46FZB4XFLQNZ/"
            },
            {
                "refsource": "MLIST",
                "name": "[debian-lts-announce] 20210405 [SECURITY] [DLA 2619-1] python3.5 security update",
                "url": "https://lists.debian.org/debian-lts-announce/2021/04/msg00005.html"
            },
            {
                "refsource": "MLIST",
                "name": "[debian-lts-announce] 20210417 [SECURITY] [DLA 2628-1] python2.7 security update",
                "url": "https://lists.debian.org/debian-lts-announce/2021/04/msg00015.html"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2021-b6b6093b3a",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/N6VXJZSZ6N64AILJX4CTMACYGQGHHD5C/"
            },
            {
                "refsource": "GENTOO",
                "name": "GLSA-202104-04",
                "url": "https://security.gentoo.org/glsa/202104-04"
            },
            {
                "refsource": "MLIST",
                "name": "[airflow-users] 20210501 CVE-2021-28359: Apache Airflow Reflected XSS via Origin Query Argument in URL",
                "url": "https://lists.apache.org/thread.html/ra8ce70088ba291f358e077cafdb14d174b7a1ce9a9d86d1b332d6367@%3Cusers.airflow.apache.org%3E"
            },
            {
                "refsource": "MLIST",
                "name": "[oss-security] 20210501 CVE-2021-28359: Apache Airflow Reflected XSS via Origin Query Argument in URL",
                "url": "http://www.openwall.com/lists/oss-security/2021/05/01/2"
            },
            {
                "refsource": "MLIST",
                "name": "[announce] 20210501 Apache Airflow CVE: CVE-2021-28359: Apache Airflow Reflected XSS via Origin Query Argument in URL",
                "url": "https://lists.apache.org/thread.html/rc005f4de9d9b0ba943ceb8ff5a21a5c6ff8a9df52632476698d99432@%3Cannounce.apache.org%3E"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2021-98720f3785",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SGIY6I4YS3WOXAK4SXKIEOC2G4VZKIR7/"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2021-12df7f7382",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RSLQD5CCM75IZGAMBDGUZEATYU5YSGJ7/"
            },
            {
                "url": "https://www.oracle.com/security-alerts/cpuApr2021.html",
                "refsource": "MISC",
                "name": "https://www.oracle.com/security-alerts/cpuApr2021.html"
            },
            {
                "refsource": "CONFIRM",
                "name": "https://security.netapp.com/advisory/ntap-20210326-0004/",
                "url": "https://security.netapp.com/advisory/ntap-20210326-0004/"
            },
            {
                "url": "https://www.oracle.com//security-alerts/cpujul2021.html",
                "refsource": "MISC",
                "name": "https://www.oracle.com//security-alerts/cpujul2021.html"
            },
            {
                "url": "https://www.oracle.com/security-alerts/cpuoct2021.html",
                "refsource": "MISC",
                "name": "https://www.oracle.com/security-alerts/cpuoct2021.html"
            },
            {
                "url": "https://www.oracle.com/security-alerts/cpujan2022.html",
                "refsource": "MISC",
                "name": "https://www.oracle.com/security-alerts/cpujan2022.html"
            },
            {
                "refsource": "MLIST",
                "name": "[debian-lts-announce] 20230920 [SECURITY] [DLA 3575-1] python2.7 security update",
                "url": "https://lists.debian.org/debian-lts-announce/2023/09/msg00022.html"
            }
        ]
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "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."
            }
        ]
    },
    "impact": {
        "cvss": {
            "version": "3.1",
            "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:H/E:P/RL:U/RC:C",
            "baseScore": 5.9,
            "baseSeverity": "MEDIUM",
            "attackVector": "NETWORK",
            "attackComplexity": "HIGH",
            "privilegesRequired": "NONE",
            "userInteraction": "REQUIRED",
            "scope": "UNCHANGED",
            "confidentialityImpact": "NONE",
            "integrityImpact": "LOW",
            "availabilityImpact": "HIGH"
        }
    },
    "credit": [
        {
            "lang": "eng",
            "value": "Snyk Security Team"
        }
    ]
}