Secunia CSI 5.0
Overview
Advisories
Research
Forums
Create Profile
Our Commitment
Database
Search
Advisories by Product
Advisories by Vendor
Terminology
Report Vulnerability
Insecure Library Loading

Secunia Advisory SA25287

JasPer Multiple Vulnerabilities
Secunia Advisory SA25287
Get alerted and manage the vulnerability life cycle
Free Trial

Release Date 2007-05-18
Last Update 2008-10-13
   
Popularity 8,627 views
Comments 0 comments

Criticality level Moderately criticalModerately critical
Impact Privilege escalation
DoS
System access
Where From remote
Authentication level Available in Customer Area
   
Report reliability Available in Customer Area
Solution Status Unpatched
   
Systems affected Available in Customer Area
Approve distribution Available in Customer Area
Remediation status Secunia VIM
   
Software:
JasPer 1.x

Secunia CVSS Score Available in Customer Area
CVE Reference(s) CVE-2007-2721 CVSS available in Customer Area
CVE-2008-3520 CVSS available in Customer Area
CVE-2008-3521 CVSS available in Customer Area
CVE-2008-3522 CVSS available in Customer Area
  

Description

Some vulnerabilities have been reported in JasPer, which can be exploited by malicious people to cause a DoS (Denial of Service) and potentially compromise an application using the library, and by malicious, local users to perform certain actions with escalated privileges.

1) A vulnerability is caused due to an error in the "jpc_qcx_getcompparms" function when processing JP2 files and can be exploited to crash an application using the library.

2) Various integer overflows errors are reported, which potentially can be exploited to cause a heap-based buffer overflow by e.g. tricking a user into processing a specially crafted file in an application using the library.

3) A boundary error exists within the "jas_stream_printf()" function in src/libjasper/base/jas_stream.c. This can be exploited to cause a stack-based buffer overflow and potentially allows the execution of arbitrary code if an application uses this function to process unsanitised, user supplied data.

4) An error exists when handling temporary files within the "jas_stream_tmpfile()" function in src/libjasper/base/jas_stream.c. This can be exploited to overwrite arbitrary files via race condition and symlink attacks with the privileges of the user running the application.

The vulnerabilities are reported in version 1.900.1. Other versions may also be affected.


Solution
Do not open untrusted files with an application using JasPer.
Further details available in Customer Area

Provided and/or discovered by
1) Reported via a Debian bug report.
2, 3) Red Hat credits Marc Espie and Christian Weisgerber, OpenBSD.
4) Gentoo credits Marc Espie and Christian Weisgerber, OpenBSD.

Changelog
Further details available in Customer Area

Original Advisory
1) http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=413041
2) https://bugzilla.redhat.com/show_bug.cgi?id=461476
3) https://bugzilla.redhat.com/show_bug.cgi?id=461478
4) http://bugs.gentoo.org/show_bug.cgi?id=222819

Deep Links
Links available in Customer Area


Do you have additional information related to this advisory?

Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this information to vuln@secunia.com

Subject: JasPer Multiple Vulnerabilities
 
No posts yet

-

You must be logged in to post a comment.




 Products Solutions Customers Partner Resources Company
 
 Corporate
Vulnerability Intelligence Manager (VIM)
Corporate Software Inspector (CSI)
Consumer
Personal Software Inspector (PSI)
Online Software Inspector (OSI)
 Industry
Compliance
Technology
Integration
 Customers
Testimonials
 VARS
MSSP
Technology Partners
References
 Factsheets
Reports & Papers
Webinars
Events
 About us
Careers
Memberships
Newsroom


 
© 2002-2012 Secunia ApS - Rued Langgaards Vej 8, 4th floor, DK-2300 Copenhagen, Denmark - +45 7020 5144
Terms & Conditions and Copyright - Privacy - Report Vulnerability