Vulnerability · Published Nov 6, 2023 · Assigned by GitHub_M
CVE-2023-44398Out-of-bounds write in exiv2
High 8.8
In plain English
A high-severity out-of-bounds write in exiv2 from Exiv2. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 62% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Exiv2 is a C++ library and a command-line utility to read, write, delete and modify Exif, IPTC, XMP and ICC image metadata. An out-of-bounds write was found in Exiv2 version v0.28.0. The vulnerable function, `BmffImage::brotliUncompress`, is new in v0.28.0, so earlier versions of Exiv2 are _not_ affected. The out-of-bounds write is triggered when Exiv2 is used to read the metadata of 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. This bug is fixed in version v0.28.1. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | exiv2 | 0.28.1-r0 | ALPINE-CVE-2023-44398 |
| Alpine:v3.21 | exiv2 | 0.28.1-r0 | ALPINE-CVE-2023-44398 |
| Alpine:v3.22 | exiv2 | 0.28.1-r0 | ALPINE-CVE-2023-44398 |
| Alpine:v3.23 | exiv2 | 0.28.1-r0 | ALPINE-CVE-2023-44398 |
| Alpine:v3.24 | exiv2 | 0.28.1-r0 | ALPINE-CVE-2023-44398 |
| PyPI | exiv2 | no fix listed | PYSEC-2023-233 |
Affected products (as reported)
Weakness: CWE-787 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H