Package: pillow / 8.1.2+dfsg-0.3+deb11u2
Metadata
Package | Version | Patches format |
---|---|---|
pillow | 8.1.2+dfsg-0.3+deb11u2 | 3.0 (quilt) |
Patch series
view the series filePatch | File delta | Description |
---|---|---|
toplevel setup.py | (download) |
setup.py |
77 56 + 21 - 0 ! |
--- |
generate webp file | (download) |
Tests/test_file_webp.py |
8 7 + 1 - 0 ! |
--- |
js script file.diff | (download) |
docs/_static/js/script.js |
60 60 + 0 - 0 ! |
--- |
no sphinx removed in.diff | (download) |
docs/conf.py |
1 0 + 1 - 0 ! |
--- |
CVE 2021 25287_CVE 2021 25288.patch | (download) |
src/libImaging/Jpeg2KDecode.c |
35 26 + 9 - 0 ! |
[patch] fix oob read in jpeg2kdecode cve-2021-25287,cve-2021-25288 |
CVE 2021 28675.patch | (download) |
src/PIL/ImageFile.py |
14 12 + 2 - 0 ! |
[patch] fix dos in psdimageplugin -- cve-2021-28675 * PSDImagePlugin did not sanity check the number of input layers and vs the size of the data block, this could lead to a DOS on Image.open prior to Image.load. * This issue dates to the PIL fork |
CVE 2021 28676.patch | (download) |
src/libImaging/FliDecode.c |
5 5 + 0 - 0 ! |
[patch] fix fli dos -- cve-2021-28676 * FliDecode did not properly check that the block advance was non-zero, potentally leading to an infinite loop on load. * This dates to the PIL Fork * Found with oss-fuzz |
CVE 2021 28677.patch | (download) |
src/PIL/EpsImagePlugin.py |
8 4 + 4 - 0 ! |
[patch] fix eps dos on _open -- cve-2021-28677 * The readline used in EPS has to deal with any combination of \r and \n as line endings. It used an accidentally quadratic method of accumulating lines while looking for a line ending. * A malicious EPS file could use this to perform a DOS of Pillow in the open phase, before an image was accepted for opening. * This dates to the PIL Fork |
CVE 2021 28678.patch | (download) |
src/PIL/BlpImagePlugin.py |
43 23 + 20 - 0 ! |
[patch] fix blp dos -- cve-2021-28678 * BlpImagePlugin did not properly check that reads after jumping to file offsets returned data. This could lead to a DOS where the decoder could be run a large number of times on empty data * This dates to Pillow 5.1.0 |
CVE 2021 34552.patch | (download) |
src/libImaging/Convert.c |
10 4 + 6 - 0 ! |
[patch 2/2] use snprintf instead of sprintf * https://github.com/python-pillow/Pillow/pull/5567/files * Replace sprintf with snprintf in src/libImaging/Convert.c |
CVE 2022 22815_CVE 2022 22816_CVE 2022 22817.patch | (download) |
src/PIL/ImageMath.py |
7 6 + 1 - 0 ! |
--- |
CVE 2022 22817 2.patch | (download) |
Tests/test_imagemath.py |
15 15 + 0 - 0 ! |
restrict builtins within lambdas for imagemath.eval (cherry picked from commit c930be0758ac02cf15a2b8d5409d50d443550581) |
dont allow __ or builtins in env diction.patch | (download) |
src/PIL/ImageMath.py |
4 4 + 0 - 0 ! |
don't allow __ or builtins in env dictionarys for imagemath.eval (cherry picked from commit 45c726fd4daa63236a8f3653530f297dc87b160a) |
allow ops.patch | (download) |
Tests/test_imagemath.py |
5 5 + 0 - 0 ! |
allow ops (cherry picked from commit 0ca3c33c59927e1c7e0c14dbc1eea1dfb2431a80) |
include further builtins.patch | (download) |
Tests/test_imagemath.py |
5 5 + 0 - 0 ! |
include further builtins (cherry picked from commit 557ba59d13de919d04b3fd4cdef8634f7d4b3348) |
use strncpy to avoid buffer overflow.patch | (download) |
src/_imagingcms.c |
9 4 + 5 - 0 ! |
use strncpy to avoid buffer overflow (cherry picked from commit 2a93aba5cfcf6e241ab4f9392c13e3b74032c061) |
added imagefont.max_string_length.patch | (download) |
Tests/test_imagefont.py |
19 19 + 0 - 0 ! |
added imagefont.max_string_length (cherry picked from commit 1fe1bb49c452b0318cad12ea9d97c3bef188e9a7) |