CVE-2022-22815
python-pillow: improperly initializes ImagePath.Path in path_getbbox() in path.c
Overview
Description
path_getbbox in path.c in Pillow before 9.0.0 improperly initializes ImagePath.Path.
Source: OX vulnerability database
Severity
6.5 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- Low
- Availability
- Low
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
Weakness: CWE-665
Affected packages · 2
Operating systems · 23 fixes
Red Hat 2 releases · 2 packages
eol 1
fixed 1
python-pillow
python3-pillow
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | python-pillow +5 | eol | — |
| 8 | python3-pillow +3 | 0:5.1.1-18.el8_5 | RHSA-2022:0643 |
SUSE Linux Enterprise 1 release · 1 package
fixed 1
python3-pillow
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 15.6 | python3-pillow | 7.2.0-150300.3.15.1 | SUSE-SU-2024:1673-2 |
alma 1 release · 1 package
fixed 1
python3-pillow
| Release | Package | Fixed in |
|---|---|---|
| 8 | python3-pillow +3 | 5.1.1-18.el8_5 |
alpine 4 releases · 1 package
fixed 4
py3-pillow
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | py3-pillow | 9.0.0-r0 |
| 3.23 | py3-pillow | 9.0.0-r0 |
| 3.24 | py3-pillow | 9.0.0-r0 |
| edge | py3-pillow | 9.0.0-r0 |
debian 6 releases · 1 package
fixed 6
pillow
| Release | Package | Fixed in |
|---|---|---|
| 10 | pillow | 5.4.1-2+deb10u3 |
| 11 | pillow | 8.1.2+dfsg-0.3+deb11u1 |
| 12 | pillow | 9.0.0-1 |
| 13 | pillow | 9.0.0-1 |
| 14 | pillow | 9.0.0-1 |
| 9 | pillow | 4.0.0-4+deb9u4 |
echo 1 release · 1 package
fixed 1
pillow
| Release | Package | Fixed in |
|---|---|---|
| pillow | 9.0.0-1 |
rocky 1 release · 1 package
fixed 1
python3-pillow
| Release | Package | Fixed in |
|---|---|---|
| 8 | python3-pillow | 5.1.1-18.el8_5 |
ubuntu 7 releases · 1 package
fixed 7
pillow
| Release | Package | Fixed in |
|---|---|---|
| 18.04 | pillow | 5.1.0-1ubuntu0.7 |
| 18.04-ESM | pillow | 5.1.0-1ubuntu0.7 |
| 20.04 | pillow | 7.0.0-4ubuntu0.5 |
| 20.04-ESM | pillow | 7.0.0-4ubuntu0.5 |
| 22.04 | pillow | 9.0.0-1 |
| 24.04 | pillow | 9.0.0-1 |
1 more row
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2022-22815
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2042522
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2042527
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-22815
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-22816
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-22817
- errata.almalinux.org https://errata.almalinux.org/8/ALSA-2022-0643.html
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2022:0643
- github.com https://github.com/advisories/GHSA-pw3c-h7wp-cvhx
- github.com https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2022-8.yaml
Show all 24 references
- github.com https://github.com/python-pillow/Pillow
- github.com https://github.com/python-pillow/Pillow/blob/c5d9223a8b5e9295d15b5a9b1ef1dae44c8499f3/src/path.c#L331
- github.com https://github.com/python-pillow/Pillow/blob/e8ab5640774716c5486d3cb05167f74f742ad6ef/CHANGES.rst?plain=1#L1187
- github.com https://github.com/python-pillow/Pillow/commit/1e092419b6806495c683043ab3feb6ce264f3b9c
- github.com https://github.com/python-pillow/Pillow/commit/c48271ab354db49cdbd740bc45e13be4f0f7993c
- github.com https://github.com/python-pillow/Pillow/pull/5920
- lists.debian.org https://lists.debian.org/debian-lts-announce/2022/01/msg00018.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2022-22815
- pillow.readthedocs.io https://pillow.readthedocs.io/en/stable/releasenotes/9.0.0.html#fixed-imagepath-path-array-handling
- security.gentoo.org https://security.gentoo.org/glsa/202211-10
- ubuntu.com https://ubuntu.com/security/notices/USN-5227-1
- ubuntu.com https://ubuntu.com/security/notices/USN-5227-2
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2022-22815
- www.debian.org https://www.debian.org/security/2022/dsa-5053
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.