CVEfocus › CVE database › CVE-2019-17402

CVE-2019-17402

EPSS 1.9% (higher than 80% of CVEs)Published 2019-10-09Updated 2024-08-05Assigner: mitre

Exiv2 0.27.2 allows attackers to trigger a crash in Exiv2::getULong in types.cpp when called from Exiv2::Internal::CiffDirectory::readDirectory in crwimage_int.cpp, because there is no validation of the relationship of the total size to the offset and size.

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Red Hat, Ubuntu have 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

33Fixed
2Fix pending
5Will not fix

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 18.04exiv2Fixed0.25-3.1ubuntu0.18.04.4UBUNTU-CVE-2019-17402
Ubuntu 16.04exiv2Fixed0.25-2.1ubuntu16.04.5UBUNTU-CVE-2019-17402
Ubuntu 14.04exiv2Fix pending
Debian 14exiv2Fixed0.27.3-1DEBIAN-CVE-2019-17402
Debian 13exiv2Fixed0.27.3-1DEBIAN-CVE-2019-17402
Debian 12exiv2Fixed0.27.3-1DEBIAN-CVE-2019-17402
Red Hat Enterprise Linux 8compat-exiv2-026Fix pending
Fix deferred
Red Hat Enterprise Linux 8exiv2Fixed0:0.27.3-2.el8RHSA-2021:1758
Red Hat Enterprise Linux 8exiv2-develFixed0:0.27.3-2.el8RHSA-2021:1758
Red Hat Enterprise Linux 8exiv2-docFixed0:0.27.3-2.el8RHSA-2021:1758
Red Hat Enterprise Linux 8exiv2-libsFixed0:0.27.3-2.el8RHSA-2021:1758
Red Hat Enterprise Linux 7compat-exiv2-023Will not fix
Out of support scope
Red Hat Enterprise Linux 7compat-exiv2-026Will not fix
Out of support scope
Red Hat Enterprise Linux 7exiv2Fixed0:0.27.0-3.el7_8RHSA-2020:4030
Red Hat Enterprise Linux 7exiv2-develFixed0:0.27.0-3.el7_8RHSA-2020:4030
Red Hat Enterprise Linux 7exiv2-docFixed0:0.27.0-3.el7_8RHSA-2020:4030
Red Hat Enterprise Linux 7exiv2-libsFixed0:0.27.0-3.el7_8RHSA-2020:4030
Red Hat Enterprise Linux 6exiv2Will not fix
Out of support scope
Red Hat Enterprise Linux 6exiv2-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6exiv2-libsWill not fix
Out of support scope
AlmaLinux 8exiv2-develFixed0.27.3-2.el8ALSA-2021:1758
AlmaLinux 8exiv2-docFixed0.27.3-2.el8ALSA-2021:1758
Rocky Linux 8exiv2Fixed0:0.27.3-2.el8RLSA-2021:1758
Alpine Linux 3.24exiv2Fixed0.27.2-r2ALPINE-CVE-2019-17402
Alpine Linux 3.23exiv2Fixed0.27.2-r2ALPINE-CVE-2019-17402
Alpine Linux 3.22exiv2Fixed0.27.2-r2ALPINE-CVE-2019-17402
Alpine Linux 3.21exiv2Fixed0.27.2-r2ALPINE-CVE-2019-17402
Alpine Linux 3.20exiv2Fixed0.27.2-r2ALPINE-CVE-2019-17402
Alpine Linux 3.19exiv2Fixed0.27.2-r2ALPINE-CVE-2019-17402
Alpine Linux 3.18exiv2Fixed0.27.2-r2ALPINE-CVE-2019-17402
Alpine Linux 3.17exiv2Fixed0.27.2-r2ALPINE-CVE-2019-17402
Alpine Linux 3.16exiv2Fixed0.27.2-r2ALPINE-CVE-2019-17402
Alpine Linux 3.15exiv2Fixed0.27.2-r2ALPINE-CVE-2019-17402
Alpine Linux 3.14exiv2Fixed0.27.2-r2ALPINE-CVE-2019-17402
Alpine Linux 3.13exiv2Fixed0.27.2-r2ALPINE-CVE-2019-17402
Alpine Linux 3.12exiv2Fixed0.27.2-r2ALPINE-CVE-2019-17402
Alpine Linux 3.11exiv2Fixed0.27.2-r2ALPINE-CVE-2019-17402
Alpine Linux 3.10exiv2Fixed0.26-r1ALPINE-CVE-2019-17402
Alpine Linux 3.9exiv2Fixed0.26-r1ALPINE-CVE-2019-17402
Alpine Linux 3.8exiv2Fixed0.26-r1ALPINE-CVE-2019-17402

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:

References

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.