Numeric Errors Affecting libexif package, versions <0.6.21-r0


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
13.09% (96th 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-ALPINE316-LIBEXIF-2844839
  • published21 Jul 2020
  • disclosed13 Jul 2012

Introduced: 13 Jul 2012

CVE-2012-2841  (opens in a new tab)
CWE-189  (opens in a new tab)

How to fix?

Upgrade Alpine:3.16 libexif to version 0.6.21-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libexif package and not the libexif package as distributed by Alpine. See How to fix? for Alpine:3.16 relevant fixed versions and status.

Integer underflow in the exif_entry_get_value function in exif-entry.c in the EXIF Tag Parsing Library (aka libexif) 0.6.20 might allow remote attackers to execute arbitrary code via vectors involving a crafted buffer-size parameter during the formatting of an EXIF tag, leading to a heap-based buffer overflow.

CVSS Scores

version 3.1