{"id":"CVE-2021-28861","aliases":["CVE-2021-28861","PSF-2022-5","BIT-LIBPYTHON-2021-28861","BIT-PYTHON-2021-28861","BIT-PYTHON-MIN-2021-28861"],"related":[],"kind":"vulnerability","state":"published","title":"http.server: Open Redirection if the URL path starts with //","summary":"Python 3.x through 3.10 has an open redirection vulnerability in lib/http/server.py due to no protection against multiple (/) at the beginning of URI path which may leads to information disclosure. NOTE: this is disputed by a third party because the http.server.html documentation page states \"Warning: http.server is not recommended for production. It only implements basic security checks.\"","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Python 3.x through 3.10 has an open redirection vulnerability in lib/http/server.py due to no protection against multiple (/) at the beginning of URI path which may leads to information disclosure. NOTE: this is disputed by a third party because the http.server.html documentation page states \"Warning: http.server is not recommended for production. It only implements basic security checks.\"","source":"cvelist"},{"lang":"es","text":"** EN DISPUTA ** Python versiones 3.x hasta la versión 3.10, presenta una vulnerabilidad de redireccionamiento abierto en el archivo lib/http/server.py debido a una falta de protección contra múltiples (/) al principio de la ruta URI que puede conllevar a una divulgación de información. NOTA: esto es discutido por un tercero porque la página de documentación http.server.html dice \"Advertencia: http.server no se recomienda para producción. Sólo implementa controles de seguridad básicos\".","source":"nvd"}],"published":"2022-08-23T00:00:00.000Z","modified":"2026-10-14T12:17:11.267Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N","score":7.4,"rating":"HIGH"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-601"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"git","introduced":"0","status":"affected","fixed":"4dc2cae3abd75f386374d0635d00443b897d0672"},{"type":"git","status":"affected","fixed":"5715382d3a89ca118ce2e224d8c69550d21fe51b"},{"type":"git","status":"affected","fixed":"8a34afd55258c721e446d6de4a70353c39a24148"},{"type":"git","status":"affected","fixed":"defaa2b19a9a01c79c1d5641a8aa179bb10ead3f"},{"type":"git","status":"affected","fixed":"e2e8847bf52f4a81490653c6d13b7e3821b2c2be"}],"repo":"https://github.com/python/cpython","source":"psf"},{"ranges":[{"status":"affected","introduced":"3.0.0","fixed":"3.7.14"},{"status":"affected","introduced":"3.8.0","fixed":"3.8.14"},{"status":"affected","introduced":"3.9.0","fixed":"3.9.14"},{"status":"affected","introduced":"3.10.0","fixed":"3.10.6"},{"status":"affected","version":"3.11.0"},{"status":"affected","version":"3.11.0"},{"status":"affected","version":"3.11.0"},{"status":"affected","version":"3.11.0"},{"status":"affected","version":"3.11.0"},{"status":"affected","version":"3.11.0"},{"status":"affected","version":"3.11.0"},{"status":"affected","version":"3.11.0"},{"status":"affected","version":"3.11.0"},{"status":"affected","version":"3.11.0"}],"vendor":"python","product":"python","cpe":"cpe:2.3:a:python:python:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"35"},{"status":"affected","version":"36"},{"status":"affected","version":"37"}],"vendor":"fedoraproject","product":"fedora","cpe":"cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"3.0.0","status":"affected","fixed":"3.7.14"},{"type":"semver","introduced":"3.8.0","status":"affected","fixed":"3.8.14"},{"type":"semver","introduced":"3.9.0","status":"affected","fixed":"3.9.14"},{"type":"semver","introduced":"3.10.0","status":"affected","fixed":"3.10.6"}],"ecosystem":"Bitnami","package":"libpython","purl":"pkg:bitnami/libpython","source":"bitnami"},{"ranges":[{"type":"semver","introduced":"3.0.0","status":"affected","fixed":"3.7.14"},{"type":"semver","introduced":"3.8.0","status":"affected","fixed":"3.8.14"},{"type":"semver","introduced":"3.9.0","status":"affected","fixed":"3.9.14"},{"type":"semver","introduced":"3.10.0","status":"affected","fixed":"3.10.6"}],"ecosystem":"Bitnami","package":"python","purl":"pkg:bitnami/python","source":"bitnami"},{"ranges":[{"type":"semver","introduced":"3.0.0","status":"affected","fixed":"3.7.14"},{"type":"semver","introduced":"3.8.0","status":"affected","fixed":"3.8.14"},{"type":"semver","introduced":"3.9.0","status":"affected","fixed":"3.9.14"},{"type":"semver","introduced":"3.10.0","status":"affected","fixed":"3.10.6"}],"ecosystem":"Bitnami","package":"python-min","purl":"pkg:bitnami/python-min","source":"bitnami"}],"references":[{"url":"https://bugs.python.org/issue43223","tags":["advisory","issue-tracking","vendor-advisory","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://github.com/python/cpython/pull/93879","tags":["advisory","patch","third-party-advisory","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://github.com/python/cpython/pull/24848","tags":["advisory","patch","third-party-advisory","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OKYE2DOI2X7WZXAWTQJZAXYIWM37HDCY/","tags":["vendor-advisory","web","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5LTSPFIULY2GZJN3QYNFVM4JSU6H4D6J/","tags":["vendor-advisory","web","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/S7G66SRWUM36ENQ3X6LAIG7HAB27D4XJ/","tags":["vendor-advisory","web","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DISZAFSIQ7IAPAEQTC7G2Z5QUA2V2PSW/","tags":["vendor-advisory","web","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QLE5INSVJUZJGY5OJXV6JREXWD7UDHYN/","tags":["vendor-advisory","web","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HPX4XHT2FGVQYLY2STT2MRVENILNZTTU/","tags":["vendor-advisory","web","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/X46T4EFTIBXZRYTGASBDEZGYJINH2OWV/","tags":["vendor-advisory","web","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KRGKPYA5YHIXQAMRIXO5DSCX7D4UUW4Q/","tags":["vendor-advisory","web","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/I3MQT5ZE3QH5PVDJMERTBOCILHK35CBE/","tags":["vendor-advisory","web","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2TRINJE3INWDVIHIABW4L2NP3RUSK7BJ/","tags":["vendor-advisory","web","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WXF6MQ74HVIDDSR5AE2UDR24I6D4FEPC/","tags":["vendor-advisory","web","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IFGV7P2PYFBMK32OKHCAC2ZPJQV5AUDF/","tags":["vendor-advisory","web","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TZEPOPUFC42KXXSLFPZ47ZZRGPOR7SQE/","tags":["vendor-advisory","web","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5OABQ5CMPQETJLFHROAXDIDXCMDTNVYG/","tags":["vendor-advisory","web","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://security.gentoo.org/glsa/202305-02","tags":["vendor-advisory","web","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/12/msg00000.html","tags":["web"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/11/msg00024.html","tags":["web"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/security/cve/CVE-2021-28861","tags":["advisory"],"sources":["psf"]},{"url":"https://github.com/python/cpython/issues/87389","tags":["report"],"sources":["psf"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-28861","tags":["web"],"sources":["bitnami"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-04-17T01:59:19.570Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-28861","url":"https://www.cve.org/CVERecord?id=CVE-2021-28861","licence":"CVE Terms of Use","modified":"2026-10-14T11:39:33.363Z"},{"source":"psf","name":"Python Software Foundation","id":"PSF-2022-5","url":"https://osv.dev/vulnerability/PSF-2022-5","licence":"CC-BY-4.0","modified":"2025-10-09T01:01:27.084Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-28861","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-28861","licence":"Public domain","modified":"2026-10-14T12:17:11.267Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-LIBPYTHON-2021-28861","url":"https://osv.dev/vulnerability/BIT-LIBPYTHON-2021-28861","licence":"Apache-2.0","modified":"2026-09-08T08:48:08.732Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-PYTHON-2021-28861","url":"https://osv.dev/vulnerability/BIT-PYTHON-2021-28861","licence":"Apache-2.0","modified":"2026-09-08T08:48:18.969Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-PYTHON-MIN-2021-28861","url":"https://osv.dev/vulnerability/BIT-PYTHON-MIN-2021-28861","licence":"Apache-2.0","modified":"2026-09-08T08:48:18.629Z"}],"updatedAt":"2026-11-25T22:58:07.766Z","epss":{"score":0.02838,"percentile":0.87031,"date":"2026-12-01T12:00:22.000Z"}}