Gentoo: GLSA-201201-10: JasPer: User-assisted execution of arbitrary code
Summary
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
(CVE-2011-4517).
Resolution
All JasPer users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=media-libs/jasper-1.900.1-r4"
References
[ 1 ] CVE-2011-4516 http://nvd.nist.gov/nvd.cfm?cvename=CVE-2011-4516 [ 2 ] CVE-2011-4517 http://nvd.nist.gov/nvd.cfm?cvename=CVE-2011-4517
Availability
This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:
https://security.gentoo.org/glsa/201201-10
Concerns
Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users' machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.
![Dist Gentoo](/images/distros/dist-gentoo.png)
Synopsis
Multiple memory management errors in JasPer could result in execution of arbitrary code or a Denial of Service.
Background
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.
Affected Packages
------------------------------------------------------------------- Package / Vulnerable / Unaffected ------------------------------------------------------------------- 1 media-libs/jasper < 1.900.1-r4 >= 1.900.1-r4
Impact
===== 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.
Workaround
There is no known workaround at this time.