CVE-2023-44271
Published: 3 November 2023
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.
Notes
Author | Note |
---|---|
Priority reason: Only consumes memory when very long strings are used as text input |
|
mdeslaur | upstream patch adds MAX_STRING_LENGTH which defaults to 1,000,000 limit. |
Priority
Status
Package | Release | Status |
---|---|---|
pillow Launchpad, Ubuntu, Debian |
bionic |
Needs triage
|
focal |
Released
(7.0.0-4ubuntu0.8)
|
|
jammy |
Released
(9.0.1-1ubuntu0.2)
|
|
lunar |
Ignored
(end of life, was needed)
|
|
mantic |
Not vulnerable
(10.0.0-1)
|
|
trusty |
Needs triage
|
|
upstream |
Released
(10.0.0-1)
|
|
xenial |
Needs triage
|
|
Patches: upstream: https://github.com/python-pillow/Pillow/pull/7244 upstream: https://github.com/python-pillow/Pillow/commit/1fe1bb49c452b0318cad12ea9d97c3bef188e9a7 |
||
pillow-python2 Launchpad, Ubuntu, Debian |
bionic |
Does not exist
|
focal |
Needs triage
|
|
jammy |
Does not exist
|
|
lunar |
Does not exist
|
|
mantic |
Does not exist
|
|
trusty |
Does not exist
|
|
upstream |
Needs triage
|
|
xenial |
Does not exist
|
Severity score breakdown
Parameter | Value |
---|---|
Base score | 7.5 |
Attack vector | Network |
Attack complexity | Low |
Privileges required | None |
User interaction | None |
Scope | Unchanged |
Confidentiality | None |
Integrity impact | None |
Availability impact | High |
Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |