RPCSEC_GSS library: Buffer overflow — GLSA 200710-01

A buffer overflow vulnerability has been discovered in librpcsecgss.

Affected packages

net-libs/librpcsecgss on all architectures
Affected versions < 0.16
Unaffected versions >= 0.16

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.

Workaround

There is no known workaround at this time.

Resolution

All librpcsecgss users should upgrade to the latest version:

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

References

Release date
October 04, 2007

Latest revision
October 04, 2007: 01

Severity
high

Exploitable
remote

Bugzilla entries