Skip to content

Commit f7e0794

Browse files
authored
Merge pull request #6063 from StackStorm/update/gitpython
Update gitpython (security)
2 parents 57c7964 + bc25293 commit f7e0794

File tree

5 files changed

+8
-4
lines changed

5 files changed

+8
-4
lines changed

CHANGELOG.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ Fixed
3636

3737
* Fix KV value lookup in actions when RBAC is enabled #5934
3838

39+
* Update version 3.1.15 of ``gitpython`` to 3.1.18 for py3.6 and to 3.1.37 for py3.8 (security). #6063
40+
3941
Added
4042
~~~~~
4143
* Move `git clone` to `user_home/.st2packs` #5845

fixed-requirements.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ cryptography==39.0.1
1212
# depend on rely
1313
eventlet==0.33.3
1414
flex==6.14.1
15-
gitpython==3.1.15
15+
# Note: installs gitpython==3.1.37 (security fixed) under py3.8 and gitpython==3.1.18 (latest available, vulnerable) under py3.6
16+
# TODO: Pin to 3.1.37 or higher after dropping python3.6 support
17+
gitpython<=3.1.37
1618
# Needed by gitpython, old versions used to bundle it
1719
gitdb==4.0.2
1820
# Note: greenlet is used by eventlet

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ dnspython>=1.16.0,<2.0.0
2020
eventlet==0.33.3
2121
flex==6.14.1
2222
gitdb==4.0.2
23-
gitpython==3.1.15
23+
gitpython<=3.1.37
2424
greenlet==1.0.0
2525
gunicorn==21.2.0
2626
importlib-metadata==3.10.1

st2actions/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ MarkupSafe<2.1.0,>=0.23
99
apscheduler==3.7.0
1010
chardet<3.1.0
1111
eventlet==0.33.3
12-
gitpython==3.1.15
12+
gitpython<=3.1.37
1313
jinja2==2.11.3
1414
kombu==5.0.2
1515
lockfile==0.12.2

st2common/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ dnspython>=1.16.0,<2.0.0
1717
eventlet==0.33.3
1818
flex==6.14.1
1919
gitdb==4.0.2
20-
gitpython==3.1.15
20+
gitpython<=3.1.37
2121
greenlet==1.0.0
2222
jinja2==2.11.3
2323
jsonpath-rw==1.4.0

0 commit comments

Comments
 (0)