Cloudanix VulnDB

CVE-2014-8137

None

CVSS

—

EPSS

14.5%

Published

Dec 24, 2014

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A bug in software that reads certain picture files can let attackers crash computers or take them over by sending a specially made image.

Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Moderate
Impact
Remote Code Execution
Component
Library
Class
Memory Corruption
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Double free in jas_iccattrval_destroy allows memory corruption when processing a crafted ICC color profile embedded in a JPEG 2000 image, resulting in denial of service or potential arbitrary code execution.

Why it matters to the business

Applications handling untrusted images on affected systems may crash or be fully compromised, disrupting image-processing workflows and exposing data.

How an attack unfolds

An attacker crafts a JPEG 2000 file containing a malformed ICC color profile and supplies it to a target application linked against the vulnerable JasPer library; the library's profile destruction routine performs the double free, enabling memory corruption that the attacker leverages for code execution.

How to fix it

Upgrade the JasPer library to a version that eliminates the double-free condition; apply vendor patches for Red Hat Enterprise Linux and rebuild dependent applications; restrict processing of untrusted JPEG 2000 files until patches are deployed.

How to confirm the fix worked

Confirm the installed JasPer version is newer than 1.900.1, run regression tests with known-malformed ICC profiles, and verify absence of the vulnerable jas_iccattrval_destroy code path.

Typical attack path

  1. Craft JPEG 2000 image embedding malicious ICC profile
  2. Deliver image to victim via web, email, or file share
  3. Victim application loads and parses the image with JasPer
  4. jas_iccattrval_destroy triggers double free and memory corruption
  5. Attacker achieves code execution or denial of service

How to detect it

Search application and system logs for crashes or segmentation faults during JPEG 2000 parsing, monitor for abnormal memory allocation patterns in processes linked to JasPer, and review any available crash dumps for double-free signatures.

What your security team should do

  • Inventory all systems and containers using JasPer and schedule immediate upgrades
  • Block or sandbox untrusted JPEG 2000 image ingestion until remediation
  • Add file-type filtering and content-disarmament controls for image uploads

The record

Double free vulnerability in the jas_iccattrval_destroy function in JasPer 1.900.1 and earlier allows remote attackers to cause a denial of service (crash) or possibly execute arbitrary code via a crafted ICC color profile in a JPEG 2000 image file.

Affected packages

Ecosystem Package Introduced Fixed
Debian:6.0 jasper 0 1.900.1-7+squeeze3
Debian:7 jasper 0 1.900.1-13+deb7u2
Mageia:4 jasper 0 1.900.1-15.2.mga4
Red Hat:enterprise_linux:6::client jasper 0 0:1.900.1-16.el6_6.2
Red Hat:enterprise_linux:6::client jasper-debuginfo 0 0:1.900.1-16.el6_6.2
Red Hat:enterprise_linux:6::client jasper-devel 0 0:1.900.1-16.el6_6.2
Red Hat:enterprise_linux:6::client jasper-libs 0 0:1.900.1-16.el6_6.2
Red Hat:enterprise_linux:6::client jasper-utils 0 0:1.900.1-16.el6_6.2
Red Hat:enterprise_linux:6::computenode jasper 0 0:1.900.1-16.el6_6.2
Red Hat:enterprise_linux:6::computenode jasper-debuginfo 0 0:1.900.1-16.el6_6.2
Red Hat:enterprise_linux:6::computenode jasper-devel 0 0:1.900.1-16.el6_6.2
Red Hat:enterprise_linux:6::computenode jasper-libs 0 0:1.900.1-16.el6_6.2
Red Hat:enterprise_linux:6::computenode jasper-utils 0 0:1.900.1-16.el6_6.2
Red Hat:enterprise_linux:6::hypervisor rhev-hypervisor6 0 0:6.7-20150828.0.el6ev
Red Hat:enterprise_linux:6::hypervisor rhev-hypervisor7 0 0:7.1-20150827.1.el6ev
Red Hat:enterprise_linux:6::server jasper 0 0:1.900.1-16.el6_6.2
Red Hat:enterprise_linux:6::server jasper-debuginfo 0 0:1.900.1-16.el6_6.2
Red Hat:enterprise_linux:6::server jasper-devel 0 0:1.900.1-16.el6_6.2
Red Hat:enterprise_linux:6::server jasper-libs 0 0:1.900.1-16.el6_6.2
Red Hat:enterprise_linux:6::server jasper-utils 0 0:1.900.1-16.el6_6.2
Red Hat:enterprise_linux:6::workstation jasper 0 0:1.900.1-16.el6_6.2
Red Hat:enterprise_linux:6::workstation jasper-debuginfo 0 0:1.900.1-16.el6_6.2
Red Hat:enterprise_linux:6::workstation jasper-devel 0 0:1.900.1-16.el6_6.2
Red Hat:enterprise_linux:6::workstation jasper-libs 0 0:1.900.1-16.el6_6.2
Red Hat:enterprise_linux:6::workstation jasper-utils 0 0:1.900.1-16.el6_6.2
Red Hat:enterprise_linux:7::client jasper 0 0:1.900.1-26.el7_0.2
Red Hat:enterprise_linux:7::client jasper-debuginfo 0 0:1.900.1-26.el7_0.2
Red Hat:enterprise_linux:7::client jasper-devel 0 0:1.900.1-26.el7_0.2
Red Hat:enterprise_linux:7::client jasper-libs 0 0:1.900.1-26.el7_0.2
Red Hat:enterprise_linux:7::client jasper-utils 0 0:1.900.1-26.el7_0.2
Red Hat:enterprise_linux:7::computenode jasper 0 0:1.900.1-26.el7_0.2
Red Hat:enterprise_linux:7::computenode jasper-debuginfo 0 0:1.900.1-26.el7_0.2
Red Hat:enterprise_linux:7::computenode jasper-devel 0 0:1.900.1-26.el7_0.2
Red Hat:enterprise_linux:7::computenode jasper-libs 0 0:1.900.1-26.el7_0.2
Red Hat:enterprise_linux:7::computenode jasper-utils 0 0:1.900.1-26.el7_0.2
Red Hat:enterprise_linux:7::hypervisor rhev-hypervisor7 0 0:7.1-20150827.1.el7ev
Red Hat:enterprise_linux:7::server jasper 0 0:1.900.1-26.el7_0.2
Red Hat:enterprise_linux:7::server jasper-debuginfo 0 0:1.900.1-26.el7_0.2
Red Hat:enterprise_linux:7::server jasper-devel 0 0:1.900.1-26.el7_0.2
Red Hat:enterprise_linux:7::server jasper-libs 0 0:1.900.1-26.el7_0.2
Red Hat:enterprise_linux:7::server jasper-utils 0 0:1.900.1-26.el7_0.2
Red Hat:enterprise_linux:7::workstation jasper 0 0:1.900.1-26.el7_0.2
Red Hat:enterprise_linux:7::workstation jasper-debuginfo 0 0:1.900.1-26.el7_0.2
Red Hat:enterprise_linux:7::workstation jasper-devel 0 0:1.900.1-26.el7_0.2
Red Hat:enterprise_linux:7::workstation jasper-libs 0 0:1.900.1-26.el7_0.2
Red Hat:enterprise_linux:7::workstation jasper-utils 0 0:1.900.1-26.el7_0.2
Red Hat:rhev_manager:3 rhevm-spice-client 0 0:3.5-3.el6
Red Hat:rhev_manager:3 rhevm-spice-client-x64-cab 0 0:3.5-3.el6
Red Hat:rhev_manager:3 rhevm-spice-client-x64-msi 0 0:3.5-3.el6
Red Hat:rhev_manager:3 rhevm-spice-client-x86-cab 0 0:3.5-3.el6
Red Hat:rhev_manager:3 rhevm-spice-client-x86-msi 0 0:3.5-3.el6
Ubuntu:14.04:LTS jasper 0 1.900.1-14ubuntu3.2
openSUSE:Tumbleweed jasper 0 1.900.14-3.1

Related vulnerabilities