CVE Catalog

CVE-2021-28861

HighCVSS 7.4
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

High risk
2.54%

85th percentile - higher than 85% of all known CVEs

Summary

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

Risk Assessment

An attacker could exploit the open redirection to redirect users to malicious sites or disclose information. The risk is limited if http.server is not used in production.

Recommendation

Avoid using http.server in production. If necessary, update Python to the latest version and consider using a more secure HTTP server.

Other vulnerabilities in Python

See all
Original NVD description (English source)

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

Vulnerability data from NVD (NIST) · CISA KEV · EPSS