Open Redirect Affecting python-toml package, versions <0:0.10.1-5.module+el8.9.0+1332+dd574197


Severity

Recommended
medium

Based on Rocky Linux security rating.

Threat Intelligence

EPSS
2.71% (86th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ROCKY8-PYTHONTOML-14532921
  • published19 Dec 2025
  • disclosed23 Aug 2022

Introduced: 23 Aug 2022

CVE-2021-28861  (opens in a new tab)
CWE-601  (opens in a new tab)

How to fix?

Upgrade Rocky-Linux:8 python-toml to version 0:0.10.1-5.module+el8.9.0+1332+dd574197 or higher.
This issue was patched in RLSA-2023:2764.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python-toml package and not the python-toml package as distributed by Rocky-Linux. See How to fix? for Rocky-Linux:8 relevant fixed versions and status.

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

References

CVSS Base Scores

version 3.1