CVE-2008-3522
published 2008-10-02CVE-2008-3522: Buffer overflow in the jas_stream_printf function in libjasper/base/jas_stream.c in JasPer 1.900.1 might allow context-dependent attackers to have an unknown…
PriorityP336critical10CVSS 2.0
AVNACLAuNCCICAC
EPSS
4.51%
90.4th percentile
Buffer overflow in the jas_stream_printf function in libjasper/base/jas_stream.c in JasPer 1.900.1 might allow context-dependent attackers to have an unknown impact via vectors related to the mif_hdr_put function and use of vsprintf.
Affected
8 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| artifex | ghostscript | >= 0 < 8.64~dfsg-2 | 8.64~dfsg-2 |
| artifex | ghostscript | >= 0 < 8.64~dfsg-2 | 8.64~dfsg-2 |
| artifex | ghostscript | >= 0 < 8.64~dfsg-2 | 8.64~dfsg-2 |
| artifex | ghostscript | >= 0 < 8.64~dfsg-2 | 8.64~dfsg-2 |
| debian | ghostscript | < ghostscript 8.64~dfsg-2 (bookworm) | ghostscript 8.64~dfsg-2 (bookworm) |
| debian | netpbm-free | < ghostscript 8.64~dfsg-2 (bookworm) | ghostscript 8.64~dfsg-2 (bookworm) |
| jasper_project | jasper | — | — |
| redhat | enterprise_virtualization | — | — |
CVSS provenance
nvdv2.010.0CRITICALAV:N/AC:L/Au:N/C:C/I:C/A:C
osv10.0CRITICAL
vendor_debian10.0MEDIUM
vendor_redhat10.0CRITICAL
vendor_ubuntu9.3CRITICAL
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
Ghostscript vulnerabilities
vendor_ubuntu·2012-01-04·CVSS 9.3
CVE-2008-3520 [CRITICAL] Ghostscript vulnerabilities
Title: Ghostscript vulnerabilities
Summary: Ghostscript could be made to crash or run programs as your login if it
opened a specially crafted file.
It was discovered that Ghostscript did not correctly handle memory
allocation when parsing certain malformed JPEG-2000 images. If a user or
automated system were tricked into opening a specially crafted image, an
attacker could cause a denial of service and possibly execute arbitrary
code with user privileges. (CVE-2008-3520)
It was discovered that Ghostscript did not correctly handle certain
formatting operations when parsing JPEG-2000 images. If a user or automated
system were tricked into opening a specially crafted image, an attacker
could cause a denial of service and possibly execute arbitrary code with
user privileges. (CVE-2008-3522)
Ubuntu
JasPer vulnerabilities
vendor_ubuntu·2009-03-19·CVSS 9.3
CVE-2008-3520 [CRITICAL] JasPer vulnerabilities
Title: JasPer vulnerabilities
Summary: JasPer vulnerabilities
It was discovered that JasPer did not correctly handle memory allocation
when parsing certain malformed JPEG2000 images. If a user were tricked into
opening a specially crafted image with an application that uses libjasper,
an attacker could cause a denial of service and possibly execute arbitrary
code with the user's privileges. (CVE-2008-3520)
It was discovered that JasPer created temporary files in an insecure way.
Local users could exploit a race condition and cause a denial of service in
libjasper applications.
(CVE-2008-3521)
It was discovered that JasPer did not correctly handle certain formatting
operations. If a user were tricked into opening a specially crafted image
with an application that uses libjasper, an atta
Red Hat
jasper: possible buffer overflow in jas_stream_printf()
vendor_redhat·2008-09-08·CVSS 10.0
CVE-2008-3522 [CRITICAL] CWE-122 jasper: possible buffer overflow in jas_stream_printf()
jasper: possible buffer overflow in jas_stream_printf()
Buffer overflow in the jas_stream_printf function in libjasper/base/jas_stream.c in JasPer 1.900.1 might allow context-dependent attackers to have an unknown impact via vectors related to the mif_hdr_put function and use of vsprintf.
Debian
CVE-2008-3522: ghostscript - Buffer overflow in the jas_stream_printf function in libjasper/base/jas_stream.c...
vendor_debian·2008·CVSS 10.0
CVE-2008-3522 [CRITICAL] CVE-2008-3522: ghostscript - Buffer overflow in the jas_stream_printf function in libjasper/base/jas_stream.c...
Buffer overflow in the jas_stream_printf function in libjasper/base/jas_stream.c in JasPer 1.900.1 might allow context-dependent attackers to have an unknown impact via vectors related to the mif_hdr_put function and use of vsprintf.
Scope: local
bookworm: resolved (fixed in 8.64~dfsg-2)
bullseye: resolved (fixed in 8.64~dfsg-2)
forky: resolved (fixed in 8.64~dfsg-2)
sid: resolved (fixed in 8.64~dfsg-2)
trixie: resolved (fixed in 8.64~dfsg-2)
GHSA
GHSA-gx7j-m7w9-jmf5: Buffer overflow in the jas_stream_printf function in libjasper/base/jas_stream
ghsa_unreviewed·2022-05-02
CVE-2008-3522 [HIGH] CWE-119 GHSA-gx7j-m7w9-jmf5: Buffer overflow in the jas_stream_printf function in libjasper/base/jas_stream
Buffer overflow in the jas_stream_printf function in libjasper/base/jas_stream.c in JasPer 1.900.1 might allow context-dependent attackers to have an unknown impact via vectors related to the mif_hdr_put function and use of vsprintf.
OSV
CVE-2008-3522: Buffer overflow in the jas_stream_printf function in libjasper/base/jas_stream
osv·2008-10-02·CVSS 10.0
CVE-2008-3522 [CRITICAL] CVE-2008-3522: Buffer overflow in the jas_stream_printf function in libjasper/base/jas_stream
Buffer overflow in the jas_stream_printf function in libjasper/base/jas_stream.c in JasPer 1.900.1 might allow context-dependent attackers to have an unknown impact via vectors related to the mif_hdr_put function and use of vsprintf.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2008-3520 CVE-2008-3522 Multiple jasper vulnerabilities
bugzilla·2009-10-22·CVSS 9.3
CVE-2008-3520 [CRITICAL] CVE-2008-3520 CVE-2008-3522 Multiple jasper vulnerabilities
CVE-2008-3520 CVE-2008-3522 Multiple jasper vulnerabilities
This is an automatically created tracking bug! It was created to ensure that one or more security vulnerabilities are fixed in all affected branches.
For comments that are specific to the vulnerability please use bugs filed against "Security Response" product referenced in "Blocks" field.
bug #461476: CVE-2008-3520 jasper: multiple integer overflows in jas_alloc calls
bug #461478: CVE-2008-3522 jasper: possible buffer overflow in jas_stream_printf()
When creating a Bodhi update request, please include the bug IDs of the respective parent bugs filed against the "Security Response" product.
Please mention CVE ids in the RPM changelog when available and only close this bug once all affected Fedora versions are fixed.
Bodhi updat
Bugzilla
CVE-2008-3522 jasper: possible buffer overflow in jas_stream_printf()
bugzilla·2008-09-08·CVSS 10.0
CVE-2008-3522 [CRITICAL] CVE-2008-3522 jasper: possible buffer overflow in jas_stream_printf()
CVE-2008-3522 jasper: possible buffer overflow in jas_stream_printf()
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/
Discussion:
Created attachment 316079
OpenBSD patch
---
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
http://bugs.gentoo.org/attachment.cgi?id=163282&action=viewhttp://bugs.gentoo.org/show_bug.cgi?id=222819http://rhn.redhat.com/errata/RHSA-2015-0698.htmlhttp://secunia.com/advisories/33173http://secunia.com/advisories/34391http://security.gentoo.org/glsa/glsa-200812-18.xmlhttp://www.mandriva.com/security/advisories?name=MDVSA-2009:142http://www.mandriva.com/security/advisories?name=MDVSA-2009:144http://www.mandriva.com/security/advisories?name=MDVSA-2009:164http://www.securityfocus.com/bid/31470http://www.slackware.com/security/viewer.php?l=slackware-security&y=2015&m=slackware-security.538606http://www.ubuntu.com/usn/USN-742-1https://exchange.xforce.ibmcloud.com/vulnerabilities/45623http://bugs.gentoo.org/attachment.cgi?id=163282&action=viewhttp://bugs.gentoo.org/show_bug.cgi?id=222819http://rhn.redhat.com/errata/RHSA-2015-0698.htmlhttp://secunia.com/advisories/33173http://secunia.com/advisories/34391http://security.gentoo.org/glsa/glsa-200812-18.xmlhttp://www.mandriva.com/security/advisories?name=MDVSA-2009:142http://www.mandriva.com/security/advisories?name=MDVSA-2009:144http://www.mandriva.com/security/advisories?name=MDVSA-2009:164http://www.securityfocus.com/bid/31470http://www.slackware.com/security/viewer.php?l=slackware-security&y=2015&m=slackware-security.538606http://www.ubuntu.com/usn/USN-742-1https://exchange.xforce.ibmcloud.com/vulnerabilities/45623
2008-10-02
Published