CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2021 · Python

CVE-2021-28675
Python Pillow vulnerability

An issue was discovered in Pillow before 8.2.0. PSDImagePlugin.PsdImageFile lacked a sanity check on the number of input layers relative to the size of the data block. This could lead to a DoS on Image.open prior to Image.load.

Affected products

Pillow, Fedora. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Python Pillow runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Set the orderSystems that can be reached from the internet come first, then the rest.

References

More vulnerabilities in Python products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.