Vulnerability · Published Oct 21, 2022 · Assigned by GitLab
CVE-2022-3627
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.4% (higher than 72% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)5.5Medium
Exploit odds (30 days)1.4%top 28.0% 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 _TIFFmemcpy in libtiff/tif_unix.c:346 when called from extractImageSection, tools/tiffcrop.c:6860, 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 236b7191.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | libtiff | 4.0.9-27.el8 | ALSA-2023:2883 |
| AlmaLinux:9 | libtiff | 4.4.0-7.el9 | ALSA-2023:2340 |
| AlmaLinux:8 | libtiff-devel | 4.0.9-27.el8 | ALSA-2023:2883 |
| AlmaLinux:9 | libtiff-devel | 4.4.0-7.el9 | ALSA-2023:2340 |
| AlmaLinux:8 | libtiff-tools | 4.0.9-27.el8 | ALSA-2023:2883 |
| AlmaLinux:9 | libtiff-tools | 4.4.0-7.el9 | ALSA-2023:2340 |
| Alpine:v3.20 | tiff | 4.5.0-r0 | ALPINE-CVE-2022-3627 |
| Alpine:v3.21 | tiff | 4.5.0-r0 | ALPINE-CVE-2022-3627 |
| Alpine:v3.22 | tiff | 4.5.0-r0 | ALPINE-CVE-2022-3627 |
| Alpine:v3.23 | tiff | 4.5.0-r0 | ALPINE-CVE-2022-3627 |
| Alpine:v3.24 | tiff | 4.5.0-r0 | ALPINE-CVE-2022-3627 |
| Debian:12 | tiff | 4.4.0-5 | DEBIAN-CVE-2022-3627 |
| Debian:13 | tiff | 4.4.0-5 | DEBIAN-CVE-2022-3627 |
| Debian:14 | tiff | 4.4.0-5 | DEBIAN-CVE-2022-3627 |
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/-/commit/236b7191f04c60d09ee836ae13b50f812c841047
- https://gitlab.com/libtiff/libtiff/-/issues/411
- https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-3627.json
- https://security.netapp.com/advisory/ntap-20230110-0001/
- [debian-lts-announce] 20230120 [SECURITY] [DLA 3278-1] tiff security update mailing-list
- DSA-5333 vendor-advisory