Advisory

UBUNTU-CVE-2021-27921

Also known as: CVE-2021-27921

Summary

The record has no summary.

Details

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.

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Dates

Published
2021-03-03 09:15 UTC
Modified
2026-02-04 03:40 UTC

Affected packages and fixes

pillow

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 5.1.0-1ubuntu0.5 (ecosystem)

Fixed versions

5.1.0-1ubuntu0.5

Fix

  • Fixed version 5.1.0-1ubuntu0.5
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

pillow

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 7.0.0-4ubuntu0.3 (ecosystem)

Fixed versions

7.0.0-4ubuntu0.3

Fix

  • Fixed version 7.0.0-4ubuntu0.3
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences