---
title: "CVE-2021-29470"
canonical_url: "https://pkgseek.com/security/CVE-2021-29470"
locale: "zh-CN"
source: "pkgseek"
entity_type: "cve"
severity: "medium"
---

# CVE-2021-29470

Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. An out-of-bounds read was found in Exiv2 versions v0.27.3 and earlier. The out-of-bounds read is triggered when Exiv2 is used to write metadata into a crafted image file. An attacker could potentially exploit the vulnerability to cause a denial of service by crashing Exiv2, 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 …

CVE-2021-29470 严重级别为 MEDIUM (6.5)，共索引 7 条受影响软件包构建记录，涉及 2 个发行版。

- **级别 / 评分**: MEDIUM (6.5)
- **受影响构建数**: 7
- **涉及发行版**: 2
- **已标明修复版本发行版**: Alibaba Cloud Linux, Ubuntu

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Alibaba Cloud Linux | 3 | exiv2 | 0.27.3-3.1.al8 | 0.27.5-2.al8 |
| Alibaba Cloud Linux | 3 | exiv2-devel | 0.27.3-3.1.al8 | 0.27.5-2.al8 |
| Alibaba Cloud Linux | 3 | exiv2-doc | 0.27.3-3.1.al8 | 0.27.5-2.al8 |
| Alibaba Cloud Linux | 3 | exiv2-libs | 0.27.3-3.1.al8 | 0.27.5-2.al8 |
| Ubuntu | focal | libexiv2-27 | 0.27.2-8ubuntu2 | 0.27.2-8ubuntu2.2 |
| Ubuntu | focal | libexiv2-dev | 0.27.2-8ubuntu2 | 0.27.2-8ubuntu2.2 |
| Ubuntu | focal | libexiv2-doc | 0.27.2-8ubuntu2 | 0.27.2-8ubuntu2.2 |
