You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#9 11.44 Checking PEP 508 requirements...
#9 11.49 Passed!
#9 11.49 Checking installed package safety...
#9 13.31 39611: pyyaml <5.4 resolved (5.3.1 installed)!
#9 13.31 A vulnerability was discovered in the PyYAML library in versions before 5.4, where it is susceptible to arbitrary code execution when it processes untrusted YAML files through the full_load method or with the FullLoader loader. Applications that use the library to process untrusted input may be vulnerable to this flaw. This flaw allows an attacker to execute arbitrary code on the system by abusing the python/object/new constructor. This flaw is due to an incomplete fix for CVE-2020-1747. See CVE-2020-14343.
Reproduce
Simple Dockerfile:
FROM tiangolo/uvicorn-gunicorn:python3.8-slim-2020-12-19 as base
RUN pip freeze \
&& pip install pipenv \
&& pipenv check
This actually appears to come from the standard uvicorn install (https://www.uvicorn.org/#quickstart), ex pip install uvicorn[standard] in the dockerfile. So probably uvicorn itself needs to update its dependency?
Hello! I'm encountering a security failure for
pipenv check
using one of these base images.Issue
tiangolo/uvicorn-gunicorn:python3.8-slim-2020-12-19
Reproduce
Simple Dockerfile:
Where
PyYAML==5.3.1
must be updated.Gist
https://gist.github.com/adveres/a1ddf55cd4491907431ae5f062ca38f2
The text was updated successfully, but these errors were encountered: