CVE-2024-28219
python-pillow: buffer overflow in _imagingcms.c
Overview
Description
In _imagingcms.c in Pillow before 10.3.0, a buffer overflow exists because strcpy is used instead of strncpy.
Source: OX vulnerability database
Severity
5.9 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-680
Affected packages · 4
Operating systems · 34 fixes
Oracle Linux 1 release · 1 package
fixed 1
python3-pillow
| Release | Package | Fixed in |
|---|---|---|
| 8 | python3-pillow +3 | 5.1.1-21.el8_10 |
Red Hat 2 releases · 2 packages
affected 1
eol 1
fixed 1
python-pillow
python3-pillow
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | python-pillow | affected | — |
| 7 | python-pillow +5 | eol | — |
| 8 | python3-pillow +3 | 0:5.1.1-21.el8_10 | RHSA-2024:4227 |
SUSE Linux Enterprise 2 releases · 1 package
fixed 2
python311-pillow
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 15.4 | python311-pillow +1 | 9.5.0-150400.5.15.1 | SUSE-SU-2024:1258-1 |
| 15.5 | python311-pillow +1 | 9.5.0-150400.5.15.1 | SUSE-SU-2024:1258-1 |
alma 1 release · 1 package
fixed 1
python3-pillow
| Release | Package | Fixed in |
|---|---|---|
| 8 | python3-pillow +3 | 5.1.1-21.el8_10 |
alpine 4 releases · 1 package
fixed 4
py3-pillow
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | py3-pillow | 10.3.0-r0 |
| 3.23 | py3-pillow | 10.3.0-r0 |
| 3.24 | py3-pillow | 10.3.0-r0 |
| edge | py3-pillow | 10.3.0-r0 |
amazon linux 1 release · 1 package
fixed 1
python-pillow-debuginfo
| Release | Package | Fixed in |
|---|---|---|
| 2023 | python-pillow-debuginfo +6 | 9.4.0-2.amzn2023.0.6 |
chainguard 1 release · 3 packages
fixed 3
py3-seaborn
py3-pillow
kubeflow-pipelines-visualization-server
| Release | Package | Fixed in |
|---|---|---|
| py3-seaborn | 0.13.2-r3 | |
| py3-pillow | 10.3.0-r0 | |
| kubeflow-pipelines-visualization-server | 2.2.0-r0 |
debian 5 releases · 1 package
fixed 5
pillow
| Release | Package | Fixed in |
|---|---|---|
| 10 | pillow | 5.4.1-2+deb10u6 |
| 11 | pillow | 8.1.2+dfsg-0.3+deb11u2 |
| 12 | pillow | 9.4.0-1.1+deb12u1 |
| 13 | pillow | 10.3.0-1 |
| 14 | pillow | 10.3.0-1 |
echo 1 release · 1 package
fixed 1
pillow
| Release | Package | Fixed in |
|---|---|---|
| pillow | 9.4.0-1.1+deb12u1 |
openSUSE 1 release · 2 packages
fixed 2
python310-pillow
python313-pillow
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | python310-pillow +5 | 10.3.0-1.1 | openSUSE-SU-2024:13827-1 |
| Tumbleweed | python313-pillow +3 | 12.3.0-1.1 | openSUSE-SU-2026:11261-1 |
rocky 1 release · 1 package
fixed 1
python3-pillow
| Release | Package | Fixed in |
|---|---|---|
| 8 | python3-pillow | 5.1.1-21.el8_10 |
seal Red Hat 1 release · 1 package
fixed 1
python-jinja2
| Release | Package | Fixed in |
|---|---|---|
| 7 | python-jinja2 +1 | 2.7.2-4.el7+sp999 |
ubuntu 5 releases · 2 packages
fixed 6
pillow
pillow-python2
| Release | Package | Fixed in |
|---|---|---|
| 18.04-ESM | pillow | 5.1.0-1ubuntu0.8+esm1 |
| 20.04 | pillow | 7.0.0-4ubuntu0.9 |
| 20.04-ESM | pillow-python2 | 6.2.1-3ubuntu0.1~esm2 |
| 20.04-ESM | pillow | 7.0.0-4ubuntu0.9 |
| 22.04 | pillow | 9.0.1-1ubuntu0.3 |
| 24.04 | pillow | 10.2.0-1ubuntu1 |
wolfi 1 release · 3 packages
fixed 3
py3-seaborn
py3-pillow
kubeflow-pipelines-visualization-server
| Release | Package | Fixed in |
|---|---|---|
| py3-seaborn | 0.13.2-r3 | |
| py3-pillow | 10.3.0-r0 | |
| kubeflow-pipelines-visualization-server | 2.2.0-r0 |
References
- access.redhat.com https://access.redhat.com/errata/RHSA-2024:4227
- access.redhat.com https://access.redhat.com/security/cve/CVE-2024-28219
- bugzilla.redhat.com https://bugzilla.redhat.com/2272563
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2272563
- creativecommons.org https://creativecommons.org/licenses/by/4.0/
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-28219
- errata.almalinux.org https://errata.almalinux.org/8/ALSA-2024-4227.html
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2024:4227
- github.com https://github.com/advisories/GHSA-44wm-f244-xhp3
- github.com https://github.com/python-pillow/Pillow
Show all 23 references
- github.com https://github.com/python-pillow/Pillow/commit/2a93aba5cfcf6e241ab4f9392c13e3b74032c061
- linux.oracle.com https://linux.oracle.com/cve/CVE-2024-28219.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2024-4227.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2024/04/msg00008.html
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4XLPUT3VK4GQ6EVY525TT2QNUIXNRU5M
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4XLPUT3VK4GQ6EVY525TT2QNUIXNRU5M/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4XLPUT3VK4GQ6EVY525TT2QNUIXNRU5M/
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2024-28219
- pillow.readthedocs.io https://pillow.readthedocs.io/en/stable/releasenotes/10.3.0.html#security
- ubuntu.com https://ubuntu.com/security/notices/USN-6744-1
- ubuntu.com https://ubuntu.com/security/notices/USN-6744-2
- ubuntu.com https://ubuntu.com/security/notices/USN-6744-3
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2024-28219
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.