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

[Security] Bump pillow from 6.2.0 to 8.2.0 #259

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps pillow from 6.2.0 to 8.2.0.

Release notes

Sourced from pillow's releases.

8.2.0

https://pillow.readthedocs.io/en/stable/releasenotes/8.2.0.html

Changes

Dependencies

Deprecations

... (truncated)

Changelog

Sourced from pillow's changelog.

8.2.0 (2021-04-01)

  • Added getxmp() method #5144 [UrielMaD, radarhere]
  • Add ImageShow support for GraphicsMagick #5349 [latosha-maltba, radarhere]
  • Do not load transparent pixels from subsequent GIF frames #5333 [zewt, radarhere]
  • Use LZW encoding when saving GIF images #5291 [raygard]
  • Set all transparent colors to be equal in quantize() #5282 [radarhere]
  • Allow PixelAccess to use Python __int__ when parsing x and y #5206 [radarhere]
  • Removed Image._MODEINFO #5316 [radarhere]
  • Add preserve_tone option to autocontrast #5350 [elejke, radarhere]
  • Fixed linear_gradient and radial_gradient I and F modes #5274 [radarhere]
  • Add support for reading TIFFs with PlanarConfiguration=2 #5364 [kkopachev, wiredfool, nulano]
  • Deprecated categories #5351 [radarhere]
  • Do not premultiply alpha when resizing with Image.NEAREST resampling #5304 [nulano]
  • Dynamically link FriBiDi instead of Raqm #5062 [nulano]
  • Allow fewer PNG palette entries than the bit depth maximum when saving #5330 [radarhere]
  • Use duration from info dictionary when saving WebP #5338 [radarhere]
  • Stop flattening EXIF IFD into getexif() #4947 [radarhere, kkopachev]
  • Replaced tiff_deflate with tiff_adobe_deflate compression when saving TIFF images #5343 [radarhere]
  • Save ICC profile from TIFF encoderinfo #5321 [radarhere]
  • Moved RGB fix inside ImageQt class #5268 [radarhere]
  • Allow alpha_composite destination to be negative #5313 [radarhere]
  • Ensure file is closed if it is opened by ImageQt.ImageQt #5260 [radarhere]
  • Added ImageDraw rounded_rectangle method #5208 [radarhere]
  • Added IPythonViewer #5289 [radarhere, Kipkurui-mutai]
  • Only draw each rectangle outline pixel once #5183 [radarhere]
  • Use mmap instead of built-in Win32 mapper #5224 [radarhere, cgohlke]
  • Handle PCX images with an odd stride #5214 [radarhere]
  • Only read different sizes for "Large Thumbnail" MPO frames #5168 [radarhere]
  • Added PyQt6 support #5258 [radarhere]
  • Changed Image.open formats parameter to be case-insensitive #5250 [Piolie, radarhere]
  • Deprecate Tk/Tcl 8.4, to be removed in Pillow 10 (2023-01-02) #5216 [radarhere]
  • Added tk version to pilinfo #5226 [radarhere, nulano]
  • Support for ignoring tests when running valgrind #5150 [wiredfool, radarhere, hugovk]
  • OSS-Fuzz support #5189 [wiredfool, radarhere]

8.1.2 (2021-03-06)

8.1.1 (2021-03-01)

  • Use more specific regex chars to prevent ReDoS. CVE-2021-25292 [hugovk]
  • Fix OOB Read in TiffDecode.c, and check the tile validity before reading. CVE-2021-25291 [wiredfool]
  • Fix negative size read in TiffDecode.c. CVE-2021-25290 [wiredfool]
  • Fix OOB read in SgiRleDecode.c. CVE-2021-25293 [wiredfool]
  • Incorrect error code checking in TiffDecode.c. CVE-2021-25289 [wiredfool]

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Apr 2, 2021
@dependabot-preview
Copy link
Contributor Author

We've just been alerted that this update fixes a security vulnerability:

Sourced from The GitHub Security Advisory Database.

Uncontrolled Resource Consumption in pillow

Impact

Pillow before 8.1.1 allows attackers to cause a denial of service (memory consumption) because the reported size of a contained image is not properly checked for a BLP container, and thus an attempted memory allocation can be very large.

Patches

An issue was discovered in Pillow before 6.2.0. When reading specially crafted invalid image files, the library can either allocate very large amounts of memory or take an extremely long period of time to process the image.

Workarounds

An issue was discovered in Pillow before 6.2.0. When reading specially crafted invalid image files, the library can either allocate very large amounts of memory or take an extremely long period of time to process the image.

References

https://nvd.nist.gov/vuln/detail/CVE-2021-27921

For more information

If you have any questions or comments about this advisory:

... (truncated)

Affected versions: ["< 8.1.1"]

@dependabot-preview dependabot-preview bot changed the title Bump pillow from 6.2.0 to 8.2.0 [Security] Bump pillow from 6.2.0 to 8.2.0 Apr 23, 2021
@dependabot-preview dependabot-preview bot added the security Pull requests that address a security vulnerability label Apr 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file security Pull requests that address a security vulnerability
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants