Fix for Buffer Read Overrun in PCX Decoding#5174
Merged
radarhere merged 2 commits intopython-pillow:masterfrom Jan 2, 2021
Merged
Fix for Buffer Read Overrun in PCX Decoding#5174radarhere merged 2 commits intopython-pillow:masterfrom
radarhere merged 2 commits intopython-pillow:masterfrom
Conversation
* Don't trust the image to specify a buffer size
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 matplotlib@3.3.3 introduced pillow@8.0.1 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
This was referenced Mar 8, 2021
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.