Bug 1189334 - (CVE-2021-37622) VUL-0: CVE-2021-37622: exiv2: exiv2: DoS due to infinite loop in JpegBase:printStructure
(CVE-2021-37622)
VUL-0: CVE-2021-37622: exiv2: exiv2: DoS due to infinite loop in JpegBase:pri...
Status: NEW
Classification: Novell Products
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents
unspecified
Other Other
: P3 - Medium : Normal
: ---
Assigned To: Dirk Mueller
Security Team bot
https://smash.suse.de/issue/306091/
CVSSv3.1:SUSE:CVE-2021-37622:5.3:(AV:...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2021-08-11 15:21 UTC by Gabriele Sonnu
Modified: 2021-08-12 07:55 UTC (History)
1 user (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gabriele Sonnu 2021-08-11 15:21:20 UTC
Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. An infinite loop was found in Exiv2 versions v0.27.4 and earlier. The infinite loop is triggered when Exiv2 is used to modify the metadata of a crafted image file. An attacker could potentially exploit the vulnerability to cause a denial of service, if they can trick the victim into running Exiv2 on a crafted image file. Note that this bug is only triggered when deleting the IPTC data, which is a less frequently used Exiv2 operation that requires an extra command line option (`-d I rm`). The bug is fixed in version v0.27.5.

Reference:
https://github.com/Exiv2/exiv2/security/advisories/GHSA-9jh3-fcc3-g6hv

Upstream patch:
https://github.com/Exiv2/exiv2/pull/1788

References:
https://bugzilla.redhat.com/show_bug.cgi?id=1992186
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-37622
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-37622
https://github.com/Exiv2/exiv2/security/advisories/GHSA-9jh3-fcc3-g6hv
https://github.com/Exiv2/exiv2/pull/1788
Comment 1 Gabriele Sonnu 2021-08-11 15:21:52 UTC
Affected Packages:
- SUSE:SLE-15:Update/exiv2  0.26
- openSUSE:Factory/exiv2    0.27.4