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