Heap-based buffer overflow in autotrace - CVE-2022-32323
Published: May 9, 2023
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error within the ReadImage() function in input-bmp.c. A remote attacker can pass specially crafted image data to the application, trigger a heap-based buffer overflow and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
Amazon Linux AMI
Red Hat CodeReady Linux Builder for x86_64
Red Hat CodeReady Linux Builder for Power, little endian
Red Hat CodeReady Linux Builder for ARM 64
Red Hat CodeReady Linux Builder for IBM z Systems
Anolis OS
Fedora
autotrace
autotrace (Red Hat package)
How to mitigate CVE-2022-32323
autotrace (Red Hat package) - addressed in versions 0.31.1-55.el8, 0.31.1-65.el9
autotrace - addressed in versions 0.31.9-1.fc36, 0.31.9-1.fc37
autotrace - update to 0.31.9-86
External References
- https://github.com/autotrace/autotrace/commit/2b44c173027736c64b3f379bd154c41bab745423
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UKZPC4WCDOJ7BPJOMZ46AV27RCABZRYA/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4CZVCQH4L7KC5GXLU6SCESXR5TGSKQ2H/