_checknetloc
Lib/urllib/parse.py
Last patched
Overview
_checknetloc in Lib/urllib/parse.py (python/cpython) was changed by 2 published CVE fixes in 2019, in 7 distinct patches that added or removed 21 lines in total.
python/cpython has 132 CVEs with a located fix in total, so 2% of them touched this function.
CVEs that patched it
Every published CVE whose fix changed _checknetloc, newest first, with the lines each fix touched.
CVE-2019-10160 · lines 400–402 · +3 −3
Critical · CVSS 9.8EPSS 5.2%2019-06-07CVE-2019-9636 · lines 330–344 · +15 −0
Critical · CVSS 9.8EPSS 7.7%2019-03-08
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_check_bracketed_hostLib/urllib/parse.py5 patches · 1 CVE2024
- 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 _checknetloc.
- How many CVEs have patched _checknetloc?
- 2 published CVEs changed _checknetloc in python/cpython, in 7 distinct patches totalling 21 changed lines, between 2019 and 2019.
- What is the latest CVE that changed _checknetloc?
- CVE-2019-10160 (python: regression of CVE-2019-9636 due to functional fix to allow port numbers in netloc), published 2019-06-07, changed lines 400 to 402 of Lib/urllib/parse.py.
- How does _checknetloc compare to the rest of python/cpython?
- python/cpython has 132 CVEs with a located fix in total; 2 of them changed _checknetloc.
- 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.