Cloudanix VulnDB

CVE-2017-12133

Medium · 5.9

CVSS

5.9

EPSS

2.4%

Published

Sep 7, 2017

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A bug in a fundamental system library could allow attackers to change data on computers that handle certain network requests, so organizations should install the available updates.

Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
High
Impact
Data Tampering
Component
Library
Class
Use After Free
Remediation
Upgrade
Effort
Medium
Patch risk
Medium

What it actually does

Use-after-free condition in clntudp_call within sunrpc/clnt_udp.c triggered on error paths, enabling memory corruption that can result in integrity violations during UDP-based RPC handling.

Why it matters to the business

Systems relying on glibc for network RPC services face risk of unauthorized data modification; although exploitation is uncommon, unpatched legacy deployments remain exposed after many years.

How an attack unfolds

An attacker sends specially crafted UDP packets to a service using glibc's clntudp_call; an error condition in the response path frees memory that is later reused, allowing corruption of program state to alter data or control flow.

How to fix it

Upgrade glibc to a version containing the fix for this use-after-free (2.26 or later) via distribution package manager; rebuild and restart any statically linked applications that embed the vulnerable library.

How to confirm the fix worked

Confirm glibc version is 2.26 or newer on all hosts; review build configurations for static linking and recompile affected binaries; test RPC client functionality under error conditions to verify stability.

Typical attack path

  1. Identify target service using glibc sunrpc UDP client functions
  2. Craft and transmit UDP datagrams that force an error path in clntudp_call
  3. Trigger use-after-free to corrupt memory and achieve integrity impact
  4. Leverage corruption to modify application data or behavior

How to detect it

Review system logs and application traces for unexpected crashes or memory errors in RPC client code paths; examine network traffic for anomalous UDP responses to sunrpc ports; correlate with process core dumps showing use-after-free patterns in clnt_udp.c.

What your security team should do

  • Inventory all systems for glibc versions and prioritize updates on internet-facing or RPC-exposed hosts
  • Apply distribution security updates immediately and verify no statically linked vulnerable copies remain
  • Monitor for any legacy applications that cannot be updated and isolate or replace them

The record

Use-after-free vulnerability in the clntudp_call function in sunrpc/clnt_udp.c in the GNU C Library (aka glibc or libc6) before 2.26 allows remote attackers to have unspecified impact via vectors related to error path.

Affected packages

Ecosystem Package Introduced Fixed
Debian:11 glibc 0 2.24-15
Debian:12 glibc 0 2.24-15
Debian:13 glibc 0 2.24-15
Mageia:5 glibc 0 2.20-26.mga5
Mageia:5 libtirpc 0 0.2.5-3.3.mga5
Mageia:6 glibc 0 2.22-26.mga6
Mageia:6 libtirpc 0 1.0.1-5.1.mga6
SUSE:Linux Enterprise Desktop 12 SP2 glibc 0 2.22-62.10.1
SUSE:Linux Enterprise Desktop 12 SP3 glibc 0 2.22-62.10.1
SUSE:Linux Enterprise Server 11 SP4 glibc 0 2.11.3-17.110.9.2
SUSE:Linux Enterprise Server 12 SP2 glibc 0 2.22-62.10.1
SUSE:Linux Enterprise Server 12 SP3 glibc 0 2.22-62.10.1
SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 glibc 0 2.22-62.10.1
SUSE:Linux Enterprise Server for SAP Applications 11 SP4 glibc 0 2.11.3-17.110.9.2
SUSE:Linux Enterprise Server for SAP Applications 12 SP2 glibc 0 2.22-62.10.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP3 glibc 0 2.22-62.10.1
SUSE:Linux Enterprise Software Development Kit 11 SP4 glibc 0 2.11.3-17.110.9.2
SUSE:Linux Enterprise Software Development Kit 12 SP2 glibc 0 2.22-62.10.1
SUSE:Linux Enterprise Software Development Kit 12 SP3 glibc 0 2.22-62.10.1
Ubuntu:16.04:LTS glibc 0 2.23-0ubuntu11.2
Ubuntu:18.04:LTS glibc 0 2.26-0ubuntu2
Ubuntu:18.04:LTS glibc 0 2.27-3ubuntu1.2
Ubuntu:Pro:14.04:LTS eglibc 0 No fix
openSUSE:Tumbleweed glibc 0 2.34-1.2

Related vulnerabilities