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

Add release notes for 8.0.1 #5000

Merged
merged 2 commits into from
Oct 22, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ Changelog (Pillow)
- Support raw rgba8888 for DDS #4760
[qiankanglai]

8.0.1 (2020-10-22)
------------------

- Update FreeType used in binary wheels to 2.10.4 to fix CVE-2020-15999.
[radarhere]

8.0.0 (2020-10-15)
------------------

Expand Down
23 changes: 23 additions & 0 deletions docs/releasenotes/8.0.1.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
8.0.1
-----

Security
========

Update FreeType used in binary wheels to `2.10.4`_ to fix CVE-2020-15999_:

- A heap buffer overflow has been found in the handling of embedded PNG bitmaps,
introduced in FreeType version 2.6.

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-15999

If you use option ``FT_CONFIG_OPTION_USE_PNG`` you should upgrade immediately.

Before Pillow 8.0.0 bitmap fonts were disabled with ``FT_LOAD_NO_BITMAP``, but it is not
clear if this prevents the exploit and we recommend updating to Pillow 8.0.1.
hugovk marked this conversation as resolved.
Show resolved Hide resolved

Pillow 8.0.0 and earlier are potentially vulnerable releases, including the last release
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Technically speaking, it is only Pillow 2.9.0 onwards that are potentially vulnerable. Freetype 2.6 wasn't available before that.

Copy link
Contributor

@nulano nulano Oct 22, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also note that FT_LOAD_NO_BITMAP was added in Pillow 2.8.0, before the release of FreeType 2.6, in #1072, so 8.0.0 is the only version that is very likely to be vulnerable.

to support Python 2.7, namely Pillow 6.2.2.

.. _2.10.4: https://sourceforge.net/projects/freetype/files/freetype2/2.10.4/
.. _CVE-2020-15999: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-15999
1 change: 1 addition & 0 deletions docs/releasenotes/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ expected to be backported to earlier versions.
.. toctree::
:maxdepth: 2

8.0.1
8.0.0
7.2.0
7.1.2
Expand Down