CVE-2021-34552

Source
https://cve.org/CVERecord?id=CVE-2021-34552
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-34552.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-34552
Aliases
Downstream
ALPINE (1)
DEBIAN (1)
MGASA (1)
openSUSE (4)
RHSA (1)
RLSA (1)
SUSE (5)
UBUNTU (1)
Related
Published
2021-07-13T17:15:09Z
Modified
2026-08-07T11:31:27Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

Pillow through 8.2.0 and PIL (aka Python Imaging Library) through 1.1.7 allow an attacker to pass controlled parameters directly into a convert function to trigger a buffer overflow in Convert.c.

Database specific
{
    "unresolved_ranges":  [
        {
            "cpes":  [
                "cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:*"
            ],
            "extracted_events":  [
                {
                    "introduced":  "1.0"
                },
                {
                    "last_affected":  "1.1.7"
                }
            ],
            "source":  "CPE_RANGE",
            "vendor_product":  "python:pillow"
        },
        {
            "cpes":  [
                "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ],
            "extracted_events":  [
                {
                    "introduced":  "9.0"
                },
                {
                    "last_affected":  "9.0"
                }
            ],
            "source":  "CPE_STRING",
            "vendor_product":  "debian:debian_linux"
        },
        {
            "cpes":  [
                "cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*",
                "cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*"
            ],
            "extracted_events":  [
                {
                    "introduced":  "33"
                },
                {
                    "last_affected":  "33"
                },
                {
                    "introduced":  "34"
                },
                {
                    "last_affected":  "34"
                }
            ],
            "source":  "CPE_STRING",
            "vendor_product":  "fedoraproject:fedora"
        }
    ]
}
References

Affected packages

Git / github.com/python-pillow/pillow

Affected ranges

Type
GIT
Repo
https://github.com/python-pillow/pillow
Events
Database specific
Show details
{
    "cpe":  "cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:*",
    "extracted_events":  [
        {
            "introduced":  "1.2"
        },
        {
            "last_affected":  "8.2.0"
        }
    ],
    "source":  "CPE_RANGE"
}

Affected versions

1.*
1.2
1.7.7
1.7.8
2.*
2.0.0
2.1.0
2.2.0
2.2.1
2.3.0
2.5.0
2.7.0
2.8.0
2.8.1
2.9.0
2.9.0.dev0
2.9.0.dev1
2.9.0.dev2
3.*
3.1.0
3.1.0-rc1
3.2.0
3.3.0
3.4.0
4.*
4.0.0
4.0.0a
4.1.0
4.2.0
4.3.0
5.*
5.0.0
5.1.0
5.2.0
5.3.0
5.4.0
6.*
6.0.0
6.1.0
6.2.0
7.*
7.0.0
7.1.0
7.2.0
8.*
8.0.0
8.1.0
8.2.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-34552.json"