Cloudanix VulnDB

CVE-2016-9389

High · 7.5

CVSS

7.5

EPSS

4.4%

Published

Mar 23, 2017

CISA due date

—

Cloudanix analysis

Next patch cycle SSVC: Track

A flaw in an old image handling library can let attackers crash certain applications by sending a specially made picture file.

Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Low
Impact
Denial Of Service
Component
Library
Class
Denial of service
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Remote attacker can trigger assertion failure in jpc_irct and jpc_iict functions within JasPer image processing library, causing process crash and denial of service.

Why it matters to the business

Disruption of services that process untrusted image files, leading to application downtime and potential loss of availability for dependent systems.

How an attack unfolds

An attacker crafts a malicious JPEG2000 image that invokes the vulnerable MCT functions, causing an assertion failure when processed by an affected application.

How to fix it

Upgrade affected packages to the fixed versions provided, specifically prometheus-fips-2.53 (Chainguard) to 2.53.0-r4 or later, and rebuild any dependent images.

How to confirm the fix worked

Verify package versions after upgrade match or exceed the fixed releases; test image processing functionality with both valid and boundary-case inputs to confirm stability.

Typical attack path

  1. Identify a target application that accepts and processes JPEG2000 images using JasPer
  2. Craft a malformed image file designed to trigger the jpc_irct or jpc_iict functions
  3. Deliver the malicious image via network upload, file share, or email attachment
  4. Trigger processing of the image to induce assertion failure and crash

How to detect it

Review application and system logs for unexpected crashes or assertion failures during image processing; correlate with inbound image uploads from untrusted sources.

What your security team should do

  • Prioritize patching of all instances using the affected JasPer version within 30 days given the public disclosure age
  • Implement input validation and sandboxing for image processing workflows to limit blast radius
  • Monitor upstream JasPer releases for any additional related fixes

The record

The jpc_irct and jpc_iict functions in jpc_mct.c in JasPer before 1.900.14 allow remote attackers to cause a denial of service (assertion failure).

Affected packages

Ecosystem Package Introduced Fixed
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 SP2 jasper 0 1.900.14-195.3.1
SUSE:Linux Enterprise Desktop 12 SP3 jasper 0 1.900.14-195.5.1
SUSE:Linux Enterprise Server 11 SP4 jasper 0 1.900.14-134.33.3.1
SUSE:Linux Enterprise Server 12 SP2 jasper 0 1.900.14-195.3.1
SUSE:Linux Enterprise Server 12 SP3 jasper 0 1.900.14-195.5.1
SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 jasper 0 1.900.14-195.3.1
SUSE:Linux Enterprise Server for SAP Applications 11 SP4 jasper 0 1.900.14-134.33.3.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP2 jasper 0 1.900.14-195.3.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP3 jasper 0 1.900.14-195.5.1
SUSE:Linux Enterprise Software Development Kit 11 SP4 jasper 0 1.900.14-134.33.3.1
SUSE:Linux Enterprise Software Development Kit 12 SP2 jasper 0 1.900.14-195.3.1
SUSE:Linux Enterprise Software Development Kit 12 SP3 jasper 0 1.900.14-195.5.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 2.0.33-1.2

Related vulnerabilities