UBUNTU-CVE-2022-24303

Source
https://ubuntu.com/security/CVE-2022-24303
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-24303.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2022-24303
Upstream
Downstream
Related
Published
2022-03-28T02:15:00Z
Modified
2025-07-18T16:49:17Z
Severity
  • 9.1 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H CVSS Calculator
  • Ubuntu - low
Summary
[none]
Details

Pillow before 9.0.1 allows attackers to delete files because spaces in temporary pathnames are mishandled.

References

Affected packages

Ubuntu:20.04:LTS / pillow

Package

Name
pillow
Purl
pkg:deb/ubuntu/pillow@7.0.0-4ubuntu0.7?arch=source&distro=focal

Affected ranges

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

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

Ecosystem specific

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

Ubuntu:Pro:20.04:LTS / pillow-python2

Package

Name
pillow-python2
Purl
pkg:deb/ubuntu/pillow-python2@6.2.1-3ubuntu0.1~esm1?arch=source&distro=esm-apps/focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.2.1-3ubuntu0.1~esm1

Affected versions

6.*

6.2.1-3~build1
6.2.1-3

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "python-pil",
            "binary_version": "6.2.1-3ubuntu0.1~esm1"
        },
        {
            "binary_name": "python-pil-dbg",
            "binary_version": "6.2.1-3ubuntu0.1~esm1"
        },
        {
            "binary_name": "python-pil.imagetk",
            "binary_version": "6.2.1-3ubuntu0.1~esm1"
        },
        {
            "binary_name": "python-pil.imagetk-dbg",
            "binary_version": "6.2.1-3ubuntu0.1~esm1"
        }
    ],
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro"
}