PyPi: Python

CVE-2021-28861

Safety vulnerability ID: 50732

This vulnerability was reviewed by experts

The information on this page was manually curated by our Cybersecurity Intelligence Team.

Created at Aug 23, 2022 Updated at Nov 29, 2024
Scan your Python projects for vulnerabilities →

Advisory

Python 3.7.14, 3.8.14, 3.9.14 and 3.10.6 include a fix for CVE-2021-28861: 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 lead 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."

Affected package

python

Latest version: 0.9.8

Affected versions

Fixed versions

Vulnerability changelog

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. See CVE-2021-28861.


MISC:https://bugs.python.org/issue43223: https://bugs.python.org/issue43223
MISC:https://github.com/python/cpython/pull/24848: https://github.com/python/cpython/pull/24848
MISC:https://github.com/python/cpython/pull/93879: https://github.com/python/cpython/pull/93879

Resources

Use this package?

Scan your Python project for dependency vulnerabilities in two minutes

Scan your application

Severity Details

CVSS Base Score

HIGH 7.4

CVSS v3 Details

HIGH 7.4
Attack Vector (AV)
NETWORK
Attack Complexity (AC)
LOW
Privileges Required (PR)
NONE
User Interaction (UI)
REQUIRED
Scope (S)
CHANGED
Confidentiality Impact (C)
HIGH
Integrity Impact (I)
NONE
Availability Availability (A)
NONE