Cloudanix VulnDB

CVE-2016-9390

Medium · 5.5

CVSS

5.5

EPSS

2.0%

Published

Mar 23, 2017

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A flaw in an image-processing library can make programs that open pictures crash when they receive a specially made file, interrupting any service that relies on those programs.

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

What it actually does

The jas_seq2d_create function in JasPer performs insufficient validation on image dimensions in crafted files, triggering an assertion failure that terminates the process.

Why it matters to the business

Applications that process untrusted images become unavailable when a malicious file is supplied, causing service disruption and potential loss of image-handling workflows until the process restarts.

How an attack unfolds

An attacker crafts a specially malformed image file that reaches the vulnerable JasPer code path; when the target application opens or converts the file, the library hits the assertion and crashes, resulting in denial of service. No remote code execution or data compromise occurs.

How to fix it

Upgrade JasPer to version 1.900.14 or later. For the listed Chainguard packages, update to the versions fixed in 3.5.5-r1. Where immediate patching is not possible, implement input sanitization or sandboxing of image processing.

How to confirm the fix worked

Confirm the installed JasPer library reports version 1.900.14 or newer; re-test with known trigger files in a controlled environment to verify the assertion no longer occurs.

Typical attack path

  1. Attacker generates a malformed image file targeting the JasPer library
  2. Victim application or workflow receives and processes the file (local or via upload)
  3. JasPer's jas_seq2d_create function evaluates invalid sequence dimensions
  4. Assertion failure is triggered, terminating the process
  5. Service or workflow becomes unavailable until restart

How to detect it

Review application and system logs for unexpected crashes or assertion failures during image processing; correlate with file-access timestamps of potentially untrusted images. No widespread in-the-wild exploitation artifacts are known.

What your security team should do

  • Apply the fixed package versions immediately given the long public disclosure window
  • Inventory all systems and containers that embed JasPer and prioritize updates
  • Add image-processing workloads to the vulnerability scanning and patching cadence
  • Consider runtime sandboxing or resource limits around image conversion jobs as defense-in-depth

The record

The jas_seq2d_create function in jas_seq.c in JasPer before 1.900.14 allows remote attackers to cause a denial of service (assertion failure) via a crafted image file.

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