Bug 461478 - (CVE-2008-3522) CVE-2008-3522 jasper: possible buffer overflow in jas_stream_printf()
CVE-2008-3522 jasper: possible buffer overflow in jas_stream_printf()
Status: CLOSED ERRATA
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20080908,repor...
: Security
Depends On: 530305
Blocks: 1167538
  Show dependency treegraph
 
Reported: 2008-09-08 09:30 EDT by Tomas Hoger
Modified: 2015-03-19 06:04 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2009-10-28 06:59:30 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)
OpenBSD patch (523 bytes, patch)
2008-09-08 09:35 EDT, Tomas Hoger
no flags Details | Diff

  None (edit)
Description Tomas Hoger 2008-09-08 09:30:10 EDT
Marc Espie and Christian Weisgerber of the OpenBSD project reported that jas_stream_printf() function used by jasper uses vsprintf() internally to print data to a fixed-size buffer.  This can result in a buffer overflow in cases where jas_stream_printf() may be called with untrusted user-supplied data.

OpenBSD jasper library patches:
http://www.openbsd.org/cgi-bin/cvsweb/ports/graphics/jasper/patches/
Comment 1 Tomas Hoger 2008-09-08 09:35:47 EDT
Created attachment 316079 [details]
OpenBSD patch
Comment 2 Tomas Hoger 2008-09-08 09:53:20 EDT
netpbm contains an embedded copy of the jasper library for use in jpeg2ktopam and pamtojpeg2k converters.  Even though it contains vulnerable version of jas_stream_printf(), that function is not used in netpbm.  Parts of the jasper sources that contain a call of jas_stream_printf() that can possibly result in an overflow, are not embedded in the netpbm source.

Removing netpbm maintainer from the CC.
Comment 4 Fedora Update System 2009-10-26 12:59:56 EDT
jasper-1.900.1-13.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/jasper-1.900.1-13.fc11
Comment 5 Fedora Update System 2009-10-26 13:01:05 EDT
jasper-1.900.1-13.fc10 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/jasper-1.900.1-13.fc10
Comment 6 Fedora Update System 2009-10-26 13:01:47 EDT
jasper-1.900.1-13.el5 has been submitted as an update for Fedora EPEL 5.
http://admin.fedoraproject.org/updates/jasper-1.900.1-13.el5
Comment 7 Fedora Update System 2009-10-26 13:02:27 EDT
jasper-1.900.1-13.el4 has been submitted as an update for Fedora EPEL 4.
http://admin.fedoraproject.org/updates/jasper-1.900.1-13.el4
Comment 8 Fedora Update System 2009-10-27 02:37:05 EDT
jasper-1.900.1-13.fc10 has been pushed to the Fedora 10 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 9 Fedora Update System 2009-10-27 02:43:22 EDT
jasper-1.900.1-13.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 10 Fedora Update System 2009-10-27 17:32:45 EDT
jasper-1.900.1-13.el4 has been pushed to the Fedora EPEL 4 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 11 Fedora Update System 2009-10-27 17:33:31 EDT
jasper-1.900.1-13.el5 has been pushed to the Fedora EPEL 5 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 12 errata-xmlrpc 2015-03-18 08:12:24 EDT
This issue has been addressed in the following products:

  RHEV Manager version 3.5

Via RHSA-2015:0698 https://rhn.redhat.com/errata/RHSA-2015-0698.html

Note You need to log in before you can comment on or make changes to this bug.