UBUNTU-CVE-2021-25292

Source
https://ubuntu.com/security/CVE-2021-25292
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-25292.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2021-25292
Related
Published
2021-03-03T00:00:00Z
Modified
2024-10-15T14:08:03Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

An issue was discovered in Pillow before 8.1.1. The PDF parser allows a regular expression DoS (ReDoS) attack via a crafted PDF file because of a catastrophic backtracking regex.

References

Affected packages

Ubuntu:18.04:LTS / pillow

Package

Name
pillow
Purl
pkg:deb/ubuntu/pillow?arch=src?distro=bionic

Affected ranges

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

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

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "5.1.0-1ubuntu0.5",
            "binary_name": "python-pil"
        },
        {
            "binary_version": "5.1.0-1ubuntu0.5",
            "binary_name": "python-pil-dbg"
        },
        {
            "binary_version": "5.1.0-1ubuntu0.5",
            "binary_name": "python-pil-doc"
        },
        {
            "binary_version": "5.1.0-1ubuntu0.5",
            "binary_name": "python-pil.imagetk"
        },
        {
            "binary_version": "5.1.0-1ubuntu0.5",
            "binary_name": "python-pil.imagetk-dbg"
        },
        {
            "binary_version": "5.1.0-1ubuntu0.5",
            "binary_name": "python3-pil"
        },
        {
            "binary_version": "5.1.0-1ubuntu0.5",
            "binary_name": "python3-pil-dbg"
        },
        {
            "binary_version": "5.1.0-1ubuntu0.5",
            "binary_name": "python3-pil.imagetk"
        },
        {
            "binary_version": "5.1.0-1ubuntu0.5",
            "binary_name": "python3-pil.imagetk-dbg"
        }
    ]
}

Ubuntu:20.04:LTS / pillow

Package

Name
pillow
Purl
pkg:deb/ubuntu/pillow?arch=src?distro=focal

Affected ranges

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

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

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "7.0.0-4ubuntu0.3",
            "binary_name": "python-pil-doc"
        },
        {
            "binary_version": "7.0.0-4ubuntu0.3",
            "binary_name": "python3-pil"
        },
        {
            "binary_version": "7.0.0-4ubuntu0.3",
            "binary_name": "python3-pil-dbg"
        },
        {
            "binary_version": "7.0.0-4ubuntu0.3",
            "binary_name": "python3-pil.imagetk"
        },
        {
            "binary_version": "7.0.0-4ubuntu0.3",
            "binary_name": "python3-pil.imagetk-dbg"
        }
    ]
}

Ubuntu:20.04:LTS / pillow-python2

Package

Name
pillow-python2
Purl
pkg:deb/ubuntu/pillow-python2?arch=src?distro=focal

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": "medium"
}