-
Notifications
You must be signed in to change notification settings - Fork 253
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
dependency pillow has a security warning #989
Comments
Thank you for the report @jdoconnor I'm not sure that we should address this in Let me explain my thought process and I'd be happy to get feedback on it 😊 The I don't think that this precise When a user install Of course, there is also the scenario where users use some kind of package lock mechanism, Tools like renovate or snyk can be used to detect the presence of libs with known vulnerabilities in package lock files (or simply enforce up-to-date dependencies in lock files), and they are great for this! But I don't see how bumping Pillow minimal version to v10.0.1 in Moreover, this could cause trouble for end users that have constraints on their execution environment. What do you think @jdoconnor, @gmischler, @andersonhc? |
Several scenarios are possible on a user's system (assuming the minimum Pillow version is not bumped):
I'd expect the last case to be the most common one.
With users like that, the likelyhood that they understand how to use a custom dependency file seems rather high.
The CVE is rated at a significant severity, since it makes it possible to execute arbitrary code on the target system, just by providing a manipulated image file. Since fpdf2 allows to import image files from arbitrary URLs, that gives us quite some responsibility to close the gap. |
Describe the bug
Error details
Pillow versions before v10.0.1 bundled libwebp binaries in wheels that are vulnerable to GHSA-hhrh-69hc-fgg7 (previously GHSA-j7hp-h8jx-5ppr). Pillow v10.0.1 upgrades the bundled libwebp binary to v1.3.2.
The current version is pinned to
Pillow>=6.2.2,!=9.2.*
The text was updated successfully, but these errors were encountered: