Cloudanix VulnDB

CVE-2017-17480

Critical · 9.8

CVSS

9.8

EPSS

5.1%

Published

Dec 8, 2017

CISA due date

—

Cloudanix analysis

Next patch cycle SSVC: Track

A flaw in image handling software can let attackers crash programs or take control of systems simply by sending a specially made file.

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

What it actually does

Stack-based buffer overflow in pgxtovolume function causes out-of-bounds write during JP3D image conversion.

Why it matters to the business

Processing of untrusted JP3D files in affected image pipelines or ML frameworks can lead to service disruption or full system compromise; 98 downstream dependents increase exposure across dependent software ecosystems.

How an attack unfolds

An attacker crafts a malicious JP3D file that triggers the buffer overflow when parsed by the vulnerable pgxtovolume function, resulting in out-of-bounds write that may enable remote code execution or denial of service.

How to fix it

Upgrade affected tensorflow (Bitnami) installations to version 2.1.4 or later; rebuild or replace any custom builds that embed the vulnerable OpenJPEG 2.3.0 library.

How to confirm the fix worked

Verify installed package versions match or exceed the fixed releases; test JP3D conversion paths with known-good and malformed inputs to confirm absence of crashes or unexpected writes.

Typical attack path

  1. Identify a target application or service that uses vulnerable OpenJPEG to process JP3D images
  2. Craft a specially formed JP3D file to overflow the stack buffer in pgxtovolume
  3. Deliver the file via network upload, email attachment, or file share
  4. Trigger parsing of the file to achieve out-of-bounds write
  5. Leverage write primitive for code execution or crash the process

How to detect it

Review application logs for crashes or segmentation faults during JP3D file processing; inspect process memory dumps or core files for signs of stack corruption around image conversion routines.

What your security team should do

  • Immediately upgrade tensorflow (Bitnami) to 2.1.4 across all environments
  • Inventory all applications using OpenJPEG for JP3D support and prioritize updates
  • Implement input validation and sandboxing for image processing workflows until patches are applied
  • Monitor EPSS and exploit maturity indicators for changes in threat landscape

The record

In OpenJPEG 2.3.0, a stack-based buffer overflow was discovered in the pgxtovolume function in jp3d/convert.c. The vulnerability causes an out-of-bounds write, which may lead to remote denial of service or possibly remote code execution.

Affected packages

Ecosystem Package Introduced Fixed
Alpine:v3.10 openjpeg 0 2.3.0-r1
Alpine:v3.11 openjpeg 0 2.3.0-r1
Alpine:v3.12 openjpeg 0 2.3.0-r1
Alpine:v3.13 openjpeg 0 2.3.0-r1
Alpine:v3.14 openjpeg 0 2.3.0-r1
Alpine:v3.15 openjpeg 0 2.3.0-r1
Alpine:v3.16 openjpeg 0 2.3.0-r1
Alpine:v3.17 openjpeg 0 2.3.0-r1
Alpine:v3.18 openjpeg 0 2.3.0-r1
Alpine:v3.19 openjpeg 0 2.3.0-r1
Alpine:v3.20 openjpeg 0 2.3.0-r1
Alpine:v3.21 openjpeg 0 2.3.0-r1
Alpine:v3.22 openjpeg 0 2.3.0-r1
Alpine:v3.6 openjpeg 0 2.3.0-r1
Alpine:v3.7 openjpeg 0 2.3.0-r1
Alpine:v3.8 openjpeg 0 2.3.0-r1
Alpine:v3.9 openjpeg 0 2.3.0-r1
Debian:11 openjpeg2 0 2.3.0-2
Debian:12 openjpeg2 0 2.3.0-2
Debian:13 openjpeg2 0 2.3.0-2
Debian:8 openjpeg2 0 2.1.0-2+deb8u5
Debian:9 openjpeg2 0 2.1.2-1.1+deb9u3
Mageia:6 openjpeg2 0 2.2.0-1.3.mga6
SUSE:Linux Enterprise Desktop 12 SP3 openjpeg2 0 2.1.0-4.9.1
SUSE:Linux Enterprise Server 12 SP3 openjpeg2 0 2.1.0-4.9.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP3 openjpeg2 0 2.1.0-4.9.1
Ubuntu:16.04:LTS openjpeg2 0 2.1.2-1.1+deb9u3build0.16.04.1
Ubuntu:18.04:LTS openjpeg2 0 2.3.0-2build0.18.04.1
Ubuntu:20.04:LTS openjpeg2 0 2.3.1-1ubuntu4
Ubuntu:22.04:LTS openjpeg2 0 2.4.0-6

Related vulnerabilities