CVE-2017-9117
libtiff: Heap-based buffer over-read in bmp2tiff
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Red Hat (medium), Ubuntu (low).
Description
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).
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| debian 11 | tiff | 4.0.7-1 |
| debian 12 | tiff | 4.0.7-1 |
| debian 13 | tiff | 4.0.7-1 |
| debian 14 | tiff | 4.0.7-1 |
| echo | tiff | 4.0.7-1 |
| Red Hat | compat-libtiff3, libtiff, libtiff-devel and 2 more | no fix listed |
| root.io debian 11 | rootio-tiff | 4.0.7-1 |
| root.io debian 12 | rootio-tiff | 4.0.7-1 |
| root.io debian 13 | rootio-tiff | 4.0.7-1 |
| seal Red Hat 7 | libtiff, seal-libtiff | 4.0.3-35.el7+sp8 |
| ubuntu 14.04 | tiff | 4.0.3-7ubuntu0.9 |
| ubuntu 14.04-ESM | tiff | 4.0.3-7ubuntu0.9 |
Show all 19 entries from 14 sources
| Source | Package | Fixed in |
|---|---|---|
| debian 11 | tiff | 4.0.7-1 |
| debian 12 | tiff | 4.0.7-1 |
| debian 13 | tiff | 4.0.7-1 |
| debian 14 | tiff | 4.0.7-1 |
| echo | tiff | 4.0.7-1 |
| Red Hat | compat-libtiff3 | no fix listed |
| Red Hat | libtiff | no fix listed |
| Red Hat | libtiff-devel | no fix listed |
| Red Hat | libtiff-static | no fix listed |
| Red Hat | libtiff-tools | no fix listed |
| root.io debian 11 | rootio-tiff | 4.0.7-1 |
| root.io debian 12 | rootio-tiff | 4.0.7-1 |
| root.io debian 13 | rootio-tiff | 4.0.7-1 |
| seal Red Hat 7 | libtiff | 4.0.3-35.el7+sp8 |
| seal Red Hat 7 | seal-libtiff | 4.0.3-35.el7+sp8 |
| ubuntu 14.04 | tiff | 4.0.3-7ubuntu0.9 |
| ubuntu 14.04-ESM | tiff | 4.0.3-7ubuntu0.9 |
| ubuntu 16.04 | tiff | 4.0.6-1ubuntu0.4 |
| ubuntu 16.04-ESM | tiff | 4.0.6-1ubuntu0.4 |
References
- http://bugzilla.maptools.org/show_bug.cgi?id=2690
- http://www.securityfocus.com/bid/98581
- https://access.redhat.com/security/cve/CVE-2017-9117
- https://gitlab.com/libtiff/libtiff/-/issues/89
- https://nvd.nist.gov/vuln/detail/CVE-2017-9117
- https://ubuntu.com/security/notices/USN-3606-1
- https://usn.ubuntu.com/3606-1/
- https://www.cve.org/CVERecord?id=CVE-2017-9117