Cloudanix VulnDB

CVE-2017-10684

Critical · 9.8

CVSS

9.8

EPSS

4.9%

Published

Jun 29, 2017

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A flaw in a widely used library lets attackers take over computers by feeding them specially made data.

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 the fmt_entry function of ncurses 6.0 allows remote arbitrary code execution via crafted input.

Why it matters to the business

Attackers could gain full control of systems using the affected library through remote code execution, leading to data theft, service disruption, or further network compromise; the issue affects 98 downstream dependents and remains relevant for unpatched tensorflow (Bitnami) deployments despite its age.

How an attack unfolds

An attacker crafts malicious input that overflows the stack buffer in fmt_entry when processed by ncurses, enabling execution of arbitrary code on the target system without authentication.

How to fix it

Upgrade tensorflow (Bitnami) to version 2.1.4 or later to resolve the underlying ncurses dependency issue; apply vendor patches promptly across all dependents.

How to confirm the fix worked

Verify the installed ncurses version is newer than 6.0 and confirm tensorflow (Bitnami) reports 2.1.4 or higher; test with known non-exploitable inputs to ensure overflow conditions are mitigated.

Typical attack path

  1. Locate services or applications using vulnerable ncurses 6.0
  2. Send specially crafted input to trigger the fmt_entry buffer overflow
  3. Achieve remote code execution to install malware or pivot within the network

How to detect it

Review application logs for unexpected crashes or malformed input processing around ncurses functions; inspect process memory dumps for signs of stack corruption from fmt_entry calls.

What your security team should do

  • Prioritize patching tensorflow (Bitnami) to 2.1.4 given the high CVSS and ecosystem prevalence
  • Scan all dependent packages for ncurses 6.0 usage
  • Monitor for any new exploit maturity indicators despite current None status

The record

In ncurses 6.0, there is a stack-based buffer overflow in the fmt_entry function. A crafted input will lead to a remote arbitrary code execution attack.

Affected packages

Ecosystem Package Introduced Fixed
Alpine:v3.10 ncurses 0 6.0_p20170701-r0
Alpine:v3.11 ncurses 0 6.0_p20170701-r0
Alpine:v3.12 ncurses 0 6.0_p20170701-r0
Alpine:v3.13 ncurses 0 6.0_p20170701-r0
Alpine:v3.14 ncurses 0 6.0_p20170701-r0
Alpine:v3.15 ncurses 0 6.0_p20170701-r0
Alpine:v3.16 ncurses 0 6.0_p20170701-r0
Alpine:v3.17 ncurses 0 6.0_p20170701-r0
Alpine:v3.18 ncurses 0 6.0_p20170701-r0
Alpine:v3.19 ncurses 0 6.0_p20170701-r0
Alpine:v3.20 ncurses 0 6.0_p20170701-r0
Alpine:v3.21 ncurses 0 6.0_p20170701-r0
Alpine:v3.22 ncurses 0 6.0_p20170701-r0
Alpine:v3.3 ncurses 0 6.0-r7
Alpine:v3.4 ncurses 0 6.0-r8
Alpine:v3.5 ncurses 0 6.0-r8
Alpine:v3.6 ncurses 0 6.0-r8
Alpine:v3.7 ncurses 0 6.0_p20170701-r0
Alpine:v3.8 ncurses 0 6.0_p20170701-r0
Alpine:v3.9 ncurses 0 6.0_p20170701-r0
Debian:11 ncurses 0 6.0+20170708-1
Debian:12 ncurses 0 6.0+20170708-1
Debian:13 ncurses 0 6.0+20170708-1
Mageia:5 ncurses 0 5.9-21.1.mga5
Mageia:6 ncurses 0 6.0-8.1.mga6
SUSE:Linux Enterprise Desktop 12 SP2 ncurses 0 5.9-44.1
SUSE:Linux Enterprise Desktop 12 SP2 ncurses 0 5.9-50.1
SUSE:Linux Enterprise Desktop 12 SP3 ncurses 0 5.9-50.1
SUSE:Linux Enterprise Server 11 SP4 ncurses 0 5.6-92.1
SUSE:Linux Enterprise Server 11 SP4 ncurses 0 5.6-93.6.1
SUSE:Linux Enterprise Server 12 SP2 ncurses 0 5.9-44.1
SUSE:Linux Enterprise Server 12 SP2 ncurses 0 5.9-50.1
SUSE:Linux Enterprise Server 12 SP3 ncurses 0 5.9-50.1
SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 ncurses 0 5.9-44.1
SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 ncurses 0 5.9-50.1
SUSE:Linux Enterprise Server for SAP Applications 11 SP4 ncurses 0 5.6-92.1
SUSE:Linux Enterprise Server for SAP Applications 11 SP4 ncurses 0 5.6-93.6.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP2 ncurses 0 5.9-44.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP2 ncurses 0 5.9-50.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP3 ncurses 0 5.9-50.1
SUSE:Linux Enterprise Software Development Kit 11 SP4 ncurses 0 5.6-92.1
SUSE:Linux Enterprise Software Development Kit 11 SP4 ncurses 0 5.6-93.6.1
SUSE:Linux Enterprise Software Development Kit 12 SP2 ncurses 0 5.9-44.1
SUSE:Linux Enterprise Software Development Kit 12 SP2 ncurses 0 5.9-50.1
SUSE:Linux Enterprise Software Development Kit 12 SP3 ncurses 0 5.9-50.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