CVE-2017-9117
In LibTIFF 4.0.6 and possibly other versions, the program processes BMP images without verifying that biWidth and biHeight in the bitmap-information header match the actual input, as demonstrated by a heap-based buffer over-read in bmp2tiff. NOTE: mentioning bmp2tiff does not imply that the activation point is in the bmp2tiff.c file (which was removed before the 4.0.7 release).
What to do
Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 16.04 | tiff | Fixed | 4.0.6-1ubuntu0.4 | UBUNTU-CVE-2017-9117 |
| Ubuntu 14.04 | tiff | Fixed | 4.0.3-7ubuntu0.9 | UBUNTU-CVE-2017-9117 |
| Debian 14 | tiff | Fixed | 4.0.7-1 | DEBIAN-CVE-2017-9117 |
| Debian 13 | tiff | Fixed | 4.0.7-1 | DEBIAN-CVE-2017-9117 |
| Debian 12 | tiff | Fixed | 4.0.7-1 | DEBIAN-CVE-2017-9117 |
| Red Hat Enterprise Linux 7 | compat-libtiff3 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | libtiff | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | libtiff-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | libtiff-static | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | libtiff-tools | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | libtiff | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | libtiff-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | libtiff-static | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 5 | libtiff | Will not fix Will not fix |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- LibTIFF: affected: 4.0.6
Vendor advisories:
- https://usn.ubuntu.com/3606-1/ (vendor-advisory)
References
- https://usn.ubuntu.com/3606-1/
- http://www.securityfocus.com/bid/98581
- http://bugzilla.maptools.org/show_bug.cgi?id=2690
- https://gitlab.com/libtiff/libtiff/-/issues/89
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.