Vulnerability · Published Oct 21, 2022 · Assigned by GitLab
CVE-2022-3598
Medium 5.5
In plain English
A medium-severity out-of-bounds write in libtiff from libtiff. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.3% (higher than 70% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)5.5Medium
Exploit odds (30 days)1.3%top 30.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known
Official description
LibTIFF 4.4.0 has an out-of-bounds write in extractContigSamplesShifted24bits in tools/tiffcrop.c:3604, allowing attackers to cause a denial-of-service via a crafted tiff file. For users that compile libtiff from sources, the fix is available with commit cfbb883b.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:9 | libtiff | 4.4.0-7.el9 | ALSA-2023:2340 |
| AlmaLinux:9 | libtiff-devel | 4.4.0-7.el9 | ALSA-2023:2340 |
| AlmaLinux:9 | libtiff-tools | 4.4.0-7.el9 | ALSA-2023:2340 |
| Alpine:v3.20 | tiff | 4.5.0-r0 | ALPINE-CVE-2022-3598 |
| Alpine:v3.21 | tiff | 4.5.0-r0 | ALPINE-CVE-2022-3598 |
| Alpine:v3.22 | tiff | 4.5.0-r0 | ALPINE-CVE-2022-3598 |
| Alpine:v3.23 | tiff | 4.5.0-r0 | ALPINE-CVE-2022-3598 |
| Alpine:v3.24 | tiff | 4.5.0-r0 | ALPINE-CVE-2022-3598 |
| Debian:12 | tiff | 4.4.0-5 | DEBIAN-CVE-2022-3598 |
| Debian:13 | tiff | 4.4.0-5 | DEBIAN-CVE-2022-3598 |
| Debian:14 | tiff | 4.4.0-5 | DEBIAN-CVE-2022-3598 |
| Ubuntu:22.04:LTS | tiff | 4.3.0-6ubuntu0.2 | USN-5714-1 |
| Ubuntu:22.04:LTS | tiff | 4.3.0-6ubuntu0.2 | UBUNTU-CVE-2022-3598 |
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/435
- https://gitlab.com/libtiff/libtiff/-/commit/cfbb883bf6ea7bedcb04177cc4e52d304522fdff
- https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-3598.json
- https://security.netapp.com/advisory/ntap-20230110-0001/
- [debian-lts-announce] 20230120 [SECURITY] [DLA 3278-1] tiff security update mailing-list