Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2021-34335— Denial of service due to FPE in Exiv2::Internal::resolveLens0xffff

Quick assessment

Affected
Exiv2 exiv2
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Exiv2是Andreas Huggel个人开发者的一套用于管理图像元数据的C++库和命令行应用程序。该产品提供了读取和写入EXIF、IPTC和XMP等多种格式图像元数据的功能。 Exiv2 0.27.4之前版本存在数字错误漏洞,该漏洞源于软件中发现了一个浮点异常,该异常是由整数除零引起的。当使用Exiv2打印图像文件的元数据时,会触发浮点异常。攻击者可利用该漏洞诱骗受害者在一个特制的图像文件上运行Exiv2,那么攻击者可能会利用该漏洞导致拒绝服务。

CVSS 4.7 · Medium EPSS 0.98% · P61

Possible ATT&CK Techniques 1 AI

T1496 · Resource Hijacking
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2021-34335

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Denial of service due to FPE in Exiv2::Internal::resolveLens0xffff
Source: CVE Program / CVE List V5
Vulnerability Description
Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. A floating point exception (FPE) due to an integer divide by zero was found in Exiv2 versions v0.27.4 and earlier. The FPE is triggered when Exiv2 is used to print 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 printing the interpreted (translated) data, which is a less frequently used Exiv2 operation that requires an extra command line option (`-p t` or `-P t`). The bug is fixed in version v0.27.5.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
除零错误
Source: CVE Program / CVE List V5
Vulnerability Title
Exiv2 数字错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Exiv2是Andreas Huggel个人开发者的一套用于管理图像元数据的C++库和命令行应用程序。该产品提供了读取和写入EXIF、IPTC和XMP等多种格式图像元数据的功能。 Exiv2 0.27.4之前版本存在数字错误漏洞,该漏洞源于软件中发现了一个浮点异常,该异常是由整数除零引起的。当使用Exiv2打印图像文件的元数据时,会触发浮点异常。攻击者可利用该漏洞诱骗受害者在一个特制的图像文件上运行Exiv2,那么攻击者可能会利用该漏洞导致拒绝服务。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
Exiv2 exiv2 <= 0.27.4 -

II. Public POCs for CVE-2021-34335

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2021-34335

请登录查看更多情报信息。

Patches & Fixes for CVE-2021-34335 (1)

Vendor Advisories for CVE-2021-34335 (2)

Mailing List Discussions for CVE-2021-34335 (2)

Same Patch Batch · Exiv2 · 2021-08-09 · 11 CVEs total

CVE-2021-32815 5.5 MEDIUM Denial of service due to assertion failure in crwimage_int.cpp
CVE-2021-34334 5.5 MEDIUM Denial of service due to integer overflow in loop counter
CVE-2021-37616 5.5 MEDIUM Null pointer dereference in Exiv2::Internal::resolveLens0x8ff
CVE-2021-37621 5.5 MEDIUM Denial of service due to infinite loop in Image::printIFDStructure
CVE-2021-37622 5.5 MEDIUM Denial of service due to infinite loop in JpegBase::printStructure (#1)
CVE-2021-37623 5.5 MEDIUM Denial of service due to infinite loop in JpegBase::printStructure (#2)
CVE-2021-37615 4.7 MEDIUM Null pointer dereference in Exiv2::Internal::resolveLens0x319
CVE-2021-37618 4.7 MEDIUM Out-of-bounds read in Exiv2::Jp2Image::printStructure
CVE-2021-37619 4.7 MEDIUM Out-of-bounds read in Exiv2::Jp2Image::encodeJp2Header
CVE-2021-37620 4.7 MEDIUM Out-of-bounds read in XmpTextValue::read()

IV. Related Vulnerabilities

V. Comments for CVE-2021-34335

No comments yet


Leave a comment