Skip to content

Commit

Permalink
Fix a vulnerability issue that effects urllib3 library
Browse files Browse the repository at this point in the history
urllib3 (below 1.26.5) is vulnerable to Denial Of Service (DoS)
  • Loading branch information
zfr committed Aug 2, 2021
1 parent 15d1bde commit 9575eb4
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ certifi >= 14.05.14
six >= 1.10
python_dateutil >= 2.5.3
setuptools >= 21.0.0
urllib3 >= 1.26.2
urllib3 >= 1.26.5
tenacity >= 5.0.4
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools

REQUIRES = ["urllib3 >= 1.26.2", "six >= 1.10", "certifi", "python-dateutil", "setuptools >= 21.0.0", "tenacity >= 5.0.4"]
REQUIRES = ["urllib3 >= 1.26.5", "six >= 1.10", "certifi", "python-dateutil", "setuptools >= 21.0.0", "tenacity >= 5.0.4"]

with open("README.md", "r") as fh:
long_description = fh.read()
Expand Down
2 changes: 1 addition & 1 deletion templates/README_onlypackage.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ This python library package is generated without supporting files like setup.py

To be able to use it, you will need these dependencies in your own package that uses this library:

* urllib3 >= 1.26.2
* urllib3 >= 1.26.5
* six >= 1.10
* certifi
* python-dateutil
Expand Down
2 changes: 1 addition & 1 deletion templates/requirements.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ certifi >= 14.05.14
six >= 1.10
python_dateutil >= 2.5.3
setuptools >= 21.0.0
urllib3 >= 1.26.2
urllib3 >= 1.26.5
tenacity >= 5.0.4
2 changes: 1 addition & 1 deletion templates/setup.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ VERSION = "{{packageVersion}}"
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools

REQUIRES = ["urllib3 >= 1.26.2", "six >= 1.10", "certifi", "python-dateutil", "setuptools >= 21.0.0", "tenacity >= 5.0.4"]
REQUIRES = ["urllib3 >= 1.26.5", "six >= 1.10", "certifi", "python-dateutil", "setuptools >= 21.0.0", "tenacity >= 5.0.4"]
{{#asyncio}}
REQUIRES.append("aiohttp >= 3.0.0")
{{/asyncio}}
Expand Down

0 comments on commit 9575eb4

Please sign in to comment.