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

CVEs TBD #5924

Merged
merged 1 commit into from Jan 2, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 4 additions & 1 deletion CHANGES.rst
Expand Up @@ -5,10 +5,13 @@ Changelog (Pillow)
9.0.0 (unreleased)
------------------

- Restrict builtins for ImageMath.eval(). CVE TBD #5923
[radarhere]

- Ensure JpegImagePlugin stops at the end of a truncated file #5921
[radarhere]

- Fixed ImagePath.Path array handling #5920
- Fixed ImagePath.Path array handling. CVEs TBD #5920
[radarhere]

- Remove consecutive duplicate tiles that only differ by their offset #5919
Expand Down
4 changes: 2 additions & 2 deletions docs/releasenotes/9.0.0.rst
Expand Up @@ -122,12 +122,12 @@ Restrict builtins available to ImageMath.eval
To limit :py:class:`PIL.ImageMath` to working with images, Pillow will now restrict the
builtins available to :py:meth:`PIL.ImageMath.eval`. This will help prevent problems
arising if users evaluate arbitrary expressions, such as
``ImageMath.eval("exec(exit())")``.
``ImageMath.eval("exec(exit())")``. CVE TBD

Fixed ImagePath.Path array handling
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

CWE-126 and CWE-665 were found when initializing ``ImagePath.Path``.
CWE-126 and CWE-665 were found when initializing ``ImagePath.Path``. CVEs TBD

.. _OSS-Fuzz: https://github.com/google/oss-fuzz

Expand Down