Buffer overflow in libcaca - CVE-2021-3410
Published: September 27, 2022
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 caca_resize90 function in libcaca/caca/canvas.c. A remote attacker can create a specially crafted file, trick the victim into opening it, trigger memory corruption and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
Gentoo Linux
SUSE Manager Server
SUSE Manager Retail Branch Server
SUSE Manager Proxy
SUSE Linux Enterprise Storage
SUSE Linux Enterprise Software Development Kit
SUSE Linux Enterprise Server for SAP Applications
SUSE Linux Enterprise Server
Ubuntu
SUSE Linux Enterprise Module for Basesystem
SUSE Linux Enterprise Desktop
SUSE Linux Enterprise High Performance Computing
openSUSE Leap
libcaca0-debuginfo
libcaca0
libcaca0-plugins-debuginfo
libcaca0-plugins
libcaca-devel
libcaca-debugsource
libcaca0 (Ubuntu package)
caca-utils (Ubuntu package)
libcaca0-plugins-32bit-debuginfo
libcaca0-plugins-32bit
libcaca0-32bit-debuginfo
libcaca0-32bit
python3-caca
libcaca-ruby-debuginfo
libcaca-ruby
caca-utils-debuginfo
caca-utils
How to mitigate CVE-2021-3410
libcaca0-debuginfo - addressed in versions 0.99 beta18-14.12.1, 0.99 beta19.git20171003-150200.11.9.1
libcaca0 - addressed in versions 0.99 beta18-14.12.1, 0.99 beta19.git20171003-150200.11.9.1
libcaca0-plugins-debuginfo - addressed in versions 0.99 beta18-14.12.1, 0.99 beta19.git20171003-150200.11.9.1
libcaca0-plugins - addressed in versions 0.99 beta18-14.12.1, 0.99 beta19.git20171003-150200.11.9.1
libcaca-devel - addressed in versions 0.99 beta18-14.12.1, 0.99 beta19.git20171003-150200.11.9.1
libcaca-debugsource - addressed in versions 0.99 beta18-14.12.1, 0.99 beta19.git20171003-150200.11.9.1
libcaca0 (Ubuntu package) - addressed in versions 0.99 beta19-2.1ubuntu1.20.04.1, 0.99 beta19-2.1ubuntu1.20.10.1, 0.99.beta19-2ubuntu0.16.04.2, 0.99.beta19-2ubuntu0.18.04.2, 0.99.beta19-2ubuntu0.18.04.3
caca-utils (Ubuntu package) - addressed in versions 0.99 beta19-2.1ubuntu1.20.04.1, 0.99 beta19-2.1ubuntu1.20.10.1, 0.99.beta19-2ubuntu0.16.04.2, 0.99.beta19-2ubuntu0.18.04.2, 0.99.beta19-2ubuntu0.18.04.3
libcaca0-plugins-32bit-debuginfo - update to 0.99 beta19.git20171003-150200.11.9.1
libcaca0-plugins-32bit - update to 0.99 beta19.git20171003-150200.11.9.1
libcaca0-32bit-debuginfo - update to 0.99 beta19.git20171003-150200.11.9.1
libcaca0-32bit - update to 0.99 beta19.git20171003-150200.11.9.1
python3-caca - update to 0.99 beta19.git20171003-150200.11.9.1
libcaca-ruby-debuginfo - update to 0.99 beta19.git20171003-150200.11.9.1
libcaca-ruby - update to 0.99 beta19.git20171003-150200.11.9.1
caca-utils-debuginfo - update to 0.99 beta19.git20171003-150200.11.9.1
caca-utils - update to 0.99 beta19.git20171003-150200.11.9.1
External References
- https://bugzilla.redhat.com/show_bug.cgi?id=1928437
- https://github.com/cacalabs/libcaca/issues/52
- https://lists.debian.org/debian-lts-announce/2021/03/msg00006.html
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6WFGYICNTMNDNMDDUV4G2RYFB5HNJCOV/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PC7EGOEQ5C4OD66ZUJJIIYEXBTZOCMZX/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZSBCRN6EGQJUVOSD4OEEQ6XORHEM2CUL/