PeerCast: Buffer overflow — GLSA 200603-17

PeerCast is vulnerable to a buffer overflow that may lead to the execution of arbitrary code.

Affected packages

media-sound/peercast on all architectures
Affected versions < 0.1217
Unaffected versions >= 0.1217

Background

PeerCast is a Peer to Peer broadcasting technology for listening to radio and watching video on the Internet.

Description

INFIGO discovered a problem in the URL handling code. Buffers that are allocated on the stack can be overflowed inside of nextCGIarg() function.

Impact

By sending a specially crafted request to the HTTP server, a remote attacker can cause a stack overflow, resulting in the execution of arbitrary code.

Workaround

There is no known workaround at this time.

Resolution

All PeerCast users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=media-sound/peercast-0.1217"

References

Release date
March 21, 2006

Latest revision
March 21, 2006: 01

Severity
high

Exploitable
remote

Bugzilla entries