JasPer: User-assisted execution of arbitrary code
1.
Gentoo Linux Security Advisory
Version Information
| Advisory Reference |
GLSA 200812-18 / jasper |
| Release Date |
December 16, 2008 |
| Latest Revision |
December 16, 2008: 01 |
| Impact |
normal |
| Exploitable |
remote |
| Package |
Vulnerable versions |
Unaffected versions |
Architecture(s) |
| media-libs/jasper |
<
1.900.1-r3 |
>=
1.900.1-r3 |
All supported architectures
|
Related bugreports:
#222819
Synopsis
Multiple memory management errors in JasPer might lead to execution of
arbitrary code via jpeg2k files.
2.
Impact Information
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.
Description
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
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.
3.
Resolution Information
Workaround
There is no known workaround at this time.
Resolution
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-r3"
|
4.
References
|