Out-of-bounds write in Exiv2 - CVE-2021-29464
Published: December 22, 2023
Exiv2
GNU
Description
The vulnerability allows a remote attacker to compromise vulnerable system.
The vulnerability exists due to a boundary error when processing untrusted input in Exiv2::Jp2Image::encodeJp2Header(). A remote attacker can pass specially crafted file to the application, trigger an out-of-bounds write and execute arbitrary code on the target system.
Remediation
External links
- https://github.com/Exiv2/exiv2/commit/f9308839198aca5e68a65194f151a1de92398f54
- https://github.com/Exiv2/exiv2/security/advisories/GHSA-jgm9-5fw5-pw9p
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/K3HKXR6JOVKMBE4HY4FDXNVZGNCQG6T3/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NDMZTVQAZSMLPTDVDYLBHAAF7I5QXVYQ/