Feed
7.5HIGH

CVE-2021-27921Pillow 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.2% chance of exploitation in the next 30 days. A fixed version is named.

Exploited in the wild
Not in KEV
EPSS
3.2%
percentile 89%
Priority
27/100 medium
how it is computed
Fix
Named by a source
CVE published 3 Mar 2021

Reference

None of the "Needs attention" rules apply right now.

EPSS 3.2% (+3) · Network attack vector (+10) · No privileges required (+5) · No user interaction (+5)

Immediate actions

Who should check

  • pillow (PyPI) pkg:pypi/pillow

    • Affected< 8.1.2Fixed in8.1.2OSV (GHSA-f4w8-cv6p-x6r5)
    • Affected< 8.1.1Fixed in8.1.1disputedOSV (PYSEC-2021-40)

Confirmed facts

CVSS
7.5 HIGH (version 3.1)
Score from
GitHub Advisory Database (GHSA-f4w8-cv6p-x6r5)
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 a BLP container, and thus an attempted memory allocation can be very large.

Update history

No events recorded. Our history starts on 1 Jan 2025.

References

Sources

This page is our own presentation: records are shortened, normalised and merged. Licences

Last checked: kev 40 min ago · osv 40 min ago · nvd 9 min ago · epss 39 min ago · JSON · ask via MCP: explain_vulnerability

Also known as BIT-pillow-2021-27921, GHSA-f4w8-cv6p-x6r5, PYSEC-2021-40