CVE-2019-17402

NameCVE-2019-17402
DescriptionExiv2 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-2019-1, DLA-3265-1, ELA-766-1
Debian Bugs946341

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
exiv2 (PTS)jessie, jessie (lts)0.24-4.1+deb8u7fixed
stretch (security)0.25-3.1+deb9u3vulnerable
stretch (lts), stretch0.25-3.1+deb9u4fixed
buster0.25-4+deb10u2vulnerable
buster (security)0.25-4+deb10u4fixed
bullseye0.27.3-3+deb11u2fixed
bullseye (security)0.27.3-3+deb11u1fixed
trixie, sid, bookworm0.27.6-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
exiv2sourcewheezy(unfixed)end-of-life
exiv2sourcejessie0.24-4.1+deb8u5DLA-2019-1
exiv2sourcestretch0.25-3.1+deb9u4ELA-766-1
exiv2sourcebuster0.25-4+deb10u4DLA-3265-1
exiv2source(unstable)0.27.3-1946341

Notes

[stretch] - exiv2 <no-dsa> (Minor issue)
https://github.com/Exiv2/exiv2/issues/1019
https://github.com/Exiv2/exiv2/commit/88054239e3c914862d13f6ac89a19a104fa2c076 (master)
https://github.com/Exiv2/exiv2/commit/50e9dd964a439da357798344ed1dd86edcadf0ec (0.27-branch)
Follow-up: https://github.com/Exiv2/exiv2/issues/1026

Search for package or bug name: Reporting problems