Integer Overflow or Wraparound Affecting exiv2/exiv2 package, versions [0,0.27.4)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
2.56% (83rd 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 Learn

Learn about Integer Overflow or Wraparound vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-EXIV2EXIV2-2366997
  • published26 Jan 2022
  • disclosed26 Jul 2021
  • creditUnknown

Introduced: 26 Jul 2021

CVE-2021-31292  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade exiv2/exiv2 to version 0.27.4 or higher.

Overview

Affected versions of this package are vulnerable to Integer Overflow or Wraparound. An integer overflow in CrwMap::encode0x1810 of Exiv2 0.27.3 allows attackers to trigger a heap-based buffer overflow and cause a denial of service (DOS) via crafted metadata.

References

CVSS Base Scores

version 3.1