Skip to content

Conversation

@radarhere
Copy link
Member

@radarhere radarhere commented Jan 2, 2021

CVE-2020-35653 - Buffer Read Overrun in PCX Decoding. The PCX Image decoder used the reported image stride to calculate the row buffer, rather than calculating it from the image size. This issue dates back to the PIL fork. Thanks to Google's OSS-Fuzz project for finding this.

wiredfool and others added 2 commits January 2, 2021 20:38
* Don't trust the image to specify a buffer size
@radarhere radarhere merged commit 0117694 into python-pillow:master Jan 2, 2021
@radarhere radarhere deleted the pcx branch January 2, 2021 10:00
@radarhere radarhere changed the title Fix for Read Overflow in PCX Decoding Fix for Buffer Read Overrun in PCX Decoding Jan 2, 2021
earthgecko added a commit to earthgecko/skyline that referenced this pull request Jan 15, 2021
IssueID #3940: SNYK-PYTHON-PILLOW-1055461 and SNYK-PYTHON-PILLOW-1055462

- Added Pillow==8.1.0 as [email protected] introduced [email protected] and Pillow is
  now fixed at 8.1.0 as per:
  https://snyk.io/vuln/SNYK-PYTHON-PILLOW-1055461
  https://snyk.io/vuln/SNYK-PYTHON-PILLOW-1055462
  python-pillow/Pillow#5174 which fixes CVE-2020-35653
  and CVE-2020-35655

Modified:
dev-requirements.txt
requirements.txt
@radarhere
Copy link
Member Author

I just found that this bug made the Atheris Hall of Fame - https://github.com/google/atheris/blob/54accd93d19386f6217f4d5ec8d13c94af27538f/hall_of_fame.md

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

Successfully merging this pull request may close these issues.

3 participants