UBUNTU-CVE-2023-44271

See a problem?
Source
https://ubuntu.com/security/notices/UBUNTU-CVE-2023-44271
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-44271.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2023-44271
Related
Published
2023-11-03T05:15:00Z
Modified
2023-11-03T05:15:00Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Ubuntu:Pro:14.04:LTS / pillow

Package

Name
pillow

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*

2.2.1-1ubuntu2
2.2.1-2ubuntu1
2.2.1-3ubuntu2
2.2.1-3ubuntu3
2.2.1-3ubuntu4
2.2.1-3ubuntu6
2.3.0-1ubuntu1
2.3.0-1ubuntu2
2.3.0-1ubuntu3
2.3.0-1ubuntu3.2
2.3.0-1ubuntu3.3
2.3.0-1ubuntu3.4
2.3.0-1ubuntu3.4+esm1
2.3.0-1ubuntu3.4+esm2
2.3.0-1ubuntu3.4+esm3
2.3.0-1ubuntu3.4+esm4

Ecosystem specific

{
    "ubuntu_priority": "low",
    "priority_reason": "Only consumes memory when very long strings are used as text input"
}

Ubuntu:Pro:16.04:LTS / pillow

Package

Name
pillow

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*

2.9.0-1

3.*

3.0.0-1
3.0.0-1build1
3.1.0-1
3.1.1-1
3.1.2-0ubuntu1
3.1.2-0ubuntu1.1
3.1.2-0ubuntu1.3
3.1.2-0ubuntu1.4
3.1.2-0ubuntu1.5
3.1.2-0ubuntu1.6
3.1.2-0ubuntu1.6+esm1
3.1.2-0ubuntu1.6+esm2

Ecosystem specific

{
    "ubuntu_priority": "low",
    "priority_reason": "Only consumes memory when very long strings are used as text input"
}

Ubuntu:Pro:18.04:LTS / pillow

Package

Name
pillow

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*

4.1.1-3build2
4.3.0-2ubuntu1

5.*

5.0.0-1
5.1.0-1
5.1.0-1ubuntu0.2
5.1.0-1ubuntu0.3
5.1.0-1ubuntu0.4
5.1.0-1ubuntu0.5
5.1.0-1ubuntu0.6
5.1.0-1ubuntu0.7
5.1.0-1ubuntu0.8
5.1.0-1ubuntu0.8+esm1

Ecosystem specific

{
    "ubuntu_priority": "low",
    "priority_reason": "Only consumes memory when very long strings are used as text input"
}

Ubuntu:20.04:LTS / pillow

Package

Name
pillow
Purl
pkg:deb/ubuntu/pillow@7.0.0-4ubuntu0.8?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
7.0.0-4ubuntu0.8

Affected versions

6.*

6.1.0-1
6.1.0-1build1
6.2.1-2

7.*

7.0.0-4
7.0.0-4build1
7.0.0-4ubuntu0.1
7.0.0-4ubuntu0.2
7.0.0-4ubuntu0.3
7.0.0-4ubuntu0.4
7.0.0-4ubuntu0.5
7.0.0-4ubuntu0.6
7.0.0-4ubuntu0.7

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "low",
    "binaries": [
        {
            "python3-pil.imagetk-dbg": "7.0.0-4ubuntu0.8",
            "python3-pil-dbg": "7.0.0-4ubuntu0.8",
            "python-pil-doc": "7.0.0-4ubuntu0.8",
            "python3-pil": "7.0.0-4ubuntu0.8",
            "python3-pil.imagetk": "7.0.0-4ubuntu0.8"
        }
    ],
    "priority_reason": "Only consumes memory when very long strings are used as text input"
}

Ubuntu:20.04:LTS / pillow-python2

Package

Name
pillow-python2

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

6.*

6.2.1-3~build1
6.2.1-3

Ecosystem specific

{
    "ubuntu_priority": "low",
    "priority_reason": "Only consumes memory when very long strings are used as text input"
}

Ubuntu:22.04:LTS / pillow

Package

Name
pillow
Purl
pkg:deb/ubuntu/pillow@9.0.1-1ubuntu0.2?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
9.0.1-1ubuntu0.2

Affected versions

8.*

8.1.2+dfsg-0.3

9.*

9.0.0-1
9.0.1-1
9.0.1-1build1
9.0.1-1ubuntu0.1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "low",
    "binaries": [
        {
            "python3-pil.imagetk-dbgsym": "9.0.1-1ubuntu0.2",
            "python3-pil.imagetk": "9.0.1-1ubuntu0.2",
            "python-pil-doc": "9.0.1-1ubuntu0.2",
            "python3-pil": "9.0.1-1ubuntu0.2",
            "python3-pil-dbgsym": "9.0.1-1ubuntu0.2"
        }
    ],
    "priority_reason": "Only consumes memory when very long strings are used as text input"
}

Ubuntu:24.04:LTS / pillow

Package

Name
pillow
Purl
pkg:deb/ubuntu/pillow@10.0.0-1?arch=src?distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
10.0.0-1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "low",
    "binaries": [
        {
            "python3-pil.imagetk-dbgsym": "10.0.0-1",
            "python3-pil.imagetk": "10.0.0-1",
            "python-pil-doc": "10.0.0-1",
            "python3-pil": "10.0.0-1",
            "python3-pil-dbgsym": "10.0.0-1"
        }
    ],
    "priority_reason": "Only consumes memory when very long strings are used as text input"
}