USN-5227-1 fixed several vulnerabilities in Pillow. This update provides the corresponding update for Ubuntu 14.04 ESM and Ubuntu 16.04 ESM.
Original advisory details:
It was discovered that Pillow incorrectly handled certain image files. If a user or automated system were tricked into opening a specially-crafted file, a remote attacker could cause Pillow to hang, resulting in a denial of service. (CVE-2021-23437)
It was discovered that Pillow incorrectly handled certain image files. If a user or automated system were tricked into opening a specially-crafted file, a remote attacker could cause Pillow to crash, resulting in a denial of service. This issue ony affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, and Ubuntu 21.04. (CVE-2021-34552)
It was discovered that Pillow incorrectly handled certain image files. If a user or automated system were tricked into opening a specially-crafted file, a remote attacker could cause Pillow to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2022-22815)
It was discovered that Pillow incorrectly handled certain image files. If a user or automated system were tricked into opening a specially-crafted file, a remote attacker could cause Pillow to crash, resulting in a denial of service. (CVE-2022-22816)
It was discovered that Pillow incorrectly handled certain image files. If a user or automated system were tricked into opening a specially-crafted file, a remote attacker could cause Pillow to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2022-22817)
{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_version": "2.3.0-1ubuntu3.4+esm3",
            "binary_name": "python-imaging"
        },
        {
            "binary_version": "2.3.0-1ubuntu3.4+esm3",
            "binary_name": "python-imaging-compat"
        },
        {
            "binary_version": "2.3.0-1ubuntu3.4+esm3",
            "binary_name": "python-imaging-sane"
        },
        {
            "binary_version": "2.3.0-1ubuntu3.4+esm3",
            "binary_name": "python-imaging-tk"
        },
        {
            "binary_version": "2.3.0-1ubuntu3.4+esm3",
            "binary_name": "python-pil"
        },
        {
            "binary_version": "2.3.0-1ubuntu3.4+esm3",
            "binary_name": "python-pil.imagetk"
        },
        {
            "binary_version": "2.3.0-1ubuntu3.4+esm3",
            "binary_name": "python-sane"
        },
        {
            "binary_version": "2.3.0-1ubuntu3.4+esm3",
            "binary_name": "python3-imaging"
        },
        {
            "binary_version": "2.3.0-1ubuntu3.4+esm3",
            "binary_name": "python3-imaging-sane"
        },
        {
            "binary_version": "2.3.0-1ubuntu3.4+esm3",
            "binary_name": "python3-imaging-tk"
        },
        {
            "binary_version": "2.3.0-1ubuntu3.4+esm3",
            "binary_name": "python3-pil"
        },
        {
            "binary_version": "2.3.0-1ubuntu3.4+esm3",
            "binary_name": "python3-pil.imagetk"
        },
        {
            "binary_version": "2.3.0-1ubuntu3.4+esm3",
            "binary_name": "python3-sane"
        }
    ]
}
          {
    "ecosystem": "Ubuntu:Pro:14.04:LTS",
    "cves": [
        {
            "severity": [
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                },
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                },
                {
                    "type": "Ubuntu",
                    "score": "low"
                }
            ],
            "id": "CVE-2021-23437"
        },
        {
            "severity": [
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "type": "Ubuntu",
                    "score": "low"
                }
            ],
            "id": "CVE-2021-34552"
        },
        {
            "severity": [
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L"
                },
                {
                    "type": "Ubuntu",
                    "score": "medium"
                }
            ],
            "id": "CVE-2022-22815"
        },
        {
            "severity": [
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L"
                },
                {
                    "type": "Ubuntu",
                    "score": "low"
                }
            ],
            "id": "CVE-2022-22816"
        }
    ]
}
                {
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_version": "3.1.2-0ubuntu1.6+esm1",
            "binary_name": "python-imaging"
        },
        {
            "binary_version": "3.1.2-0ubuntu1.6+esm1",
            "binary_name": "python-pil"
        },
        {
            "binary_version": "3.1.2-0ubuntu1.6+esm1",
            "binary_name": "python-pil.imagetk"
        },
        {
            "binary_version": "3.1.2-0ubuntu1.6+esm1",
            "binary_name": "python3-pil"
        },
        {
            "binary_version": "3.1.2-0ubuntu1.6+esm1",
            "binary_name": "python3-pil.imagetk"
        }
    ]
}
          {
    "ecosystem": "Ubuntu:Pro:16.04:LTS",
    "cves": [
        {
            "severity": [
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                },
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                },
                {
                    "type": "Ubuntu",
                    "score": "low"
                }
            ],
            "id": "CVE-2021-23437"
        },
        {
            "severity": [
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "type": "Ubuntu",
                    "score": "low"
                }
            ],
            "id": "CVE-2021-34552"
        },
        {
            "severity": [
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L"
                },
                {
                    "type": "Ubuntu",
                    "score": "medium"
                }
            ],
            "id": "CVE-2022-22815"
        },
        {
            "severity": [
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L"
                },
                {
                    "type": "Ubuntu",
                    "score": "low"
                }
            ],
            "id": "CVE-2022-22816"
        }
    ]
}