Outdated Pillow dependency (~=9.3.0) with known security CVEs #9
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
requirements.txtpins Pillow to the9.3.xseries (Pillow~=9.3.0), which was released in October 2022. Multiple security vulnerabilities have been disclosed in Pillow since that release, including CVE-2023-44271 (uncontrolled resource consumption via crafted image fonts) and CVE-2023-50447 (arbitrary code execution via specially crafted image files in certain processing paths).Location
requirements.txt, line 3:Pillow~=9.3.0Risk
The launcher downloads an image from the Albion assets CDN and opens it with
PIL.Image.open()(line 287). If the CDN is compromised or a MITM attack is possible, a crafted image could trigger a Pillow vulnerability, potentially leading to code execution or a denial of service on the user's machine.Suggested fix direction
Upgrade the Pillow dependency to the latest stable release (currently 10.x or 11.x). Update
requirements.txtto a less restrictive pin such asPillow>=10.3.0to allow security patch uptake. Run the application against the new version to verify compatibility.Severity
moderate
Found by
Automated audit by Claude Code