_check_bracketed_host
Lib/urllib/parse.py
Last patched
Overview
_check_bracketed_host in Lib/urllib/parse.py (python/cpython) was changed by 1 published CVE fix in 2024, in 5 distinct patches that added or removed 11 lines in total.
python/cpython has 132 CVEs with a located fix in total, so 1% of them touched this function.
CVEs that patched it
Every published CVE whose fix changed _check_bracketed_host, newest first, with the lines each fix touched.
CVE-2024-11168 · lines 431–441 · +11 −0
Medium · CVSS 6.3EPSS 0.7%2024-11-12
Get an alert when the next CVE fix lands in python/cpython, with the patched functions.
Monitor these CVEsOther functions in these files
Functions in the same file that CVE fixes also changed.
- 1urlsplitLib/urllib/parse.py18 patches · 4 CVEs2019 to 2025
- 2_checknetlocLib/urllib/parse.py7 patches · 2 CVEs2019
- 3_check_bracketed_netlocLib/urllib/parse.py5 patches · 1 CVE2025
- 4_urlsplitLib/urllib/parse.py2 patches · 1 CVE2025
- 5parse_qsLib/urllib/parse.py1 patch · 1 CVE2021
- 6parse_qslLib/urllib/parse.py1 patch · 1 CVE2021
Other hotspots in the repository
Functions in python/cpython changed by the most distinct patches.
Frequently asked questions
Common questions about CVE fixes to _check_bracketed_host.
- How many CVEs have patched _check_bracketed_host?
- 1 published CVEs changed _check_bracketed_host in python/cpython, in 5 distinct patches totalling 11 changed lines, between 2024 and 2024.
- What is the latest CVE that changed _check_bracketed_host?
- CVE-2024-11168 (Improper validation of IPv6 and IPvFuture addresses), published 2024-11-12, changed lines 431 to 441 of Lib/urllib/parse.py.
- How does _check_bracketed_host compare to the rest of python/cpython?
- python/cpython has 132 CVEs with a located fix in total; 1 of them changed _check_bracketed_host.
- What do the line numbers refer to?
- Line numbers are in the fixed version of the file, as the upstream patch left it. A CVE whose fix was backported to several branches is listed once, with the lines from the upstream commit.
References
- Lib/urllib/parse.py on GitHub (opens in a new tab)
- All patched functions in python/cpython
- Patched functions directory
Fix locations are computed by RadicalNotion.AI from the upstream patch diff of each CVE. CVE data is sourced from the CVE Program.
Track python/cpython CVEs
Get an alert when a new CVE lands in this repository, with the patched functions and AI-written remediation guidance.