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

 

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

Published: December 24, 2014 / Updated: August 3, 2020


Vulnerability identifier: #VU33265
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-8138
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 jp2_decode function in JasPer 1.900.1 and earlier. A remote attacker can use a crafted JPEG 2000 file. 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-8138

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-29.fc21
mingw-jasper - addressed in versions 1.900.1-25.el7, 1.900.1-25.fc21

External References

Related Security Bulletins