Cloudanix VulnDB

CVE-2017-2870

High · 7.8

CVSS

7.8

EPSS

2.6%

Published

Sep 5, 2017

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A flaw in how certain programs handle special image files could let attackers run their own code on a computer if a bad file is opened or downloaded.

Exploit Available
Exploitation
Requires User Interaction
Attacker needs
User Interaction
Complexity
Low
Impact
Remote Code Execution
Component
Library
Class
Buffer Overflow
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Integer overflow in tiff_image_parse of Gdk-Pixbuf leads to heap overflow enabling remote code execution when processing a malicious TIFF image.

Why it matters to the business

Attackers can execute arbitrary code on systems that process untrusted images through affected libraries, potentially leading to full system compromise; the affected Istio components have been addressed in current releases, reducing exposure for updated deployments.

How an attack unfolds

An attacker crafts a malicious TIFF file that triggers the integer overflow during parsing; the file is delivered via local filesystem, download, or URL to any application using the vulnerable Gdk-Pixbuf library, resulting in heap corruption and arbitrary code execution.

How to fix it

Upgrade affected Istio pilot-agent packages to the fixed versions listed for each variant; rebuild any dependent containers with updated Gdk-Pixbuf libraries that resolve the overflow.

How to confirm the fix worked

Verify package versions against the provided fixed releases for each Istio variant; test image processing pipelines with known-good and malformed TIFF samples to confirm absence of overflow behavior.

Typical attack path

  1. Identify target application that processes TIFF images via Gdk-Pixbuf
  2. Craft malicious TIFF file exploiting integer overflow in tiff_image_parse
  3. Deliver file through local access, web download, or URL reference
  4. Trigger image parsing to cause heap overflow and gain code execution

How to detect it

Review application logs for unexpected crashes or errors during TIFF image processing; examine process memory dumps or core files for signs of heap corruption following image parsing.

What your security team should do

  • Confirm all deployments use the fixed package versions for istio-pilot-agent variants
  • Scan container images for outdated Gdk-Pixbuf dependencies
  • Implement image format validation and sandboxing for untrusted TIFF processing

The record

An exploitable integer overflow vulnerability exists in the tiff_image_parse functionality of Gdk-Pixbuf 2.36.6 when compiled with Clang. A specially crafted tiff file can cause a heap-overflow resulting in remote code execution. An attacker can send a file or a URL to trigger this vulnerability.

Affected packages

Ecosystem Package Introduced Fixed
Debian:10 gdk-pixbuf 0 2.36.10-1
Debian:11 gdk-pixbuf 0 2.36.10-1
Debian:12 gdk-pixbuf 0 2.36.10-1
Debian:13 gdk-pixbuf 0 2.36.10-1
Debian:14 gdk-pixbuf 0 2.36.10-1
Debian:8 gdk-pixbuf 0 2.31.1-2+deb8u8
Mageia:5 gdk-pixbuf2.0 0 2.32.3-1.1.mga5
Mageia:6 gdk-pixbuf2.0 0 2.36.10-1.1.mga6
SUSE:Linux Enterprise Desktop 12 SP2 gdk-pixbuf 0 2.34.0-19.5.1
SUSE:Linux Enterprise Desktop 12 SP3 gdk-pixbuf 0 2.34.0-19.5.1
SUSE:Linux Enterprise Server 11 SP4 gtk2 0 2.18.9-0.45.8.1
SUSE:Linux Enterprise Server 12 SP2 gdk-pixbuf 0 2.34.0-19.5.1
SUSE:Linux Enterprise Server 12 SP3 gdk-pixbuf 0 2.34.0-19.5.1
SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 gdk-pixbuf 0 2.34.0-19.5.1
SUSE:Linux Enterprise Server for SAP Applications 11 SP4 gtk2 0 2.18.9-0.45.8.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP2 gdk-pixbuf 0 2.34.0-19.5.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP3 gdk-pixbuf 0 2.34.0-19.5.1
SUSE:Linux Enterprise Software Development Kit 11 SP4 gtk2 0 2.18.9-0.45.8.1
SUSE:Linux Enterprise Software Development Kit 12 SP2 gdk-pixbuf 0 2.34.0-19.5.1
SUSE:Linux Enterprise Software Development Kit 12 SP3 gdk-pixbuf 0 2.34.0-19.5.1
Ubuntu:14.04:LTS gdk-pixbuf 0 2.30.7-0ubuntu1.7
Ubuntu:16.04:LTS gdk-pixbuf 0 2.32.2-1ubuntu1.3
openSUSE:Tumbleweed gdk-pixbuf 0 2.42.6-3.2

Related vulnerabilities