Skip to content
OpenAdvisories
Critical · 9.1 CVE-2022-24303 BIT-pillow-2022-24303EUVD-2022-0196GHSA-9j59-75qj-795wPYSEC-2022-168

Path traversal in Pillow

Published Mar 28, 2022 · Updated Aug 3, 2024 · Assigned by mitre

Description

Pillow before 9.0.1 allows attackers to delete files because spaces in temporary pathnames are mishandled.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 pillow 9.0.1-1 —
Debian 13 pillow 9.0.1-1 —
Debian 12 pillow 9.0.1-1 —
Debian 11 pillow 8.1.2+dfsg-0.3+deb11u3 DLA-4462-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS pillow 9.0.1-1ubuntu0.1 USN-5777-1
Ubuntu 20.04 LTS pillow 7.0.0-4ubuntu0.7 USN-5777-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS pillow-python2 6.2.1-3ubuntu0.1~esm1 USN-5777-2
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-Pillow 9.0.1-1.1 openSUSE-SU-2025:14645-1, openSUSE-SU-2024:11814-1
ReleasePackageFixed inAdvisory
Alpine v3.24 py3-pillow 9.0.1-r0 —
Alpine v3.23 py3-pillow 9.0.1-r0 —
Alpine v3.22 py3-pillow 9.0.1-r0 —
Alpine v3.21 py3-pillow 9.0.1-r0 —
Alpine v3.20 py3-pillow 9.0.1-r0 —
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 py3-pillow 9.0.1-r0 —
Alpine v3.18 py3-pillow 9.0.1-r0 —
Alpine v3.17 py3-pillow 9.0.1-r0 —
Alpine v3.16 py3-pillow 9.0.1-r0 —
Alpine v3.15 py3-pillow 8.4.0-r3 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI pillow < 9.0.1 9.0.1 GHSA-9j59-75qj-795w

Advisories 5

References