Skip to content

[Snyk] Fix for 7 vulnerabilities#408

Open
caniszczyk wants to merge 1 commit into
mainfrom
snyk-fix-750db9e117a149ebbe323471de242e49
Open

[Snyk] Fix for 7 vulnerabilities#408
caniszczyk wants to merge 1 commit into
mainfrom
snyk-fix-750db9e117a149ebbe323471de242e49

Conversation

@caniszczyk

Copy link
Copy Markdown

snyk-top-banner

Snyk has created this PR to fix 7 vulnerabilities in the pip dependencies of this project.

Snyk changed the following file(s):

  • builders/testdata/python/appengine_sdk/requirements.txt
⚠️ Warning
appengine-python-standard 2.0.1 requires Pillow, which is not installed.

Breaking Change Risk

Merge Risk: High

Notice: This assessment is enhanced by AI.


Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • This PR was automatically created by Snyk using the credentials of a real user.
  • Some vulnerabilities couldn't be fully fixed and so Snyk will still find them when the project is tested again. This may be because the vulnerability existed within more than one direct dependency, but not all of the affected dependencies could be upgraded.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.

For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Out-of-bounds Write
🦉 Out-of-bounds Read
🦉 Allocation of Resources Without Limits or Throttling

@caniszczyk

Copy link
Copy Markdown
Author

Merge Risk: High

This update includes a high-risk major version upgrade for pillow and a medium-risk minor upgrade for pyasn1.

pillow 9.5.0 → 12.3.0 (High Risk)

This upgrade spans three major versions (v10, v11, v12) and introduces significant breaking changes requiring code modifications and environment updates.

Key Breaking Changes:

  • Python Version Support: Support for Python 3.7 was dropped in v10.0.0, 3.8 in v11.0.0, and 3.9 in v12.0.0. Your environment must be running Python 3.10 or newer.
  • Resampling Filter Constants: In v10.0.0, resampling filter constants like Image.ANTIALIAS, Image.BICUBIC, etc., were removed and replaced by an enum, Image.Resampling. For example, Image.ANTIALIAS is now Image.Resampling.LANCZOS. This is a common breaking change that will require code updates where image resizing or transformations occur.
  • Removed Modules and Attributes: Numerous deprecated features have been removed across these versions, including im.category, PyAccess, and internal helper classes.

Recommendation: Due to the number of major versions and significant API changes, this upgrade should be tested thoroughly in a development environment. Pay close attention to image processing code, especially resizing operations, and verify your Python runtime environment is compatible.

pyasn1 0.5.1 → 0.6.4 (Medium Risk)

This minor version upgrade drops support for older Python versions.

  • Python Version Support: Version 0.6.0 dropped support for Python 2.7, 3.6, and 3.7.
  • The upgrade is otherwise focused on bug fixes and minor feature additions. The target version 0.6.4 includes security fixes for Denial-of-Service vulnerabilities present in earlier 0.6.x versions.

Recommendation: The risk is medium primarily due to the dropped support for end-of-life Python versions. Verify that your application is running on a supported Python version (3.8+).

Source: Pillow and pyasn1 Changelogs

Notice 🤖: This content was augmented using artificial intelligence. AI-generated content may contain errors and should be reviewed for accuracy before use.

@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants