Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI is failing due to safety check #1267

Closed
kushaldas opened this issue Jul 6, 2021 · 1 comment
Closed

CI is failing due to safety check #1267

kushaldas opened this issue Jul 6, 2021 · 1 comment

Comments

@kushaldas
Copy link
Contributor

Installing collected packages: dparse, safety
Successfully installed dparse-0.5.1 safety-1.10.3
Checking file ./requirements/build-requirements.txt
safety report
checked 15 packages, using free DB (updated once a month)
---
No known security vulnerabilities found.


Checking file ./requirements/dev-mac-requirements.txt
safety report
checked 188 packages, using free DB (updated once a month)
---
-> pillow, installed 8.1.2, affected <8.2.0, id 40592
An issue was discovered in Pillow before 8.2.0. There is an out-of-bounds read in J2kDecode, in j2ku_graya_la.
--
-> pillow, installed 8.1.2, affected <8.2.0, id 40596
An issue was discovered in Pillow before 8.2.0. For BLP data, BlpImagePlugin did not properly check that reads (after jumping to file offsets) returned data. This could lead to a DoS where the decoder could be run a large number of times on empty data.
--
-> pillow, installed 8.1.2, affected <8.2.0, id 40594
An issue was discovered in Pillow before 8.2.0. For FLI data, FliDecode did not properly check that the block advance was non-zero, potentially leading to an infinite loop on load.
--
-> pillow, installed 8.1.2, affected <8.2.0, id 40593
An issue was discovered in Pillow before 8.2.0. There is an out-of-bounds read in J2kDecode, in j2ku_gray_i.
--
-> pillow, installed 8.1.2, affected <8.2.0, id 40595
An issue was discovered in Pillow before 8.2.0. For EPS data, the readline implementation used in EPSImageFile has to deal with any combination of \r and \n as line endings. It used an accidentally quadratic method of accumulating lines while looking for a line ending. A malicious EPS file could use this to perform a DoS of Pillow in the open phase, before an image was accepted for opening.
--
make: *** [Makefile:103: safety] Error 1

Exited with code exit status 2

CircleCI received exit code 2

We will have to update the pillow dependency.

@conorsch
Copy link
Contributor

conorsch commented Sep 1, 2021

Resolved by #1268

@conorsch conorsch closed this as completed Sep 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants