Skip to content

Commit b3edfb0

Browse files
authored
Merge pull request #7885 from hugovk/update-release-notes
2 parents 913dc60 + e57fb3e commit b3edfb0

34 files changed

+200
-252
lines changed

docs/releasenotes/10.3.0.rst

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -90,19 +90,3 @@ Release GIL when fetching WebP frames
9090

9191
Python's Global Interpreter Lock is now released when fetching WebP frames from
9292
the libwebp decoder.
93-
94-
Added release notes for past releases
95-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
96-
97-
Added release notes for past releases: ``2.6.0``, ``2.5.2``,
98-
``2.3.2``, ``2.3.1``. With these additions we are able to
99-
provide a comprehensive list of all Pillow CVE records from
100-
1995 to 2024 across three noteworthy periods:
101-
102-
- 1995-2009: No known CVEs
103-
- 2010-2018: :cve:`2014-1932`, :cve:`2014-3589`, :cve:`2016-0740`, :cve:`2016-3076`
104-
- 2019-2024: :cve:`2019-16865`, :cve:`2019-19911`, :cve:`2020-10177`, :cve:`2020-15999`,
105-
:cve:`2020-35653`, :cve:`2021-25289`, :cve:`2020-35654`, :cve:`2020-35654`,
106-
:cve:`2021-27921`, :cve:`2021-27922`, :cve:`2021-27923`, :cve:`2021-25287`,
107-
:cve:`2021-25288`, :cve:`2021-34552`, :cve:`2021-23437`, :cve:`2022-22817`,
108-
:cve:`2022-24303`, :cve:`2022-30595`, :cve:`2023-44271`, :cve:`2023-4863`

docs/releasenotes/2.3.1.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,23 @@
44
Security
55
========
66

7-
These issues reported in
7+
These issues were reported in
88
`Debian bug #737059 <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=737059>`_.
99

1010
:cve:`2014-1932`: Fix insecure use of :py:func:`tempfile.mktemp`
1111
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1212

13-
The (1) load_djpeg function in ``JpegImagePlugin.py``, (2) Ghostscript function
14-
in EpsImagePlugin.py, (3) load function in ``IptcImagePlugin.py``, and (4)
15-
``_copy`` function in Image.py in Python Image Library (PIL) 1.1.7 and earlier
16-
and Pillow before 2.3.1 do not properly create temporary files, which allow
13+
The (1) ``load_djpeg`` function in ``JpegImagePlugin.py``, (2) Ghostscript function
14+
in ``EpsImagePlugin.py``, (3) ``load`` function in ``IptcImagePlugin.py``, and (4)
15+
``_copy`` function in ``Image.py`` in
16+
Pillow before 2.3.1 do not properly create temporary files, which allow
1717
local users to overwrite arbitrary files and obtain sensitive information via a
1818
symlink attack on the temporary file.
1919

2020
:cve:`2014-1933`: Fix insecure use of :py:func:`tempfile.mktemp`
2121
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2222

23-
The (1) ``JpegImagePlugin.py`` and (2) ``EpsImagePlugin.py`` scripts in Python
24-
Image Library (PIL) 1.1.7 and earlier and Pillow before 2.3.1 uses the names of
23+
The (1) ``JpegImagePlugin.py`` and (2) ``EpsImagePlugin.py`` scripts in
24+
Pillow before 2.3.1 uses the names of
2525
temporary files on the command line, which makes it easier for local users to
2626
conduct symlink attacks by listing the processes.

docs/releasenotes/2.3.2.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ Security
77
:cve:`2014-3589`: Fix DOS attack
88
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
99

10-
``PIL/IcnsImagePlugin.py`` in Python Imaging Library (PIL) and Pillow before 2.3.2 and
10+
``PIL/IcnsImagePlugin.py`` in Pillow before 2.3.2 and
1111
2.5.x before 2.5.2 allows remote attackers to cause a denial of service via a crafted
1212
block size.
1313

14-
Found and reported by Andrew Drake of dropbox.com
14+
Found and reported by Andrew Drake of `Dropbox <https://www.dropbox.com/>`__.

docs/releasenotes/2.5.2.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ Security
77
:cve:`2014-3589`: Fix DOS attack
88
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
99

10-
``PIL/IcnsImagePlugin.py`` in Python Imaging Library (PIL) and Pillow before 2.3.2 and
10+
``PIL/IcnsImagePlugin.py`` in Pillow before 2.3.2 and
1111
2.5.x before 2.5.2 allows remote attackers to cause a denial of service via a crafted
1212
block size.
1313

14-
Found and reported by Andrew Drake of dropbox.com
14+
Found and reported by Andrew Drake of `Dropbox <https://www.dropbox.com/>`__.

docs/releasenotes/2.6.0.rst

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,8 @@ Security
77
:cve:`2014-3589`: Fix DOS attack
88
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
99

10-
``PIL/IcnsImagePlugin.py`` in Python Imaging Library (PIL) and Pillow before 2.3.2 and
10+
``PIL/IcnsImagePlugin.py`` in Pillow before 2.3.2 and
1111
2.5.x before 2.5.2 allows remote attackers to cause a denial of service via a crafted
1212
block size.
1313

14-
Found and reported by Andrew Drake of dropbox.com
15-
16-
Other Changes
17-
=============
18-
19-
Relaxed precision of some tests
20-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
21-
22-
Relaxed imagedraw tests to allow slight errors for x86 vs x64.
14+
Found and reported by Andrew Drake of `Dropbox <https://www.dropbox.com/>`__.

docs/releasenotes/2.7.0.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
2.7.0
22
-----
33

4-
Other Changes
5-
=============
6-
74
Sane Plugin
85
^^^^^^^^^^^
96

@@ -105,6 +102,7 @@ other filters gave poor quality for reduction. Starting from Pillow 2.7.0,
105102
uses supersampling internally, not convolutions.
106103

107104
Image transposition
105+
+++++++++++++++++++
108106

109107
A new method ``TRANSPOSE`` has been added for the
110108
:py:meth:`~PIL.Image.Image.transpose` operation in addition to

docs/releasenotes/2.8.0.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
2.8.0
22
-----
33

4-
Other Changes
5-
=============
6-
74
Open HTTP response objects with Image.open
85
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
96

docs/releasenotes/3.0.0.rst

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
3.0.0
22
-----
33

4-
Deprecations
5-
============
4+
Backwards Incompatible Changes
5+
==============================
66

77
Several methods that have been marked as deprecated for many releases
8-
have been removed in this release::
9-
10-
Image.tostring()
11-
Image.fromstring()
12-
Image.offset()
13-
ImageDraw.setink()
14-
ImageDraw.setfill()
15-
The ImageFileIO module
16-
The ImageFont.FreeTypeFont and ImageFont.truetype ``file`` keyword arg
17-
The ImagePalette private _make functions
18-
ImageWin.fromstring()
19-
ImageWin.tostring()
8+
have been removed in this release:
9+
10+
* ``Image.tostring()``
11+
* ``Image.fromstring()``
12+
* ``Image.offset()``
13+
* ``ImageDraw.setink()``
14+
* ``ImageDraw.setfill()``
15+
* The ``ImageFileIO`` module
16+
* The ``ImageFont.FreeTypeFont`` and ``ImageFont.truetype`` ``file`` keyword arg
17+
* The ``ImagePalette`` private ``_make`` functions
18+
* ``ImageWin.fromstring()``
19+
* ``ImageWin.tostring()``
2020

2121
Other Changes
2222
=============

docs/releasenotes/3.1.0.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
3.1.0
22
-----
33

4-
Other Changes
5-
=============
6-
74
ImageDraw arc, chord and pieslice can now use floats
85
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
96

docs/releasenotes/3.1.1.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ Security
88
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
99

1010
Pillow 3.1.0 and earlier when linked against libtiff >= 4.0.0 on x64
11-
may overflow a buffer when reading a specially crafted tiff file
12-
(:cve:`2016-0740`).
11+
may overflow a buffer when reading a specially crafted tiff file.
1312

1413
Specifically, libtiff >= 4.0.0 changed the return type of
1514
``TIFFScanlineSize`` from ``int32`` to machine dependent
@@ -63,8 +62,8 @@ assuming 4 bytes per pixel. This writes 768 bytes beyond the end of
6362
the buffer into other Python object storage. In some cases, this
6463
causes a segfault, in others an internal Python malloc error.
6564

66-
Integer overflow in Resample.c
67-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
65+
Integer overflow in ``Resample.c``
66+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6867

6968
If a large value was passed into the new size for an image, it is
7069
possible to overflow an ``int32`` value passed into malloc.

0 commit comments

Comments
 (0)