portage-ng / portage / net-p2p / ctorrent / 3.3.2-r4
portage-ng glsa
1 advisory reference net-p2p/ctorrent · none place version 3.3.2-r4 in a vulnerable range
▸ GLSA 201311-11 CTorrent: User-assisted arbitrary code execution this version unaffected normal remote 2013-11-20

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

Announced
2013-11-20
Revised
2013-11-22 (revision 2)
Access
remote
Bugs
#266953
Advisory
https://security.gentoo.org/glsa/201311-11

Affected packages

PackageArchVulnerableUnaffected
net-p2p/ctorrent*< 3.3.2-r1>= 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