7.4
HIGH
CVE-2021-28861
Apache Python Open Redirection Vulnerability
Description

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

INFO

Published Date :

Aug. 23, 2022, 1:15 a.m.

Last Modified :

Aug. 3, 2024, 10:15 p.m.

Remotely Exploitable :

Yes !

Impact Score :

4.0

Exploitability Score :

2.8
Affected Products

The following products are affected by CVE-2021-28861 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Fedoraproject fedora
1 Python python
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2021-28861.

URL Resource
https://bugs.python.org/issue43223 Issue Tracking Vendor Advisory
https://github.com/python/cpython/pull/24848 Patch Third Party Advisory
https://github.com/python/cpython/pull/93879 Patch Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2TRINJE3INWDVIHIABW4L2NP3RUSK7BJ/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5LTSPFIULY2GZJN3QYNFVM4JSU6H4D6J/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5OABQ5CMPQETJLFHROAXDIDXCMDTNVYG/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DISZAFSIQ7IAPAEQTC7G2Z5QUA2V2PSW/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HPX4XHT2FGVQYLY2STT2MRVENILNZTTU/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/I3MQT5ZE3QH5PVDJMERTBOCILHK35CBE/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IFGV7P2PYFBMK32OKHCAC2ZPJQV5AUDF/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KRGKPYA5YHIXQAMRIXO5DSCX7D4UUW4Q/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OKYE2DOI2X7WZXAWTQJZAXYIWM37HDCY/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QLE5INSVJUZJGY5OJXV6JREXWD7UDHYN/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/S7G66SRWUM36ENQ3X6LAIG7HAB27D4XJ/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TZEPOPUFC42KXXSLFPZ47ZZRGPOR7SQE/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WXF6MQ74HVIDDSR5AE2UDR24I6D4FEPC/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/X46T4EFTIBXZRYTGASBDEZGYJINH2OWV/
https://security.gentoo.org/glsa/202305-02

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2021-28861 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2021-28861 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    Aug. 03, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    May. 17, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Apr. 11, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Mar. 21, 2024

    Action Type Old Value New Value
    Added Tag MITRE disputed
  • CVE Modified by [email protected]

    Nov. 07, 2023

    Action Type Old Value New Value
    Changed Description ** DISPUTED ** 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." 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."
    Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OKYE2DOI2X7WZXAWTQJZAXYIWM37HDCY/ [No types assigned]
    Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5LTSPFIULY2GZJN3QYNFVM4JSU6H4D6J/ [No types assigned]
    Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/S7G66SRWUM36ENQ3X6LAIG7HAB27D4XJ/ [No types assigned]
    Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DISZAFSIQ7IAPAEQTC7G2Z5QUA2V2PSW/ [No types assigned]
    Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QLE5INSVJUZJGY5OJXV6JREXWD7UDHYN/ [No types assigned]
    Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HPX4XHT2FGVQYLY2STT2MRVENILNZTTU/ [No types assigned]
    Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/X46T4EFTIBXZRYTGASBDEZGYJINH2OWV/ [No types assigned]
    Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KRGKPYA5YHIXQAMRIXO5DSCX7D4UUW4Q/ [No types assigned]
    Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/I3MQT5ZE3QH5PVDJMERTBOCILHK35CBE/ [No types assigned]
    Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2TRINJE3INWDVIHIABW4L2NP3RUSK7BJ/ [No types assigned]
    Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WXF6MQ74HVIDDSR5AE2UDR24I6D4FEPC/ [No types assigned]
    Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IFGV7P2PYFBMK32OKHCAC2ZPJQV5AUDF/ [No types assigned]
    Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TZEPOPUFC42KXXSLFPZ47ZZRGPOR7SQE/ [No types assigned]
    Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5OABQ5CMPQETJLFHROAXDIDXCMDTNVYG/ [No types assigned]
    Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/OKYE2DOI2X7WZXAWTQJZAXYIWM37HDCY/
    Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/5LTSPFIULY2GZJN3QYNFVM4JSU6H4D6J/
    Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/DISZAFSIQ7IAPAEQTC7G2Z5QUA2V2PSW/
    Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/S7G66SRWUM36ENQ3X6LAIG7HAB27D4XJ/
    Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/QLE5INSVJUZJGY5OJXV6JREXWD7UDHYN/
    Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/HPX4XHT2FGVQYLY2STT2MRVENILNZTTU/
    Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/KRGKPYA5YHIXQAMRIXO5DSCX7D4UUW4Q/
    Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/X46T4EFTIBXZRYTGASBDEZGYJINH2OWV/
    Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/I3MQT5ZE3QH5PVDJMERTBOCILHK35CBE/
    Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/2TRINJE3INWDVIHIABW4L2NP3RUSK7BJ/
    Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/WXF6MQ74HVIDDSR5AE2UDR24I6D4FEPC/
    Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/5OABQ5CMPQETJLFHROAXDIDXCMDTNVYG/
    Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/TZEPOPUFC42KXXSLFPZ47ZZRGPOR7SQE/
    Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/IFGV7P2PYFBMK32OKHCAC2ZPJQV5AUDF/
  • CVE Modified by [email protected]

    May. 03, 2023

    Action Type Old Value New Value
    Added Reference https://security.gentoo.org/glsa/202305-02 [No Types Assigned]
  • Modified Analysis by [email protected]

    Dec. 09, 2022

    Action Type Old Value New Value
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/2TRINJE3INWDVIHIABW4L2NP3RUSK7BJ/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/2TRINJE3INWDVIHIABW4L2NP3RUSK7BJ/ Mailing List, Third Party Advisory
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/5OABQ5CMPQETJLFHROAXDIDXCMDTNVYG/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/5OABQ5CMPQETJLFHROAXDIDXCMDTNVYG/ Mailing List, Third Party Advisory
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/HPX4XHT2FGVQYLY2STT2MRVENILNZTTU/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/HPX4XHT2FGVQYLY2STT2MRVENILNZTTU/ Mailing List, Third Party Advisory
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/I3MQT5ZE3QH5PVDJMERTBOCILHK35CBE/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/I3MQT5ZE3QH5PVDJMERTBOCILHK35CBE/ Mailing List, Third Party Advisory
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/IFGV7P2PYFBMK32OKHCAC2ZPJQV5AUDF/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/IFGV7P2PYFBMK32OKHCAC2ZPJQV5AUDF/ Mailing List, Third Party Advisory
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/KRGKPYA5YHIXQAMRIXO5DSCX7D4UUW4Q/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/KRGKPYA5YHIXQAMRIXO5DSCX7D4UUW4Q/ Mailing List, Third Party Advisory
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/QLE5INSVJUZJGY5OJXV6JREXWD7UDHYN/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/QLE5INSVJUZJGY5OJXV6JREXWD7UDHYN/ Mailing List, Third Party Advisory
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/TZEPOPUFC42KXXSLFPZ47ZZRGPOR7SQE/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/TZEPOPUFC42KXXSLFPZ47ZZRGPOR7SQE/ Mailing List, Third Party Advisory
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/WXF6MQ74HVIDDSR5AE2UDR24I6D4FEPC/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/WXF6MQ74HVIDDSR5AE2UDR24I6D4FEPC/ Mailing List, Third Party Advisory
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/X46T4EFTIBXZRYTGASBDEZGYJINH2OWV/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/X46T4EFTIBXZRYTGASBDEZGYJINH2OWV/ Mailing List, Third Party Advisory
  • CVE Modified by [email protected]

    Nov. 14, 2022

    Action Type Old Value New Value
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/5OABQ5CMPQETJLFHROAXDIDXCMDTNVYG/ [No Types Assigned]
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/TZEPOPUFC42KXXSLFPZ47ZZRGPOR7SQE/ [No Types Assigned]
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/IFGV7P2PYFBMK32OKHCAC2ZPJQV5AUDF/ [No Types Assigned]
  • CVE Modified by [email protected]

    Nov. 09, 2022

    Action Type Old Value New Value
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/WXF6MQ74HVIDDSR5AE2UDR24I6D4FEPC/ [No Types Assigned]
  • CVE Modified by [email protected]

    Oct. 28, 2022

    Action Type Old Value New Value
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/2TRINJE3INWDVIHIABW4L2NP3RUSK7BJ/ [No Types Assigned]
  • CVE Modified by [email protected]

    Oct. 28, 2022

    Action Type Old Value New Value
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/I3MQT5ZE3QH5PVDJMERTBOCILHK35CBE/ [No Types Assigned]
  • CVE Modified by [email protected]

    Oct. 24, 2022

    Action Type Old Value New Value
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/KRGKPYA5YHIXQAMRIXO5DSCX7D4UUW4Q/ [No Types Assigned]
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/X46T4EFTIBXZRYTGASBDEZGYJINH2OWV/ [No Types Assigned]
  • CVE Modified by [email protected]

    Oct. 20, 2022

    Action Type Old Value New Value
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/HPX4XHT2FGVQYLY2STT2MRVENILNZTTU/ [No Types Assigned]
  • CVE Modified by [email protected]

    Oct. 20, 2022

    Action Type Old Value New Value
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/QLE5INSVJUZJGY5OJXV6JREXWD7UDHYN/ [No Types Assigned]
  • Modified Analysis by [email protected]

    Oct. 04, 2022

    Action Type Old Value New Value
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/5LTSPFIULY2GZJN3QYNFVM4JSU6H4D6J/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/5LTSPFIULY2GZJN3QYNFVM4JSU6H4D6J/ Mailing List, Third Party Advisory
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/DISZAFSIQ7IAPAEQTC7G2Z5QUA2V2PSW/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/DISZAFSIQ7IAPAEQTC7G2Z5QUA2V2PSW/ Mailing List, Third Party Advisory
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/OKYE2DOI2X7WZXAWTQJZAXYIWM37HDCY/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/OKYE2DOI2X7WZXAWTQJZAXYIWM37HDCY/ Mailing List, Third Party Advisory
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/S7G66SRWUM36ENQ3X6LAIG7HAB27D4XJ/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/S7G66SRWUM36ENQ3X6LAIG7HAB27D4XJ/ Mailing List, Third Party Advisory
    Changed CPE Configuration OR *cpe:2.3:a:python:python:*:*:*:*:*:*:*:* versions from (including) 3.0 up to (excluding) 3.10.1 OR *cpe:2.3:a:python:python:*:*:*:*:*:*:*:* versions from (including) 3.0.0 up to (excluding) 3.7.14 *cpe:2.3:a:python:python:*:*:*:*:*:*:*:* versions from (including) 3.8.0 up to (excluding) 3.8.14 *cpe:2.3:a:python:python:*:*:*:*:*:*:*:* versions from (including) 3.9.0 up to (excluding) 3.9.14 *cpe:2.3:a:python:python:*:*:*:*:*:*:*:* versions from (including) 3.10.0 up to (excluding) 3.10.6 *cpe:2.3:a:python:python:3.11.0:alpha1:*:*:*:*:*:* *cpe:2.3:a:python:python:3.11.0:alpha2:*:*:*:*:*:* *cpe:2.3:a:python:python:3.11.0:alpha3:*:*:*:*:*:* *cpe:2.3:a:python:python:3.11.0:alpha4:*:*:*:*:*:* *cpe:2.3:a:python:python:3.11.0:alpha5:*:*:*:*:*:* *cpe:2.3:a:python:python:3.11.0:alpha6:*:*:*:*:*:* *cpe:2.3:a:python:python:3.11.0:alpha7:*:*:*:*:*:* *cpe:2.3:a:python:python:3.11.0:beta1:*:*:*:*:*:* *cpe:2.3:a:python:python:3.11.0:beta2:*:*:*:*:*:* *cpe:2.3:a:python:python:3.11.0:beta3:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* *cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:* *cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Oct. 01, 2022

    Action Type Old Value New Value
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/DISZAFSIQ7IAPAEQTC7G2Z5QUA2V2PSW/ [No Types Assigned]
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/S7G66SRWUM36ENQ3X6LAIG7HAB27D4XJ/ [No Types Assigned]
  • CVE Modified by [email protected]

    Sep. 27, 2022

    Action Type Old Value New Value
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/5LTSPFIULY2GZJN3QYNFVM4JSU6H4D6J/ [No Types Assigned]
  • CVE Modified by [email protected]

    Sep. 22, 2022

    Action Type Old Value New Value
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/OKYE2DOI2X7WZXAWTQJZAXYIWM37HDCY/ [No Types Assigned]
  • CVE Modified by [email protected]

    Aug. 25, 2022

    Action Type Old Value New Value
    Changed Description 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. ** DISPUTED ** 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."
  • Initial Analysis by [email protected]

    Aug. 24, 2022

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
    Changed Reference Type https://bugs.python.org/issue43223 No Types Assigned https://bugs.python.org/issue43223 Issue Tracking, Vendor Advisory
    Changed Reference Type https://github.com/python/cpython/pull/24848 No Types Assigned https://github.com/python/cpython/pull/24848 Patch, Third Party Advisory
    Changed Reference Type https://github.com/python/cpython/pull/93879 No Types Assigned https://github.com/python/cpython/pull/93879 Patch, Third Party Advisory
    Added CWE NIST CWE-601
    Added CPE Configuration OR *cpe:2.3:a:python:python:*:*:*:*:*:*:*:* versions from (including) 3.0 up to (excluding) 3.10.1
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2021-28861 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2021-28861 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.22 }} -0.00%

score

0.58777

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability