Feed
7.5HIGH
CVE-2021-27923Pillow Denial of Service by Uncontrolled Resource Consumption
A high-severity vulnerability reachable over the network, needing no privileges and no user interaction. EPSS estimates a 3.1% chance of exploitation in the next 30 days. A fixed version is named.
- Exploited in the wild
- Not in KEV
- EPSS
- 3.1%
- percentile 88%
- Fix
- Named by a source
- CVE published 3 Mar 2021
Reference
None of the "Needs attention" rules apply right now.
EPSS 3.1% (+3) · Network attack vector (+10) · No privileges required (+5) · No user interaction (+5)
Immediate actions
- pillow (PyPI): upgrade to 8.1.2 or later on your release line.
- Commit / pull request: https://github.com/python-pillow/Pillow/commit/756fff33128a0b643d10518a26ad04b726dd8973
Who should check
pillow (PyPI) pkg:pypi/pillow
- Affected< 8.1.2Fixed in8.1.2OSV (GHSA-95q3-8gr9-gm8w)
- Affected< 8.1.1Fixed in8.1.1disputedOSV (PYSEC-2021-42)
Confirmed facts
- CVSS
- 7.5 HIGH (version 3.1)
- Score from
- GitHub Advisory Database (GHSA-95q3-8gr9-gm8w)
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Weakness
- CWE-20, CWE-400
Unknowns
- We show one CVSS score. Other sources may score this CVE differently.
Advisory text
Quoted from the source advisory (untrusted)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.
Update history
No events recorded. Our history starts on 1 Jan 2025.
References
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2021-27923
- commit / pull requesthttps://github.com/python-pillow/Pillow/commit/756fff33128a0b643d10518a26ad04b726dd8973
- advisoryhttps://github.com/advisories/GHSA-95q3-8gr9-gm8w
- otherhttps://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2021-42.yaml
- otherhttps://github.com/python-pillow/Pillow
- otherhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/S7G44Z33J4BNI2DPDROHWGVG2U7ZH5JU
- otherhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TQQY6472RX4J2SUJENWDZAWKTJJGP2ML
- otherhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZTSY25UJU7NJUFHH3HWT575LT4TDFWBZ
- otherhttps://lists.fedoraproject.org/archives/list/[email protected]/message/S7G44Z33J4BNI2DPDROHWGVG2U7ZH5JU
- otherhttps://lists.fedoraproject.org/archives/list/[email protected]/message/TQQY6472RX4J2SUJENWDZAWKTJJGP2ML
- otherhttps://lists.fedoraproject.org/archives/list/[email protected]/message/ZTSY25UJU7NJUFHH3HWT575LT4TDFWBZ
- otherhttps://pillow.readthedocs.io/en/stable/releasenotes/8.1.1.html
- otherhttps://pillow.readthedocs.io/en/stable/releasenotes/8.1.2.html
- otherhttps://security.gentoo.org/glsa/202107-33
- otherhttps://lists.fedoraproject.org/archives/list/[email protected]/message/TQQY6472RX4J2SUJENWDZAWKTJJGP2ML/
- otherhttps://lists.fedoraproject.org/archives/list/[email protected]/message/ZTSY25UJU7NJUFHH3HWT575LT4TDFWBZ/
- otherhttps://lists.fedoraproject.org/archives/list/[email protected]/message/S7G44Z33J4BNI2DPDROHWGVG2U7ZH5JU/
Sources
- EPSS by FIRST.org, Free to use, attribution requested. Scores generated by Empirical Security.
- GHSA-95q3-8gr9-gm8w (GitHub Advisory Database), CC BY 4.0.
- PYSEC-2021-42 (PyPA Advisory Database), CC BY 4.0.
- OSV.dev, Per database.
This page is our own presentation: records are shortened, normalised and merged. Licences
Last checked: kev 20 min ago · osv 20 min ago · nvd 81 min ago · epss 20 min ago · JSON · ask via MCP: explain_vulnerability
Also known as BIT-pillow-2021-27923, GHSA-95q3-8gr9-gm8w, PYSEC-2021-42