dropbox / nsot

Network Source of Truth is an open source IPAM and network inventory database
https://nsot.readthedocs.io
Other
398 stars 66 forks source link

Updating PyYaml dependency due to CVE-2017-18342 #359

Closed ryanheffernan closed 5 years ago

ryanheffernan commented 5 years ago

PyYaml < 5.1 is vulnerable to https://nvd.nist.gov/vuln/detail/CVE-2017-18342. This PR forces PyYaml to a patched version without the vulnerability. I've also moved the PyYaml dep to requirements-dev since we do not use the library in the main code, but only to satisfy the dependencies of sphinx-autobuild in requirements-dev.txt.

I verified that I can pip install, setup, run nsot and pass all unit tests with this change.