In LibTIFF 4.0.9, there is an uncontrolled resource consumption in the TIFFSetDirectory function of tif_dir.c. Remote attackers could leverage this vulnerability to cause a denial of service via a crafted tif file. This occurs because the declared number of directory entries is not validated against the actual number of directory entries.
The product does not properly control the allocation and maintenance of a limited resource.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Libtiff | Libtiff | 4.0.9 (including) | 4.0.9 (including) |
Tiff | Ubuntu | artful | * |
Tiff | Ubuntu | esm-infra-legacy/trusty | * |
Tiff | Ubuntu | esm-infra/xenial | * |
Tiff | Ubuntu | precise/esm | * |
Tiff | Ubuntu | trusty | * |
Tiff | Ubuntu | trusty/esm | * |
Tiff | Ubuntu | upstream | * |
Tiff | Ubuntu | xenial | * |
Mitigation of resource exhaustion attacks requires that the target system either:
The first of these solutions is an issue in itself though, since it may allow attackers to prevent the use of the system by a particular valid user. If the attacker impersonates the valid user, they may be able to prevent the user from accessing the server in question.
The second solution is simply difficult to effectively institute – and even when properly done, it does not provide a full solution. It simply makes the attack require more resources on the part of the attacker.