Skip to content

Commit

Permalink
Merge pull request #6012 from radarhere/releasenotes
Browse files Browse the repository at this point in the history
Added release notes for 9.0.1
  • Loading branch information
radarhere authored Feb 2, 2022
2 parents 596eaf3 + 8ef2d98 commit e3d98c9
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
23 changes: 23 additions & 0 deletions docs/releasenotes/9.0.1.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
9.0.1
-----

Security
========

This release addresses several security problems.

:cve:`CVE-2022-24303`: If the path to the temporary directory on Linux or macOS
contained a space, this would break removal of the temporary image file after
``im.show()`` (and related actions), and potentially remove an unrelated file. This
been present since PIL.

:cve:`CVE-2022-22817`: While Pillow 9.0 restricted top-level builtins available to
:py:meth:`PIL.ImageMath.eval`, it did not prevent builtins available to lambda
expressions. These are now also restricted.

Other Changes
=============

Pillow 9.0 added support for ``xdg-open`` as an image viewer, but there have been
reports that the temporary image file was removed too quickly to be loaded into the
final application. A delay has been added.
1 change: 1 addition & 0 deletions docs/releasenotes/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ expected to be backported to earlier versions.
.. toctree::
:maxdepth: 2

9.0.1
9.0.0
8.4.0
8.3.2
Expand Down

0 comments on commit e3d98c9

Please # to comment.