blob: f9546b25bb0887e04d8792f70223e4e885e4b22d [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<glsa id="200812-18">
<title>JasPer: User-assisted execution of arbitrary code</title>
Multiple memory management errors in JasPer might lead to execution of
arbitrary code via jpeg2k files.
<product type="ebuild">jasper</product>
<announced>December 16, 2008</announced>
<revised>December 16, 2008: 01</revised>
<package name="media-libs/jasper" auto="yes" arch="*">
<unaffected range="ge">1.900.1-r3</unaffected>
<vulnerable range="lt">1.900.1-r3</vulnerable>
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.
Marc Espie and Christian Weisgerber have discovered multiple
vulnerabilities in JasPer:
Multiple integer overflows might allow for insufficient memory
allocation, leading to heap-based buffer overflows (CVE-2008-3520).
The jas_stream_printf() function in libjasper/base/jas_stream.c uses
vsprintf() to write user-provided data to a static to a buffer, leading
to an overflow (CVE-2008-3522).
<impact type="normal">
Remote attackers could entice a user or automated system to process
specially crafted jpeg2k files with an application using JasPer,
possibly leading to the execution of arbitrary code.
There is no known workaround at this time.
All JasPer users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose &quot;&gt;=media-libs/jasper-1.900.1-r3&quot;</code>
<uri link="">CVE-2008-3520</uri>
<uri link="">CVE-2008-3522</uri>
<metadata tag="requester" timestamp="Mon, 13 Oct 2008 18:51:07 +0000">
<metadata tag="submitter" timestamp="Tue, 21 Oct 2008 20:38:03 +0000">
<metadata tag="bugReady" timestamp="Mon, 15 Dec 2008 14:20:28 +0000">