Vulnerability · Published Mar 3, 2023 · Assigned by GitLab
CVE-2022-4645
Medium 6.8
In plain English
A medium-severity out-of-bounds read in libtiff from libtiff. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 37% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)6.8Medium
Exploit odds (30 days)0.4%top 63.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 read in tiffcp in tools/tiffcp.c:948, 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 e8131125.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | libtiff | 4.0.9-31.el8 | ALSA-2024:3059 |
| AlmaLinux:9 | libtiff | 4.4.0-7.el9 | ALSA-2023:2340 |
| AlmaLinux:8 | libtiff-devel | 4.0.9-31.el8 | ALSA-2024:3059 |
| AlmaLinux:9 | libtiff-devel | 4.4.0-7.el9 | ALSA-2023:2340 |
| AlmaLinux:8 | libtiff-tools | 4.0.9-31.el8 | ALSA-2024:3059 |
| AlmaLinux:9 | libtiff-tools | 4.4.0-7.el9 | ALSA-2023:2340 |
| Debian:12 | tiff | 4.4.0-5 | DEBIAN-CVE-2022-4645 |
| Debian:13 | tiff | 4.4.0-5 | DEBIAN-CVE-2022-4645 |
| Debian:14 | tiff | 4.4.0-5 | DEBIAN-CVE-2022-4645 |
| Rocky Linux:8 | libtiff | 0:4.0.9-31.el8 | RLSA-2024:3059 |
| Ubuntu:22.04:LTS | tiff | 4.3.0-6ubuntu0.2 | UBUNTU-CVE-2022-4645 |
Affected products (as reported)
Weakness: CWE-125 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
References
- https://gitlab.com/libtiff/libtiff/-/issues/277
- https://gitlab.com/libtiff/libtiff/-/commit/e813112545942107551433d61afd16ac094ff246
- https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-4645.json
- FEDORA-2023-6c1200da3d vendor-advisory
- FEDORA-2023-f5d075f7f2 vendor-advisory
- FEDORA-2023-40b675d7ae vendor-advisory
- https://security.netapp.com/advisory/ntap-20230331-0001/