Skip to content

Commit

Permalink
Bump pyyaml from 5.3.1 to 5.4.1 (#6511)
Browse files Browse the repository at this point in the history
RCE resolved in new version yaml/pyyaml#420
  • Loading branch information
qiluo-msft authored and lguohan committed Feb 3, 2021
1 parent d146079 commit 8f8520e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions sonic-slave-buster/Dockerfile.j2
Expand Up @@ -412,8 +412,8 @@ RUN pip3 uninstall -y enum34
RUN pip2 install j2cli==0.3.10
# For sonic-mgmt-framework
RUN pip2 install "PyYAML==5.3.1"
RUN pip3 install "PyYAML==5.3.1"
RUN pip2 install "PyYAML==5.4.1"
RUN pip3 install "PyYAML==5.4.1"
RUN pip2 install "lxml==4.6.2"
RUN pip3 install "lxml==4.6.2"
Expand Down
2 changes: 1 addition & 1 deletion src/sonic-bgpcfgd/setup.py
Expand Up @@ -17,7 +17,7 @@
install_requires = [
'jinja2>=2.10',
'netaddr==0.8.0',
'pyyaml==5.3.1',
'pyyaml==5.4.1',
],
setup_requires = [
'pytest-runner',
Expand Down
2 changes: 1 addition & 1 deletion src/sonic-config-engine/setup.py
Expand Up @@ -9,7 +9,7 @@
'ipaddress==1.0.23',
'lxml==4.6.2',
'netaddr==0.8.0',
'pyyaml==5.3.1',
'pyyaml==5.4.1',
'sonic-py-common',
]

Expand Down
2 changes: 1 addition & 1 deletion src/sonic-frr-mgmt-framework/setup.py
Expand Up @@ -14,7 +14,7 @@
install_requires = [
'jinja2>=2.10',
'netaddr==0.8.0',
'pyyaml==5.3.1',
'pyyaml==5.4.1',
'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
],
setup_requires = [
Expand Down

0 comments on commit 8f8520e

Please sign in to comment.