CVE-2021-28861

7.4 HIGH
Published: August 23, 2022 Modified: December 17, 2025

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

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
https://bugs.python.org/issue43223
Source: cve@mitre.org
Issue Tracking Vendor Advisory
https://github.com/python/cpython/pull/24848
Source: cve@mitre.org
Patch Third Party Advisory
https://github.com/python/cpython/pull/93879
Source: cve@mitre.org
Patch Third Party Advisory
https://bugs.python.org/issue43223
Source: af854a3a-2127-422b-91ae-364da2661108
Issue Tracking Vendor Advisory
https://github.com/python/cpython/pull/24848
Source: af854a3a-2127-422b-91ae-364da2661108
Patch Third Party Advisory
https://github.com/python/cpython/pull/93879
Source: af854a3a-2127-422b-91ae-364da2661108
Patch Third Party Advisory
https://security.gentoo.org/glsa/202305-02
Source: af854a3a-2127-422b-91ae-364da2661108

38 reference(s) from NVD

Quick Stats

CVSS v3 Score
7.4 / 10.0
EPSS (Exploit Probability)
1.4%
80th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

python fedoraproject