Open Redirect in Python

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 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 class: Open Redirect

EPSS: 0.020 (78.6th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.4 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2021-28861?
CVE-2021-28861 is a high-severity vulnerability in Python, classified under URL Redirection to Untrusted Site (Open Redirect). CVSS score: 7.4/10. Published 2022-08-23.
How severe is CVE-2021-28861?
High severity. CVSS v3 base score is 7.4 out of 10.
Is CVE-2021-28861 known to be exploited?
2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.