All vulnerabilities

Servers and applications

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

Severity
High 7.4
Published
23 Aug 2022
Last changed
14 Oct 2026
Added to UpHeron
21 Oct 2026
Fixed in
3.7.14, 3.8.14, 3.9.14, 3.10.6
Sources
NVD

Affected software

SoftwareAffected versions
PythonServers and applications · cpe:a:python:python
  • Version 3.11.0-beta3
  • Version 3.11.0-beta2
  • Version 3.11.0-beta1
  • Version 3.11.0-alpha7
All 14 release lines
  • From 3.0.0 before 3.7.14
  • From 3.8.0 before 3.8.14
  • From 3.9.0 before 3.9.14
  • From 3.10.0 before 3.10.6
  • Version 3.11.0-alpha1
  • Version 3.11.0-alpha2
  • Version 3.11.0-alpha3
  • Version 3.11.0-alpha4
  • Version 3.11.0-alpha5
  • Version 3.11.0-alpha6
  • Version 3.11.0-alpha7
  • Version 3.11.0-beta1
  • Version 3.11.0-beta2
  • Version 3.11.0-beta3

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2021-28861
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2021-28861