Ganglia: Execution of arbitrary code — GLSA 200903-22

A buffer-overflow in Ganglia's gmetad might lead to the execution of arbitrary code.

Affected Packages

sys-cluster/ganglia on all architectures
Affected versions < 3.1.1-r2
Unaffected versions >= 3.1.1-r2

Background

Ganglia is a scalable distributed monitoring system for clusters and grids.

Description

Spike Spiegel reported a stack-based buffer overflow in the process_path() function when processing overly long pathnames in gmetad/server.c.

Impact

A remote attacker could send a specially crafted request to the gmetad service leading to the execution of arbitrary code or a Denial of Service.

Workaround

There is no known workaround at this time.

Resolution

All Ganglia users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=sys-cluster/ganglia-3.1.1-r2"

References

Release Date
March 10, 2009

Latest Revision
March 10, 2009: 01

Severity
high

Exploitable
remote

Bugzilla entries