Cloudanix VulnDB

CVE-2016-8883

Medium · 5.5

CVSS

5.5

EPSS

1.4%

Published

Jan 13, 2017

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A bug in an old image-processing library can make programs crash when they try to open certain specially made picture files.

Exploitation
Requires User Interaction
Attacker needs
User Interaction
Complexity
Low
Impact
Denial Of Service
Component
Library
Class
Denial of service
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

The jpc_dec_tiledecode function in JasPer triggers an assertion failure when parsing a specially crafted JPEG2000 file, resulting in an application crash.

Why it matters to the business

Processing untrusted image files can cause the affected application to terminate unexpectedly, interrupting services that rely on image decoding and requiring restarts or manual intervention.

How an attack unfolds

An attacker creates a malformed JPEG2000 image file and supplies it to an application that uses the vulnerable JasPer library; when the library attempts to decode the tile data, the assertion fails and the process aborts.

How to fix it

Upgrade JasPer to version 1.900.8 or later. For the listed amass packages the issue is already resolved at version 0; ensure deployments use the current Chainguard or Wolfi builds.

How to confirm the fix worked

Confirm JasPer version 1.900.8 or newer is installed; test that previously crashing crafted files no longer cause assertion failures or crashes.

Typical attack path

  1. Craft a JPEG2000 file that triggers the assertion in jpc_dec_tiledecode
  2. Deliver the file to the target system via any input channel that leads to image decoding
  3. Trigger processing of the file by the vulnerable application
  4. Observe denial of service from the resulting crash

How to detect it

Review application crash logs and core dumps for JasPer assertion failures triggered during JPEG2000 decoding; look for sudden terminations immediately after image-file ingestion.

What your security team should do

  • Verify current JasPer version in all image-processing pipelines and replace any version older than 1.900.8
  • Add malformed JPEG2000 test cases to regression suites for image-handling components
  • Monitor for application crashes when ingesting external image content

The record

The jpc_dec_tiledecode function in jpc_dec.c in JasPer before 1.900.8 allows remote attackers to cause a denial of service (assertion failure) via a crafted file.

Affected packages

Ecosystem Package Introduced Fixed
Debian:7 jasper 0 1.900.1-13+deb7u5
Mageia:5 jasper 0 1.900.23-1.mga5
Red Hat:enterprise_linux:6::client jasper 0 0:1.900.1-21.el6_9
Red Hat:enterprise_linux:6::client jasper-debuginfo 0 0:1.900.1-21.el6_9
Red Hat:enterprise_linux:6::client jasper-devel 0 0:1.900.1-21.el6_9
Red Hat:enterprise_linux:6::client jasper-libs 0 0:1.900.1-21.el6_9
Red Hat:enterprise_linux:6::client jasper-utils 0 0:1.900.1-21.el6_9
Red Hat:enterprise_linux:6::computenode jasper 0 0:1.900.1-21.el6_9
Red Hat:enterprise_linux:6::computenode jasper-debuginfo 0 0:1.900.1-21.el6_9
Red Hat:enterprise_linux:6::computenode jasper-devel 0 0:1.900.1-21.el6_9
Red Hat:enterprise_linux:6::computenode jasper-libs 0 0:1.900.1-21.el6_9
Red Hat:enterprise_linux:6::computenode jasper-utils 0 0:1.900.1-21.el6_9
Red Hat:enterprise_linux:6::server jasper 0 0:1.900.1-21.el6_9
Red Hat:enterprise_linux:6::server jasper-debuginfo 0 0:1.900.1-21.el6_9
Red Hat:enterprise_linux:6::server jasper-devel 0 0:1.900.1-21.el6_9
Red Hat:enterprise_linux:6::server jasper-libs 0 0:1.900.1-21.el6_9
Red Hat:enterprise_linux:6::server jasper-utils 0 0:1.900.1-21.el6_9
Red Hat:enterprise_linux:6::workstation jasper 0 0:1.900.1-21.el6_9
Red Hat:enterprise_linux:6::workstation jasper-debuginfo 0 0:1.900.1-21.el6_9
Red Hat:enterprise_linux:6::workstation jasper-devel 0 0:1.900.1-21.el6_9
Red Hat:enterprise_linux:6::workstation jasper-libs 0 0:1.900.1-21.el6_9
Red Hat:enterprise_linux:6::workstation jasper-utils 0 0:1.900.1-21.el6_9
Red Hat:enterprise_linux:7::client jasper 0 0:1.900.1-30.el7_3
Red Hat:enterprise_linux:7::client jasper-debuginfo 0 0:1.900.1-30.el7_3
Red Hat:enterprise_linux:7::client jasper-devel 0 0:1.900.1-30.el7_3
Red Hat:enterprise_linux:7::client jasper-libs 0 0:1.900.1-30.el7_3
Red Hat:enterprise_linux:7::client jasper-utils 0 0:1.900.1-30.el7_3
Red Hat:enterprise_linux:7::computenode jasper 0 0:1.900.1-30.el7_3
Red Hat:enterprise_linux:7::computenode jasper-debuginfo 0 0:1.900.1-30.el7_3
Red Hat:enterprise_linux:7::computenode jasper-devel 0 0:1.900.1-30.el7_3
Red Hat:enterprise_linux:7::computenode jasper-libs 0 0:1.900.1-30.el7_3
Red Hat:enterprise_linux:7::computenode jasper-utils 0 0:1.900.1-30.el7_3
Red Hat:enterprise_linux:7::server jasper 0 0:1.900.1-30.el7_3
Red Hat:enterprise_linux:7::server jasper-debuginfo 0 0:1.900.1-30.el7_3
Red Hat:enterprise_linux:7::server jasper-devel 0 0:1.900.1-30.el7_3
Red Hat:enterprise_linux:7::server jasper-libs 0 0:1.900.1-30.el7_3
Red Hat:enterprise_linux:7::server jasper-utils 0 0:1.900.1-30.el7_3
Red Hat:enterprise_linux:7::workstation jasper 0 0:1.900.1-30.el7_3
Red Hat:enterprise_linux:7::workstation jasper-debuginfo 0 0:1.900.1-30.el7_3
Red Hat:enterprise_linux:7::workstation jasper-devel 0 0:1.900.1-30.el7_3
Red Hat:enterprise_linux:7::workstation jasper-libs 0 0:1.900.1-30.el7_3
Red Hat:enterprise_linux:7::workstation jasper-utils 0 0:1.900.1-30.el7_3
SUSE:Linux Enterprise Desktop 12 SP1 jasper 0 1.900.14-181.1
SUSE:Linux Enterprise Desktop 12 SP2 jasper 0 1.900.14-181.1
SUSE:Linux Enterprise Server 11 SP4 jasper 0 1.900.14-134.25.1
SUSE:Linux Enterprise Server 12 SP1 jasper 0 1.900.14-181.1
SUSE:Linux Enterprise Server 12 SP2 jasper 0 1.900.14-181.1
SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 jasper 0 1.900.14-181.1
SUSE:Linux Enterprise Server for SAP Applications 11 SP4 jasper 0 1.900.14-134.25.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP1 jasper 0 1.900.14-181.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP2 jasper 0 1.900.14-181.1
SUSE:Linux Enterprise Software Development Kit 11 SP4 jasper 0 1.900.14-134.25.1
SUSE:Linux Enterprise Software Development Kit 12 SP1 jasper 0 1.900.14-181.1
SUSE:Linux Enterprise Software Development Kit 12 SP2 jasper 0 1.900.14-181.1
Ubuntu:14.04:LTS jasper 0 1.900.1-14ubuntu3.5
Ubuntu:16.04:LTS jasper 0 1.900.1-debian1-2.4ubuntu1.2
openSUSE:Tumbleweed jasper 0 1.900.14-3.1

Related vulnerabilities