JasPer: User-assisted execution of arbitrary code
Gentoo Linux Security Advisory
||GLSA 201201-10 / JasPer
||January 23, 2012
||January 23, 2012: 1
All supported architectures
Multiple memory management errors in JasPer could result in
execution of arbitrary code or a Denial of Service.
The JasPer Project is an open-source initiative to provide a free
software-based reference implementation of the codec specified in the
JPEG-2000 Part-1 (jpeg2k) standard.
Two vulnerabilities have been found in JasPer:
- The jpc_cox_getcompparms function in libjasper/jpc/jpc_cs.c contains
an error that could overwrite certain callback pointers, possibly
causing a heap-based buffer overflow (CVE-2011-4516).
- The jpc_crg_getparms function in libjasper/jpc/jpc_cs.c uses an
incorrect data type, possibly causing a heap-based buffer overflow
A remote attacker could entice a user or automated system to process
specially crafted JPEG-2000 files with an application using JasPer,
possibly resulting in the execution of arbitrary code with the privileges
of the application, or a Denial of Service.
There is no known workaround at this time.
All JasPer users should upgrade to the latest version:
Code Listing 3.1: Resolution
# emerge --sync
# emerge --ask --oneshot --verbose ">=media-libs/jasper-1.900.1-r4"