Skip to content

Heap buffer overflow in src/jp2image.cpp

Low
kevinbackhouse published GHSA-9jp9-m3fv-2vg9 Apr 18, 2021

Package

Exiv2

Affected versions

< v0.27.4

Patched versions

v0.27.4

Description

Impact

A heap buffer overflow was found in Exiv2 versions v0.27.3 and earlier. Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. The heap overflow is triggered when Exiv2 is used to read the metadata of a crafted image file. An attacker could potentially exploit the vulnerability to gain code execution, if they can trick the victim into running Exiv2 on a crafted image file.

Patches

The bug is fixed in version v0.27.4.

References

Issue: #1522
Fix: #1523

For more information

Please see our security policy for information about Exiv2 security.

Severity

Low
0.0
/ 10

CVSS base metrics

Attack vector
Local
Attack complexity
High
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
None
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:N

CVE ID

CVE-2021-3482

Weaknesses

Credits