Heap-based buffer overflow in JasPer - CVE-2014-8157

 

Heap-based buffer overflow in JasPer - CVE-2014-8157

Published: January 26, 2015 / Updated: August 3, 2020


Vulnerability identifier: #VU33266
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-2014-8157
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 Off-by-one error in the jpc_dec_process_sot function in JasPer 1.900.1 and earlier. A remote attacker can use a crafted JPEG 2000 image 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
Slackware Linux
jasper (Alpine package)
jasper
mingw-jasper

How to mitigate CVE-2014-8157

Update to version 1.900.2.

JasPer - update to 1.900.2
jasper (Alpine package) - update to 1.900.1-r10
jasper - addressed in versions 1.900.1-15.el5, 1.900.1-30.fc21
mingw-jasper - addressed in versions 1.900.1-26.el7, 1.900.1-26.fc21

External References

Related Security Bulletins