CVE-2021-28861

Source
https://cve.org/CVERecord?id=CVE-2021-28861
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-28861.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-28861
Aliases
Downstream
Related
Published
2022-08-23T01:15:07.617Z
Modified
2026-04-11T12:36:17.394973Z
Severity
  • 7.4 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N CVSS Calculator
Summary
[none]
Details

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

Database specific
{
    "unresolved_ranges": [
        {
            "source": "CPE_FIELD",
            "cpe": "cpe:2.3:a:python:python:3.11.0:alpha1:*:*:*:*:*:*",
            "extracted_events": [
                {
                    "last_affected": "3.11.0-alpha1"
                }
            ]
        },
        {
            "source": "CPE_FIELD",
            "cpe": "cpe:2.3:a:python:python:3.11.0:alpha2:*:*:*:*:*:*",
            "extracted_events": [
                {
                    "last_affected": "3.11.0-alpha2"
                }
            ]
        },
        {
            "source": "CPE_FIELD",
            "cpe": "cpe:2.3:a:python:python:3.11.0:alpha3:*:*:*:*:*:*",
            "extracted_events": [
                {
                    "last_affected": "3.11.0-alpha3"
                }
            ]
        },
        {
            "source": "CPE_FIELD",
            "cpe": "cpe:2.3:a:python:python:3.11.0:alpha4:*:*:*:*:*:*",
            "extracted_events": [
                {
                    "last_affected": "3.11.0-alpha4"
                }
            ]
        },
        {
            "source": "CPE_FIELD",
            "cpe": "cpe:2.3:a:python:python:3.11.0:alpha5:*:*:*:*:*:*",
            "extracted_events": [
                {
                    "last_affected": "3.11.0-alpha5"
                }
            ]
        },
        {
            "source": "CPE_FIELD",
            "cpe": "cpe:2.3:a:python:python:3.11.0:alpha6:*:*:*:*:*:*",
            "extracted_events": [
                {
                    "last_affected": "3.11.0-alpha6"
                }
            ]
        },
        {
            "source": "CPE_FIELD",
            "cpe": "cpe:2.3:a:python:python:3.11.0:alpha7:*:*:*:*:*:*",
            "extracted_events": [
                {
                    "last_affected": "3.11.0-alpha7"
                }
            ]
        },
        {
            "source": "CPE_FIELD",
            "cpe": "cpe:2.3:a:python:python:3.11.0:beta1:*:*:*:*:*:*",
            "extracted_events": [
                {
                    "last_affected": "3.11.0-beta1"
                }
            ]
        },
        {
            "source": "CPE_FIELD",
            "cpe": "cpe:2.3:a:python:python:3.11.0:beta2:*:*:*:*:*:*",
            "extracted_events": [
                {
                    "last_affected": "3.11.0-beta2"
                }
            ]
        },
        {
            "source": "CPE_FIELD",
            "cpe": "cpe:2.3:a:python:python:3.11.0:beta3:*:*:*:*:*:*",
            "extracted_events": [
                {
                    "last_affected": "3.11.0-beta3"
                }
            ]
        },
        {
            "source": "CPE_FIELD",
            "cpe": "cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*",
            "extracted_events": [
                {
                    "last_affected": "35"
                }
            ]
        },
        {
            "source": "CPE_FIELD",
            "cpe": "cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*",
            "extracted_events": [
                {
                    "last_affected": "36"
                }
            ]
        },
        {
            "source": "CPE_FIELD",
            "cpe": "cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*",
            "extracted_events": [
                {
                    "last_affected": "37"
                }
            ]
        }
    ]
}
References

Affected packages

Git / github.com/python/cpython

Affected ranges

Type
GIT
Repo
https://github.com/python/cpython
Events
Database specific
{
    "source": "CPE_FIELD",
    "cpe": "cpe:2.3:a:python:python:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "3.0.0"
        },
        {
            "fixed": "3.7.14"
        },
        {
            "introduced": "3.8.0"
        },
        {
            "fixed": "3.8.14"
        },
        {
            "introduced": "3.9.0"
        },
        {
            "fixed": "3.9.14"
        },
        {
            "introduced": "3.10.0"
        },
        {
            "fixed": "3.10.6"
        }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