Cloudanix VulnDB

CVE-2015-8985

Medium · 5.9

CVSS

5.9

EPSS

2.9%

Published

Mar 20, 2017

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A long-standing flaw in a core system library could let an attacker shut down certain applications by sending specially formatted text, though the risk is now very low.

Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Moderate
Impact
Denial Of Service
Component
Library
Class
Denial of service
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

The pop_fail_stack function in glibc triggers an assertion failure and process crash when processing certain extended regular expression patterns supplied by an untrusted source.

Why it matters to the business

Applications that rely on glibc regex (including affected WordPress deployments) can be forced offline, causing service interruption; the issue is years old with negligible current exploitation likelihood and no known ransomware usage.

How an attack unfolds

An attacker crafts a malicious extended regex pattern that exercises the pop_fail_stack code path, sends it to the target application, and causes the process to hit the assertion and terminate.

How to fix it

Upgrade affected Bitnami WordPress installations to version 2.0.3 or later; where possible also update the underlying glibc package to a version that contains the pop_fail_stack fix.

How to confirm the fix worked

Confirm the installed Bitnami WordPress version is at least 2.0.3 and verify that glibc packages have been updated to releases containing the pop_fail_stack correction; test that previously crashing regex patterns no longer cause assertion failures.

Typical attack path

  1. Identify an entry point that accepts user-controlled regex patterns or data that is compiled into a regex
  2. Craft a pattern that reaches the vulnerable pop_fail_stack path in glibc
  3. Submit the pattern to the application
  4. Observe the resulting assertion failure and application crash

How to detect it

Examine application and system logs for sudden crashes or assertion failures during regex processing; correlate with inbound requests containing complex or unusual regular-expression-like strings.

What your security team should do

  • Prioritize upgrade of any remaining Bitnami WordPress instances to the fixed 2.0.3 release
  • Apply current glibc updates across all systems that perform regex processing
  • Review regex usage in applications to ensure untrusted input is not compiled directly into extended regular expressions

The record

The pop_fail_stack function in the GNU C Library (aka glibc or libc6) allows context-dependent attackers to cause a denial of service (assertion failure and application crash) via vectors related to extended regular expression processing.

Affected packages

Ecosystem Package Introduced Fixed
Debian:10 glibc 0 2.28-1
Debian:11 glibc 0 2.28-1
Debian:12 glibc 0 2.28-1
Debian:13 glibc 0 2.28-1
SUSE:Enterprise Storage 6 glibc 0 2.26-13.65.1
SUSE:Enterprise Storage 7 glibc 0 2.26-13.65.1
SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS glibc 0 2.26-13.65.1
SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS glibc 0 2.26-13.65.1
SUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOS glibc 0 2.26-13.65.1
SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS glibc 0 2.26-13.65.1
SUSE:Linux Enterprise High Performance Computing 15-ESPOS glibc 0 2.26-13.65.1
SUSE:Linux Enterprise High Performance Computing 15-LTSS glibc 0 2.26-13.65.1
SUSE:Linux Enterprise Micro 5.0 glibc 0 2.26-13.65.1
SUSE:Linux Enterprise Real Time 15 SP2 glibc 0 2.26-13.65.1
SUSE:Linux Enterprise Server 12 SP4-LTSS glibc 0 2.22-114.22.1
SUSE:Linux Enterprise Server 12 SP5 glibc 0 2.22-114.22.1
SUSE:Linux Enterprise Server 15 SP1-BCL glibc 0 2.26-13.65.1
SUSE:Linux Enterprise Server 15 SP1-LTSS glibc 0 2.26-13.65.1
SUSE:Linux Enterprise Server 15 SP2-BCL glibc 0 2.26-13.65.1
SUSE:Linux Enterprise Server 15 SP2-LTSS glibc 0 2.26-13.65.1
SUSE:Linux Enterprise Server 15-LTSS glibc 0 2.26-13.65.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP4 glibc 0 2.22-114.22.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP5 glibc 0 2.22-114.22.1
SUSE:Linux Enterprise Server for SAP Applications 15 glibc 0 2.26-13.65.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP1 glibc 0 2.26-13.65.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP2 glibc 0 2.26-13.65.1
SUSE:Linux Enterprise Software Development Kit 12 SP5 glibc 0 2.22-114.22.1
SUSE:Manager Proxy 4.1 glibc 0 2.26-13.65.1
SUSE:Manager Retail Branch Server 4.1 glibc 0 2.26-13.65.1
SUSE:Manager Server 4.1 glibc 0 2.26-13.65.1
SUSE:OpenStack Cloud 9 glibc 0 2.22-114.22.1
SUSE:OpenStack Cloud Crowbar 9 glibc 0 2.22-114.22.1
Ubuntu:Pro:14.04:LTS eglibc 0 No fix
Ubuntu:Pro:16.04:LTS glibc 0 No fix
Ubuntu:Pro:18.04:LTS glibc 0 No fix

Related vulnerabilities