GLSA-200812-18 : JasPer: User-assisted execution of arbitrary code

This script is Copyright (C) 2008-2014 Tenable Network Security, Inc.


Synopsis :

The remote Gentoo host is missing one or more security-related
patches.

Description :

The remote host is affected by the vulnerability described in GLSA-200812-18
(JasPer: User-assisted execution of arbitrary code)

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.

See also :

http://www.gentoo.org/security/en/glsa/glsa-200812-18.xml

Solution :

All JasPer users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose '>=media-libs/jasper-1.900.1-r3'

Risk factor :

Critical / CVSS Base Score : 10.0
(CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C)
CVSS Temporal Score : 7.4
(CVSS2#E:U/RL:OF/RC:C)
Public Exploit Available : false

Family: Gentoo Local Security Checks

Nessus Plugin ID: 35189 (gentoo_GLSA-200812-18.nasl)

Bugtraq ID: 31470

CVE ID: CVE-2008-3520
CVE-2008-3522