GLSA 200812-18: JasPer: User-assisted execution of arbitrary code
Severity: | normal |
Title: | JasPer: User-assisted execution of arbitrary code |
Date: | 12/16/2008 |
Bugs: |
|
ID: | 200812-18 |
Synopsis
Multiple memory management errors in JasPer might lead to execution of arbitrary code via jpeg2k files.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 | Architecture(s) |
---|---|---|---|
media-libs/jasper | < 1.900.1-r3 | >= 1.900.1-r3 | All supported architectures |
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.
Workaround
There is no known workaround at this time.
Resolution
All JasPer users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=media-libs/jasper-1.900.1-r3"
References
Availability
This GLSA and any updates to it are available for viewing at the Gentoo Security Website:
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.
License
Copyright 2010 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license.