CTorrent: User-assisted arbitrary code execution — GLSA 201311-11

A stack-based buffer overflow in CTorrent might allow a remote attacker to execute arbitrary code or cause a Denial of Service condition.

Affected packages

net-p2p/ctorrent on all architectures
Affected versions < 3.3.2-r1
Unaffected versions >= 3.3.2-r1

Background

CTorrent is a BitTorrent client implemented in C++ to be lightweight and quick.

Description

CTorrent contains a stack-based buffer overflow in the btFiles::BuildFromMI function in trunk/btfiles.cpp.

Impact

A remote attacker could entice a user to open a specially crafted torrent file using CTorrent, possibly resulting in execution of arbitrary code with the privileges of the process or a Denial of Service condition.

Workaround

There is no known workaround at this time.

Resolution

All CTorrent users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=net-p2p/ctorrent-3.3.2-r1"
 

References

Release date
November 20, 2013

Latest revision
November 22, 2013: 2

Severity
normal

Exploitable
remote

Bugzilla entries