PYSEC-2023-227
At a glance
- Published
- Updated
- CVE
- CVE-2023-44271
- Aliases
- BIT-pillow-2023-44271, GHSA-8ghj-p4vj-mr35
Description
An issue was discovered in Pillow before 10.0.0. It is a Denial of Service that uncontrollably allocates memory to process a given task, potentially causing a service to crash by having it run out of memory. This occurs for truetype in ImageFont when textlength in an ImageDraw instance operates on a long text argument.
Affected packages
| Package | Versions |
|---|---|
| PyPI · pillow | introduced 0, fixed 1fe1bb49c452b0318cad12ea9d97c3bef188e9a7 ; introduced 0, fixed 10.0.0 |
References
- https://devhub.checkmarx.com/cve-details/CVE-2023-44271/ WEB
- https://github.com/python-pillow/Pillow/pull/7244 WEB
- https://github.com/python-pillow/Pillow/commit/1fe1bb49c452b0318cad12ea9d97c3bef188e9a7 FIX
- https://github.com/advisories/GHSA-8ghj-p4vj-mr35 ADVISORY
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — PyPA Advisory Database |