// For flags

CVE-2021-28861

python: open redirection vulnerability in lib/http/server.py may lead to information disclosure

Severity Score

7.4
*CVSS v3.1

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

0
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

-
*SSVC
Descriptions

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."

** 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".

A vulnerability was found in python. This security flaw causes an open redirection vulnerability in lib/http/server.py due to no protection against multiple (/) at the beginning of the URI path. This issue may lead to information disclosure.

*Credits: N/A
CVSS Scores
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
None
Availability
None
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2021-03-19 CVE Reserved
  • 2022-08-23 CVE Published
  • 2024-03-15 EPSS Updated
  • 2024-08-03 CVE Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
  • ---------- First Exploit
CWE
  • CWE-601: URL Redirection to Untrusted Site ('Open Redirect')
CAPEC
References (20)
URL Tag Source
URL Date SRC
URL Date SRC
https://bugs.python.org/issue43223 2024-05-17
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2TRINJE3INWDVIHIABW4L2NP3RUSK7BJ 2024-05-17
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5LTSPFIULY2GZJN3QYNFVM4JSU6H4D6J 2024-05-17
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5OABQ5CMPQETJLFHROAXDIDXCMDTNVYG 2024-05-17
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DISZAFSIQ7IAPAEQTC7G2Z5QUA2V2PSW 2024-05-17
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HPX4XHT2FGVQYLY2STT2MRVENILNZTTU 2024-05-17
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/I3MQT5ZE3QH5PVDJMERTBOCILHK35CBE 2024-05-17
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IFGV7P2PYFBMK32OKHCAC2ZPJQV5AUDF 2024-05-17
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KRGKPYA5YHIXQAMRIXO5DSCX7D4UUW4Q 2024-05-17
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OKYE2DOI2X7WZXAWTQJZAXYIWM37HDCY 2024-05-17
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QLE5INSVJUZJGY5OJXV6JREXWD7UDHYN 2024-05-17
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/S7G66SRWUM36ENQ3X6LAIG7HAB27D4XJ 2024-05-17
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TZEPOPUFC42KXXSLFPZ47ZZRGPOR7SQE 2024-05-17
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WXF6MQ74HVIDDSR5AE2UDR24I6D4FEPC 2024-05-17
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/X46T4EFTIBXZRYTGASBDEZGYJINH2OWV 2024-05-17
https://security.gentoo.org/glsa/202305-02 2024-05-17
https://access.redhat.com/security/cve/CVE-2021-28861 2023-05-16
https://bugzilla.redhat.com/show_bug.cgi?id=2120642 2023-05-16
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Python
Search vendor "Python"
Python
Search vendor "Python" for product "Python"
>= 3.0.0 < 3.7.14
Search vendor "Python" for product "Python" and version " >= 3.0.0 < 3.7.14"
-
Affected
Python
Search vendor "Python"
Python
Search vendor "Python" for product "Python"
>= 3.8.0 < 3.8.14
Search vendor "Python" for product "Python" and version " >= 3.8.0 < 3.8.14"
-
Affected
Python
Search vendor "Python"
Python
Search vendor "Python" for product "Python"
>= 3.9.0 < 3.9.14
Search vendor "Python" for product "Python" and version " >= 3.9.0 < 3.9.14"
-
Affected
Python
Search vendor "Python"
Python
Search vendor "Python" for product "Python"
>= 3.10.0 < 3.10.6
Search vendor "Python" for product "Python" and version " >= 3.10.0 < 3.10.6"
-
Affected
Python
Search vendor "Python"
Python
Search vendor "Python" for product "Python"
3.11.0
Search vendor "Python" for product "Python" and version "3.11.0"
alpha1
Affected
Python
Search vendor "Python"
Python
Search vendor "Python" for product "Python"
3.11.0
Search vendor "Python" for product "Python" and version "3.11.0"
alpha2
Affected
Python
Search vendor "Python"
Python
Search vendor "Python" for product "Python"
3.11.0
Search vendor "Python" for product "Python" and version "3.11.0"
alpha3
Affected
Python
Search vendor "Python"
Python
Search vendor "Python" for product "Python"
3.11.0
Search vendor "Python" for product "Python" and version "3.11.0"
alpha4
Affected
Python
Search vendor "Python"
Python
Search vendor "Python" for product "Python"
3.11.0
Search vendor "Python" for product "Python" and version "3.11.0"
alpha5
Affected
Python
Search vendor "Python"
Python
Search vendor "Python" for product "Python"
3.11.0
Search vendor "Python" for product "Python" and version "3.11.0"
alpha6
Affected
Python
Search vendor "Python"
Python
Search vendor "Python" for product "Python"
3.11.0
Search vendor "Python" for product "Python" and version "3.11.0"
alpha7
Affected
Python
Search vendor "Python"
Python
Search vendor "Python" for product "Python"
3.11.0
Search vendor "Python" for product "Python" and version "3.11.0"
beta1
Affected
Python
Search vendor "Python"
Python
Search vendor "Python" for product "Python"
3.11.0
Search vendor "Python" for product "Python" and version "3.11.0"
beta2
Affected
Python
Search vendor "Python"
Python
Search vendor "Python" for product "Python"
3.11.0
Search vendor "Python" for product "Python" and version "3.11.0"
beta3
Affected
Fedoraproject
Search vendor "Fedoraproject"
Fedora
Search vendor "Fedoraproject" for product "Fedora"
35
Search vendor "Fedoraproject" for product "Fedora" and version "35"
-
Affected
Fedoraproject
Search vendor "Fedoraproject"
Fedora
Search vendor "Fedoraproject" for product "Fedora"
36
Search vendor "Fedoraproject" for product "Fedora" and version "36"
-
Affected
Fedoraproject
Search vendor "Fedoraproject"
Fedora
Search vendor "Fedoraproject" for product "Fedora"
37
Search vendor "Fedoraproject" for product "Fedora" and version "37"
-
Affected