Vulnerability · Published Jan 7, 2022 · Assigned by mitre
CVE-2022-22816
Medium 6.5
In plain English
A medium-severity security flaw in the python3-pillow package (AlmaLinux). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.1% (higher than 81% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)6.5Medium
Exploit odds (30 days)2.1%top 18.5% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
path_getbbox in path.c in Pillow before 9.0.0 has a buffer over-read during initialization of ImagePath.Path.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | python3-pillow | 5.1.1-18.el8_5 | ALSA-2022:0643 |
| AlmaLinux:8 | python3-pillow-devel | 5.1.1-18.el8_5 | ALSA-2022:0643 |
| AlmaLinux:8 | python3-pillow-doc | 5.1.1-18.el8_5 | ALSA-2022:0643 |
| AlmaLinux:8 | python3-pillow-tk | 5.1.1-18.el8_5 | ALSA-2022:0643 |
| Alpine:v3.20 | py3-pillow | 9.0.0-r0 | ALPINE-CVE-2022-22816 |
| Alpine:v3.21 | py3-pillow | 9.0.0-r0 | ALPINE-CVE-2022-22816 |
| Alpine:v3.22 | py3-pillow | 9.0.0-r0 | ALPINE-CVE-2022-22816 |
| Alpine:v3.23 | py3-pillow | 9.0.0-r0 | ALPINE-CVE-2022-22816 |
| Alpine:v3.24 | py3-pillow | 9.0.0-r0 | ALPINE-CVE-2022-22816 |
| Debian:12 | pillow | 9.0.0-1 | DEBIAN-CVE-2022-22816 |
| Debian:13 | pillow | 9.0.0-1 | DEBIAN-CVE-2022-22816 |
| Debian:14 | pillow | 9.0.0-1 | DEBIAN-CVE-2022-22816 |
| PyPI | pillow | 9.0.0 | GHSA-xrcv-f9gm-v42c |
| PyPI | pillow | 9.0.0 | PYSEC-2022-9 |
| Rocky Linux:8 | python-pillow | 0:5.1.1-18.el8_5 | RLSA-2022:0643 |
| Ubuntu:22.04:LTS | pillow | 9.0.0-1 | UBUNTU-CVE-2022-22816 |
Affected products (as reported)
References
- https://pillow.readthedocs.io/en/stable/releasenotes/9.0.0.html#fixed-imagepath-path-array-handling
- https://github.com/python-pillow/Pillow/blob/c5d9223a8b5e9295d15b5a9b1ef1dae44c8499f3/src/path.c#L331
- [debian-lts-announce] 20220123 [SECURITY] [DLA 2893-1] pillow security update mailing-list
- DSA-5053 vendor-advisory
- GLSA-202211-10 vendor-advisory