Heap-based buffer overflow in JasPer - CVE-2011-4516

 

Heap-based buffer overflow in JasPer - CVE-2011-4516

Published: December 15, 2011 / Updated: August 3, 2020


Vulnerability identifier: #VU33329
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2011-4516
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error in Heap-based buffer overflow in the jpc_cox_getcompparms function in libjasper/jpc/jpc_cs.c in JasPer 1.900.1. A remote attacker can use a crafted numrlvls value in a coding style default to trigger heap-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

JasPer
Amazon Linux AMI
Gentoo Linux
Fedora
SUSE Linux
Slackware Linux
jasper (Alpine package)
jasper
mingw-jasper

How to mitigate CVE-2011-4516

Update to version 1.900.2.

JasPer - update to 1.900.2
jasper (Alpine package) - addressed in versions 1.900.1-r4, 1.900.1-r5
jasper - update to 1.900.1-14.el5
mingw-jasper - update to 1.900.1-24.fc21

External References

Related Security Bulletins