CVE-2022-4645 Denial of service in libtiff
Attackers can cause denial of service in LibTIFF via crafted TIFF files due to an out-of-bounds read in tiffcp.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-4645?
CVE-2022-4645 is a medium-severity denial of service vulnerability in Fedoraproject Fedora, published on 3 Mar 2023. It can only be exploited from the same machine or local network, with no action from the victim.
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.
Weakness: CWE-125
Which versions are affected by CVE-2022-4645?
It affects 2 products.
Linux distribution packages (13)
libtiff AlmaLinux:8 | All versions | 4.0.9-31.el8 |
libtiff-devel AlmaLinux:8 | All versions | 4.0.9-31.el8 |
libtiff-tools AlmaLinux:8 | All versions | 4.0.9-31.el8 |
libtiff Red Hat:enterprise_linux:8::appstream | All versions | 0:4.0.9-31.el8 |
libtiff-debuginfo Red Hat:enterprise_linux:8::appstream | All versions | 0:4.0.9-31.el8 |
libtiff-debugsource Red Hat:enterprise_linux:8::appstream | All versions | 0:4.0.9-31.el8 |
libtiff-devel Red Hat:enterprise_linux:8::appstream | All versions | 0:4.0.9-31.el8 |
libtiff-tools-debuginfo Red Hat:enterprise_linux:8::appstream | All versions | 0:4.0.9-31.el8 |
libtiff-debuginfo Red Hat:enterprise_linux:8::crb | All versions | 0:4.0.9-31.el8 |
libtiff-debugsource Red Hat:enterprise_linux:8::crb | All versions | 0:4.0.9-31.el8 |
libtiff-tools Red Hat:enterprise_linux:8::crb | All versions | 0:4.0.9-31.el8 |
libtiff-tools-debuginfo Red Hat:enterprise_linux:8::crb | All versions | 0:4.0.9-31.el8 |
libtiff Rocky Linux:8 | All versions | 0:4.0.9-31.el8 |
Products include Fedoraproject Fedora, Libtiff Libtiff.
How do I fix CVE-2022-4645?
Apply the vendor's patch.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2022-4645 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-4645 exists.
Other vulnerabilities in Fedoraproject Fedora
Sources
Also known as ALPINE-CVE-2022-4645, ALSA-2024:3059, AZL-13826, AZL-43561, AZL-44667, DEBIAN-CVE-2022-4645 and 6 more.