CVE-2017-9239
An issue was discovered in Exiv2 0.26. When the data structure of the structure ifd is incorrect, the program assigns pValue_ to 0x0, and the value of pValue() is 0x0. TiffImageEntry::doWriteImage will use the value of pValue() to cause a segmentation fault. To exploit this vulnerability, someone must open a crafted tiff file.
What to do
Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.
PyPI has not shipped a fix for every release yet.
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 | exiv2 | Fixed | 0.25-2.1ubuntu16.04.3 | UBUNTU-CVE-2017-9239 |
| Ubuntu 14.04 | exiv2 | Fixed | 0.23-1ubuntu2.2 | UBUNTU-CVE-2017-9239 |
| Debian 14 | exiv2 | Fixed | 0.25-3.1 | DEBIAN-CVE-2017-9239 |
| Debian 13 | exiv2 | Fixed | 0.25-3.1 | DEBIAN-CVE-2017-9239 |
| Debian 12 | exiv2 | Fixed | 0.25-3.1 | DEBIAN-CVE-2017-9239 |
| Red Hat Enterprise Linux 7 | exiv2 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | exiv2-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | exiv2-doc | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | exiv2-libs | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | exiv2 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | exiv2-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | exiv2-libs | Will not fix Will not fix | ||
| PyPI library | exiv2 | Fix pending | PYSEC-2017-112 |
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.
Vendor advisories:
- https://usn.ubuntu.com/3852-1/ (vendor-advisory)
- http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00009.html (vendor-advisory)
References
- https://usn.ubuntu.com/3852-1/
- http://dev.exiv2.org/issues/1295
- http://www.securityfocus.com/bid/98720
- https://github.com/lolo-pop/poc/tree/master/Segmentation%20fault%20in%20convert-test%28exiv2%29
- http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00009.html
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.