Cloudanix VulnDB

CVE-2017-13732

Medium · 6.5

CVSS

6.5

EPSS

2.9%

Published

Aug 29, 2017

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A problem in a widely used support library can let attackers crash certain programs, causing temporary outages until the software is updated.

Exploit Available
Exploitation
Requires User Interaction
Attacker needs
User Interaction
Complexity
Low
Impact
Denial Of Service
Component
Library
Class
Memory Corruption
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

The flaw triggers an illegal memory address access inside the dump_uses() function in progs/dump_entry.c of ncurses 6.0, resulting in a process crash and denial of service.

Why it matters to the business

Service interruptions can occur in any application that links against the vulnerable ncurses library, including certain TensorFlow deployments; 98 downstream dependents amplify exposure across the ecosystem, although the issue is not known to be used in ransomware.

How an attack unfolds

An attacker supplies specially crafted terminal or database input that reaches dump_uses() over the network; the illegal address access causes an immediate crash. Publicly available exploit code lowers the bar for attackers, though user interaction is required per the CVSS vector.

How to fix it

Upgrade all affected components to non-vulnerable releases; for tensorflow (Bitnami) this means version 2.1.4 or newer. Rebuild or reinstall any downstream packages that statically link ncurses 6.0 and verify the library version after the update.

How to confirm the fix worked

Confirm ncurses and tensorflow package versions match or exceed the fixed releases, then run regression tests that exercise terminal-database parsing paths; monitor for absence of crashes under previously triggering inputs.

Typical attack path

  1. Locate a reachable service or application that uses the vulnerable ncurses 6.0 library
  2. Prepare malicious input designed to exercise dump_uses()
  3. Deliver the input (often via file or terminal emulation) to trigger the illegal memory access
  4. Observe process termination and repeat to maintain denial of service

How to detect it

Review application and system logs for segmentation faults or abrupt terminations that reference dump_entry or terminal-database handling; correlate spikes in crashes with inbound terminal or file inputs.

What your security team should do

  • Apply the tensorflow (Bitnami) 2.1.4 update immediately because exploit code is publicly available
  • Inventory all systems for ncurses 6.0 usage and schedule upgrades for the remaining 98 dependents
  • Add crash-detection alerts for processes that call into ncurses terminal utilities

The record

There is an illegal address access in the function dump_uses() in progs/dump_entry.c in ncurses 6.0 that might lead to a remote denial of service attack.

Affected packages

Ecosystem Package Introduced Fixed
Alpine:v3.3 ncurses 0 6.0_p20170701-r0
Alpine:v3.4 ncurses 0 6.0_p20170701-r0
Alpine:v3.5 ncurses 0 6.0_p20170701-r0
Alpine:v3.6 ncurses 0 6.0_p20170930-r0
Debian:11 ncurses 0 6.0+20170827-1
Debian:12 ncurses 0 6.0+20170827-1
Debian:13 ncurses 0 6.0+20170827-1
Mageia:6 ncurses 0 6.0-8.1.mga6
SUSE:Linux Enterprise Desktop 12 SP2 ncurses 0 5.9-55.1
SUSE:Linux Enterprise Desktop 12 SP2 ncurses 0 5.9-58.1
SUSE:Linux Enterprise Desktop 12 SP3 ncurses 0 5.9-55.1
SUSE:Linux Enterprise Desktop 12 SP3 ncurses 0 5.9-58.1
SUSE:Linux Enterprise Server 11 SP4 ncurses 0 5.6-93.12.1
SUSE:Linux Enterprise Server 12 SP2 ncurses 0 5.9-55.1
SUSE:Linux Enterprise Server 12 SP2 ncurses 0 5.9-58.1
SUSE:Linux Enterprise Server 12 SP3 ncurses 0 5.9-55.1
SUSE:Linux Enterprise Server 12 SP3 ncurses 0 5.9-58.1
SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 ncurses 0 5.9-55.1
SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 ncurses 0 5.9-58.1
SUSE:Linux Enterprise Server for SAP Applications 11 SP4 ncurses 0 5.6-93.12.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP2 ncurses 0 5.9-55.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP2 ncurses 0 5.9-58.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP3 ncurses 0 5.9-55.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP3 ncurses 0 5.9-58.1
SUSE:Linux Enterprise Software Development Kit 11 SP4 ncurses 0 5.6-93.12.1
SUSE:Linux Enterprise Software Development Kit 12 SP2 ncurses 0 5.9-55.1
SUSE:Linux Enterprise Software Development Kit 12 SP2 ncurses 0 5.9-58.1
SUSE:Linux Enterprise Software Development Kit 12 SP3 ncurses 0 5.9-55.1
SUSE:Linux Enterprise Software Development Kit 12 SP3 ncurses 0 5.9-58.1
Ubuntu:18.04:LTS ncurses 0 6.1-1ubuntu1
Ubuntu:Pro:14.04:LTS ncurses 0 5.9+20140118-1ubuntu1+esm1
Ubuntu:Pro:16.04:LTS ncurses 0 6.0+20160213-1ubuntu1+esm1

Related vulnerabilities