Buffer Overflow Affecting exiv2/exiv2 package, versions [0,0.27.3)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.29% (69th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-EXIV2EXIV2-2367030
  • published26 Jan 2022
  • disclosed9 Oct 2019
  • creditUnknown

Introduced: 9 Oct 2019

CVE-2019-17402  (opens in a new tab)
CWE-120  (opens in a new tab)

How to fix?

Upgrade exiv2/exiv2 to version 0.27.3 or higher.

Overview

Affected versions of this package are vulnerable to Buffer Overflow. 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.

References

CVSS Scores

version 3.1