GitHub Advisoryadvisory · PyPI
GHSA-95q3-8gr9-gm8w Pillow Denial of Service by Uncontrolled Resource Consumption
HIGH
Official page ↗
- Aliases
- CVE-2021-27923
- Ecosystem
- PyPI
- Packages
- pillow
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-20, CWE-400
- Reviewed
- 2021-03-12
Affected packages
• PyPI pillow: < 8.1.2 → fixed in 8.1.2
Description
Pillow before 8.1.2 allows attackers to cause a denial of service (memory consumption) because the reported size of a contained image is not properly checked for an ICO container, and thus an attempted memory allocation can be very large.
Related
Alias · CVE (1)
- CVE-2021-27923 Pillow before 8.1.2 allows attackers to cause a denial of service (memory consumption) because the reported size of a contained image is… vulnerability
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-27923 advisory
- https://github.com/python-pillow/Pillow/commit/756fff33128a0b643d10518a26ad04b726dd8973 web
- https://github.com/advisories/GHSA-95q3-8gr9-gm8w advisory
- https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2021-42.yaml web
- https://github.com/python-pillow/Pillow package
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/S7G44Z33J4BNI2DPDROHWGVG2U7ZH5JU web
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TQQY6472RX4J2SUJENWDZAWKTJJGP2ML web
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZTSY25UJU7NJUFHH3HWT575LT4TDFWBZ web
- https://lists.fedoraproject.org/archives/list/[email protected]/message/S7G44Z33J4BNI2DPDROHWGVG2U7ZH5JU web
- https://lists.fedoraproject.org/archives/list/[email protected]/message/TQQY6472RX4J2SUJENWDZAWKTJJGP2ML web
- https://lists.fedoraproject.org/archives/list/[email protected]/message/ZTSY25UJU7NJUFHH3HWT575LT4TDFWBZ web
- https://pillow.readthedocs.io/en/stable/releasenotes/8.1.1.html web
- https://pillow.readthedocs.io/en/stable/releasenotes/8.1.2.html web
- https://security.gentoo.org/glsa/202107-33 web