Ubuntu Security Notice
USN-8135-1
pillow vulnerabilities
Details
It was discovered that Pillow did not correctly handle reading J2K files, which could lead to an out-of-bounds read vulnerability. If a user or automated system were tricked into opening a specially crafted file, an attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 16.04 LTS. (CVE-2021-25287, CVE-2021-25288)
It was discovered that Pillow did not correctly handle certain integer arithmetic, which could lead to a buffer overflow. An attacker could possibly use this issue to cause a denial of service or execute arbitrary code. This issue only affected Ubuntu 14.04 LTS. (CVE-2021-25290)
It was discovered that Pillow did not correctly perform bounds checking for certain operations. An attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 14.04 LTS and Ubuntu 16.04 LTS. (CVE-2021-28675, CVE-2021-28676, CVE-2021-28677)
It was discovered that Pillow did not correctly handle certain memory operations. An attacker could possibly use this issue to cause a denial of service. (CVE-2023-44271)
It was discovered that Pillow did not correctly sanitize certain inputs. An attacker could possibly use this issue to execute arbitrary code. (CVE-2023-50447)
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:14.04:LTS | pillow | All versions before 2.3.0-1ubuntu3.4+esm5 (fixed in 2.3.0-1ubuntu3.4+esm5) |
| Ubuntu:Pro:16.04:LTS | pillow | All versions before 3.1.2-0ubuntu1.6+esm3 (fixed in 3.1.2-0ubuntu1.6+esm3) |
| Ubuntu:Pro:18.04:LTS | pillow | All versions before 5.1.0-1ubuntu0.8+esm2 (fixed in 5.1.0-1ubuntu0.8+esm2) |
References
- https://ubuntu.com/security/notices/USN-8135-1
- https://ubuntu.com/security/CVE-2021-25287
- https://ubuntu.com/security/CVE-2021-25288
- https://ubuntu.com/security/CVE-2021-25290
- https://ubuntu.com/security/CVE-2021-28675
- https://ubuntu.com/security/CVE-2021-28676
- https://ubuntu.com/security/CVE-2021-28677
- https://ubuntu.com/security/CVE-2023-44271
- https://ubuntu.com/security/CVE-2023-50447