CVE-2021-3482

medium

Description

A flaw was found in Exiv2 in versions before and including 0.27.4-RC1. Improper input validation of the rawData.size property in Jp2Image::readMetadata() in jp2image.cpp can lead to a heap-based buffer overflow via a crafted JPG image containing malicious EXIF data.

References

https://bugzilla.redhat.com/show_bug.cgi?id=1946314

https://lists.fedoraproject.org/archives/list/[email protected]/message/2XQT5F5IINTDYDAFGVGQZ7PMMLG7I5ZZ/

https://lists.fedoraproject.org/archives/list/[email protected]/message/P2A5GMJEXQ5Q76JK6F6VKK5JYCLVFGKN/

https://www.debian.org/security/2021/dsa-4958

https://lists.debian.org/debian-lts-announce/2021/08/msg00028.html

Details

Source: MITRE

Published: 2021-04-08

Updated: 2021-09-21

Type: CWE-119

Risk Information

CVSS v2

Base Score: 6.4

Vector: AV:N/AC:L/Au:N/C:P/I:N/A:P

Impact Score: 4.9

Exploitability Score: 10

Severity: MEDIUM

CVSS v3

Base Score: 6.5

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L

Impact Score: 2.5

Exploitability Score: 3.9

Severity: MEDIUM