RPCSEC_GSS library: Buffer overflow

Security Team  Contact Address

Updated October 04, 2007

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200710-01 / librcpsecgss
Release Date October 04, 2007
Latest Revision October 04, 2007: 01
Impact high
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
net-libs/librpcsecgss < 0.16 >= 0.16 All supported architectures

Related bugreports: #191479

Synopsis

A buffer overflow vulnerability has been discovered in librpcsecgss.

2.  Impact Information

Background

librpcsecgss is an implementation of RPCSEC_GSS for secure RPC communications.

Description

A stack based buffer overflow has been discovered in the svcauth_gss_validate() function in file lib/rpc/svc_auth_gss.c when processing an overly long string in a RPC message.

Impact

A remote attacker could send a specially crafted RPC request to an application relying on this library, e.g NFSv4 or Kerberos (GLSA-200709-01), resulting in the execution of arbitrary code with the privileges of the user running the application.

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

All librpcsecgss users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=net-libs/librpcsecgss-0.16"

4.  References