Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › News › Linux

Advisory Analysis

libtirpc Flaw Can Leak Data Between Sun RPC UDP Requests

A flaw in libtirpc's SunRPC datagram server transport can expose data from a previous request because a decode buffer is not properly rebound on each datagram.

LinuxOperating systemsEndpoint security

Key points

  • A libtirpc flaw in the SunRPC UDP/datagram server transport can leak data between requests.
  • The decode stream is not rebound to the current datagram, allowing stale buffer contents to be read.
  • The report cites only a Red Hat Bugzilla entry as a public reference; no fix or CVE is stated.

A vulnerability in libtirpc, the transport-independent RPC library, can cause information to leak across separate requests to the SunRPC UDP/datagram server transport, according to a post by Florian Weimer on the oss-security mailing list.

What's affected

The issue involves the datagram server transport components svcdgrecv and svcudpcreate. As described in the Red Hat Bugzilla entry cited in the report, the implementation keeps a single XDR decode stream whose size matches the allocated receive buffer. When a new datagram arrives, the receive path resets the stream's position and invokes xdrcallmsg, but it fails to re-associate the stream with the current data. The result, per the report, is that stale buffer contents from an earlier request can be read, leading to cross-request information disclosure.

Context

Weimer noted that the only public reference he could locate is the Red Hat Bugzilla entry. No fixed version, CVE identifier, or mitigation details are provided in the source.

See the original oss-security post for the full technical description.

Our article, written with AI assistance from the facts of the original report and the official vulnerability data below. Read the original for full details.

Original report

oss-securityseclists.org

“Sun RPC cross-request information disclosure due to stale buffer read”

Posted by Florian Weimer on Dec 01 The only public reference I can find for this is in Red Hat Bugzilla: | A flaw was found in libtirpc. The SunRPC UDP/datagram server transport | (svc_dg_recv / svcudp_create) reuses a single XDR decode stream sized | to the allocated receive buffer. On each datagram, the receive path | resets the stream position and calls xdr_callmsg, but it does not | rebind th…

More on this topic