CVE-2022-45198 Pillow vulnerable to Data Amplification attack.
Attackers can cause denial of service by providing highly compressed GIF files that trigger data amplification in the Pillow library.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-45198?
CVE-2022-45198 is a high-severity denial of service vulnerability in Python Pillow, published on 14 Nov 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Pillow before 9.2.0 performs Improper Handling of Highly Compressed GIF Data (Data Amplification).
Which versions are affected by CVE-2022-45198?
4 open source packages ship an affected version, including pillow. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
pillow Bitnami | All versions | 9.2.0 |
pillow PyPI | All versions | 9.2.0 |
pillow PyPI | All versions | 9.2.0 |
pillow PyPI | All versions | 9.2.0 |
Linux distribution packages (4)
python-Pillow SUSE:Linux Enterprise Module for Package Hub 15 SP6 | All versions | 7.2.0-150300.3.18.1 |
python-Pillow SUSE:Package Hub 15 SP5 | All versions | 8.4.0-bp155.3.9.1 |
python-Pillow openSUSE:Leap 15.5 | All versions | 7.2.0-150300.3.18.1 |
python-Pillow openSUSE:Leap 15.5 | All versions | 8.4.0-bp155.3.9.1 |
Products include Python Pillow.
How do I fix CVE-2022-45198?
Upgrade pillow to 9.2.0 or later.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2022-45198 being exploited?
There is no known exploitation of CVE-2022-45198 in the wild and no public exploit code.
Other vulnerabilities in Python Pillow
Sources
Also known as BIT-pillow-2022-45198, DEBIAN-CVE-2022-45198, GHSA-m2vv-5vj5-2hm7, OESA-2023-1923, PYSEC-2022-42979, ROOT-APP-PYPI-CVE-2022-45198 and 3 more.