Skip to content

Commit 1c8d5ec

Browse files
authored
Bump pyyaml from 5.3.1 to 5.4.1 (sonic-net#6511)
RCE resolved in new version yaml/pyyaml#420
1 parent 5985d94 commit 1c8d5ec

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

sonic-slave-buster/Dockerfile.j2

+2-2
Original file line numberDiff line numberDiff line change
@@ -429,8 +429,8 @@ RUN pip3 uninstall -y enum34
429429
RUN pip2 install j2cli==0.3.10
430430
431431
# For sonic-mgmt-framework
432-
RUN pip2 install "PyYAML==5.3.1"
433-
RUN pip3 install "PyYAML==5.3.1"
432+
RUN pip2 install "PyYAML==5.4.1"
433+
RUN pip3 install "PyYAML==5.4.1"
434434
RUN pip2 install "lxml==4.6.2"
435435
RUN pip3 install "lxml==4.6.2"
436436

src/sonic-bgpcfgd/setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
install_requires = [
1818
'jinja2>=2.10',
1919
'netaddr==0.8.0',
20-
'pyyaml==5.3.1',
20+
'pyyaml==5.4.1',
2121
],
2222
setup_requires = [
2323
'pytest-runner',

src/sonic-config-engine/setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
'ipaddress==1.0.23',
1010
'lxml==4.6.2',
1111
'netaddr==0.8.0',
12-
'pyyaml==5.3.1',
12+
'pyyaml==5.4.1',
1313
'sonic-py-common',
1414
]
1515

src/sonic-frr-mgmt-framework/setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
install_requires = [
1515
'jinja2>=2.10',
1616
'netaddr==0.8.0',
17-
'pyyaml==5.3.1',
17+
'pyyaml==5.4.1',
1818
'zipp==1.2.0', # importlib-resources needs zipp and seems to have a bug where it will try to import too new of a version for Python 2
1919
],
2020
setup_requires = [

0 commit comments

Comments
 (0)