低危 exiv2 exiv2 堆缓冲区溢出
CVE编号
CVE-2021-29457利用情况
暂无补丁情况
官方补丁披露时间
2021-04-20漏洞描述
Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. A heap buffer overflow was found in Exiv2 versions v0.27.3 and earlier. The heap overflow is triggered when Exiv2 is used to write metadata into 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. Note that this bug is only triggered when _writing_ the metadata, which is a less frequently used Exiv2 operation than _reading_ the metadata. For example, to trigger the bug in the Exiv2 command-line application, you need to add an extra command-line argument such as `insert`. The bug is fixed in version v0.27.4.解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。受影响软件情况
# | 类型 | 厂商 | 产品 | 版本 | 影响面 | ||||
1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
运行在以下环境 | |||||||||
应用 | exiv2 | exiv2 | * | Up to (excluding) 0.27.4 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.13 | exiv2 | * | Up to (excluding) 0.27.3-r1 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.14 | exiv2 | * | Up to (excluding) 0.27.3-r1 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.15 | exiv2 | * | Up to (excluding) 0.27.3-r1 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.16 | exiv2 | * | Up to (excluding) 0.27.3-r1 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.17 | exiv2 | * | Up to (excluding) 0.27.3-r1 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.18 | exiv2 | * | Up to (excluding) 0.27.3-r1 | |||||
运行在以下环境 | |||||||||
系统 | alpine_edge | exiv2 | * | Up to (excluding) 0.27.3-r1 | |||||
运行在以下环境 | |||||||||
系统 | centos_8 | exiv2-debuginfo | * | Up to (excluding) 0.27.4-5.el8 | |||||
运行在以下环境 | |||||||||
系统 | debian_10 | exiv2 | * | Up to (excluding) 0.25-4+deb10u2 | |||||
运行在以下环境 | |||||||||
系统 | debian_11 | exiv2 | * | Up to (excluding) 0.27.3-3+deb11u1 | |||||
运行在以下环境 | |||||||||
系统 | debian_12 | exiv2 | * | Up to (excluding) 0.27.3-3.1 | |||||
运行在以下环境 | |||||||||
系统 | debian_9 | exiv2 | * | Up to (excluding) 0.25-3.1+deb9u3 | |||||
运行在以下环境 | |||||||||
系统 | debian_sid | exiv2 | * | Up to (excluding) 0.27.3-3.1 | |||||
运行在以下环境 | |||||||||
系统 | fedora_33 | exiv2-devel | * | Up to (excluding) 0.27.3-6.fc33 | |||||
运行在以下环境 | |||||||||
系统 | fedora_34 | exiv2-devel | * | Up to (excluding) 0.27.3-6.fc34 | |||||
运行在以下环境 | |||||||||
系统 | opensuse_Leap_15.4 | libexiv2-27-32bit | * | Up to (excluding) 0.27.5-150400.15.4.1 | |||||
运行在以下环境 | |||||||||
系统 | redhat_8 | exiv2-debuginfo | * | Up to (excluding) 0.27.4-5.el8 | |||||
运行在以下环境 | |||||||||
系统 | suse_12_SP5 | libexiv2 | * | Up to (excluding) 12-0.23-12.18.1 | |||||
运行在以下环境 | |||||||||
系统 | ubuntu_18.04 | exiv2 | * | Up to (excluding) 0.25-3.1ubuntu0.18.04.7 | |||||
运行在以下环境 | |||||||||
系统 | ubuntu_18.04.5_lts | exiv2 | * | Up to (excluding) 0.25-3.1ubuntu0.18.04.7 | |||||
运行在以下环境 | |||||||||
系统 | ubuntu_20.04 | exiv2 | * | Up to (excluding) 0.27.2-8ubuntu2.2 | |||||
运行在以下环境 | |||||||||
系统 | ubuntu_21.04 | exiv2 | * | Up to (excluding) 0.27.3-3ubuntu1.1 | |||||
运行在以下环境 | |||||||||
系统 | ubuntu_21.10 | exiv2 | * | Up to (excluding) 0.27.3-3ubuntu2 | |||||
运行在以下环境 | |||||||||
系统 | ubuntu_22.04 | exiv2 | * | Up to (excluding) 0.27.3-3ubuntu2 | |||||
- 攻击路径 远程
- 攻击复杂度 复杂
- 权限要求 无需权限
- 影响范围 有限影响
- EXP成熟度 N/A
- 补丁情况 官方补丁
- 数据保密性 N/A
- 数据完整性 传输被破坏
- 服务器危害 DoS
- 全网数量 N/A
CWE-ID | 漏洞类型 |
CWE-122 | 堆缓冲区溢出 |
Exp相关链接

版权声明
本站原创文章转载请注明文章出处及链接,谢谢合作!
评论