Vulnerability · Published Jan 23, 2023 · Assigned by mitre
CVE-2022-48281
Medium 5.5
In plain English
A medium-severity out-of-bounds write in the libtiff package (AlmaLinux). Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 40% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)5.5Medium
Exploit odds (30 days)0.5%top 60.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known
Official description
processCropSelections in tools/tiffcrop.c in LibTIFF through 4.5.0 has a heap-based buffer overflow (e.g., "WRITE of size 307203") via a crafted TIFF image.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | libtiff | 4.0.9-28.el8_8 | ALSA-2023:3827 |
| AlmaLinux:9 | libtiff | 4.4.0-8.el9_2 | ALSA-2023:3711 |
| AlmaLinux:8 | libtiff-devel | 4.0.9-28.el8_8 | ALSA-2023:3827 |
| AlmaLinux:9 | libtiff-devel | 4.4.0-8.el9_2 | ALSA-2023:3711 |
| AlmaLinux:8 | libtiff-tools | 4.0.9-28.el8_8 | ALSA-2023:3827 |
| AlmaLinux:9 | libtiff-tools | 4.4.0-8.el9_2 | ALSA-2023:3711 |
| Alpine:v3.20 | tiff | 4.5.0-r3 | ALPINE-CVE-2022-48281 |
| Alpine:v3.21 | tiff | 4.5.0-r3 | ALPINE-CVE-2022-48281 |
| Alpine:v3.22 | tiff | 4.5.0-r3 | ALPINE-CVE-2022-48281 |
| Alpine:v3.23 | tiff | 4.5.0-r3 | ALPINE-CVE-2022-48281 |
| Alpine:v3.24 | tiff | 4.5.0-r3 | ALPINE-CVE-2022-48281 |
| Debian:12 | tiff | 4.5.0-4 | DEBIAN-CVE-2022-48281 |
| Debian:13 | tiff | 4.5.0-4 | DEBIAN-CVE-2022-48281 |
| Debian:14 | tiff | 4.5.0-4 | DEBIAN-CVE-2022-48281 |
| Rocky Linux:8 | libtiff | 0:4.0.9-28.el8_8 | RLSA-2023:3827 |
| Rocky Linux:9 | libtiff | 0:4.4.0-8.el9_2 | RLSA-2023:3711 |
| Ubuntu:22.04:LTS | tiff | 4.3.0-6ubuntu0.5 | USN-6290-1 |
| Ubuntu:22.04:LTS | tiff | 4.3.0-6ubuntu0.5 | UBUNTU-CVE-2022-48281 |
Affected products (as reported)
Weakness: CWE-787 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
References
- https://gitlab.com/libtiff/libtiff/-/issues/488
- https://gitlab.com/libtiff/libtiff/-/commit/d1b6b9c1b3cae2d9e37754506c1ad8f4f7b646b5
- DSA-5333 vendor-advisory
- [debian-lts-announce] 20230130 [SECURITY] [DLA 3297-1] tiff security update mailing-list
- https://security.netapp.com/advisory/ntap-20230302-0004/
- GLSA-202305-31 vendor-advisory