GLSA 201201-10: JasPer: User-assisted execution of arbitrary code

Severity:normal
Title:JasPer: User-assisted execution of arbitrary code
Date:01/23/2012
Bugs: #394879
ID:201201-10

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 Architecture(s)
media-libs/jasper < 1.900.1-r4 >= 1.900.1-r4 All supported architectures

Description

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).

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.

Resolution

All JasPer users should upgrade to the latest version:

      # emerge --sync
      # emerge --ask --oneshot --verbose ">=media-libs/jasper-1.900.1-r4"
    

References

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-201201-10.xml

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.

Thank you!