Skip to content

Commit 7d05a6a

Browse files
authored
Upgraded versions for dependent repo and included gunicorn as http se… (#35)
* Upgraded versions for dependent repo and included gunicorn as http server - reverted redis version as dependency also needed to be chaged. - Versions for flask updated to available - Versions for gitpython updated to >=3.1.20 - Versions for marshmellow updated to >=3.14.1 - Versions for requests updated to >=2.27.1 - contextvars library added * - resolved another critical vulerability CVE-2022-24439 Detail All versions of package gitpython are vulnerable to Remote Code Execution (RCE) due to improper user input validation, which makes it possible to inject a maliciously crafted remote URL into the clone command. Exploiting this vulnerability is possible because the library makes external calls to git without sufficient sanitization of input arguments. Resolution :: Upgrade GitPython to version 3.1.30 or higher. https://nvd.nist.gov/vuln/detail/CVE-2022-24439 https://security.snyk.io/vuln/SNYK-PYTHON-GITPYTHON-3113858
1 parent 4f842ac commit 7d05a6a

File tree

2 files changed

+29
-27
lines changed

2 files changed

+29
-27
lines changed

requirements.txt

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,20 @@
11
flasgger==0.9.5
2-
Flask==1.1.2
2+
Flask>=2.2.2
33
#git2pantheon~=0.1
4-
Werkzeug==1.0.1
5-
redis==3.5.3
6-
setuptools==54.2.0
7-
flask-cors==3.0.10
8-
9-
marshmallow==3.10.0
10-
Flask-Executor==0.9.4
4+
redis>=4.4.2
5+
setuptools==66.0.0
6+
Flask-Cors==3.0.10
7+
marshmallow>=3.19.1
8+
Flask-Executor==1.0.0
119
giturlparse==0.10.0
12-
PyYAML==5.4.1
13-
edgegrid-python==1.0.10
14-
decorest==0.0.6
15-
requests
16-
requests-toolbelt==0.9.1
17-
gitpython==3.1.11
18-
git+https://github.com/redhataccess/pantheon-uploader.git
10+
PyYAML==6.0
11+
edgegrid-python==1.3.1
12+
decorest==0.1.0
13+
requests>=2.28.3
14+
requests-toolbelt==0.10.1
15+
gitpython>=3.1.30
16+
gunicorn==20.1.0
17+
jinja2==3.1.2
18+
typing-extensions>=4.4.0
19+
contextvars>=2.4
20+
git+https://github.com/redhataccess/pantheon-uploader.git

setup.py

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,28 +20,28 @@
2020
'pyxdg>=0.26',
2121
'PyYAML>=5.3.1',
2222
'redis>=3.5.3',
23-
'requests>=2.22.0',
2423
'requests-file>=1.4.3',
2524
'requests-ftp>=0.3.1',
2625
'simpleline>=1.6',
2726
'six>=1.14.0',
2827
'tinycss2>=1.0.2',
29-
'Flask>=1.1.2',
28+
'Flask>=2.0.3',
3029
'urllib3>=1.25.7',
3130
'webencodings>=0.5.1',
32-
'Werkzeug>=1.0.1',
3331
'xcffib>=0.9.0',
34-
'gitpython==3.1.11',
35-
'flask-cors>=3.0.9',
32+
'gitpython>=3.1.30',
33+
'Flask-Cors>=3.0.10',
3634
'flasgger>=0.9.5',
37-
'Flask-Executor>=0.9.4',
35+
'Flask-Executor>=1.0.0',
3836
'giturlparse>=0.10.0',
39-
'marshmallow>=3.9.1',
40-
'gunicorn',
41-
'edgegrid-python>=1.0.10',
42-
'decorest>=0.0.6',
43-
'requests',
44-
'requests-toolbelt>=0.9.1',
37+
'marshmallow>=3.14.1',
38+
'gunicorn>=20.1.0',
39+
'edgegrid-python>=1.3.1',
40+
'decorest>=0.1.0',
41+
'requests>=2.27.1',
42+
'requests-toolbelt>=0.10.1',
43+
'contextvars>=2.3',
44+
'typing-extensions>=4.4.0',
4545
'pantheon-uploader@ git+https://github.com/redhataccess/pantheon-uploader.git@master#egg=pantheon-uploader-0.2'
4646
],
4747
dependency_links=['https://github.com/redhataccess/pantheon-uploader/tarball/master#egg=pantheon-uploader'],

0 commit comments

Comments
 (0)