A stack-based buffer overflow in CTorrent might allow a remote attacker to execute arbitrary code or cause a Denial of Service condition.
| Package | net-p2p/ctorrent on all architectures | 
|---|---|
| Affected versions | < 3.3.2-r1 | 
| Unaffected versions | >= 3.3.2-r1 | 
CTorrent is a BitTorrent client implemented in C++ to be lightweight and quick.
CTorrent contains a stack-based buffer overflow in the btFiles::BuildFromMI function in trunk/btfiles.cpp.
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.
There is no known workaround at this time.
All CTorrent users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=net-p2p/ctorrent-3.3.2-r1"
      Release date
      
      November 20, 2013
    
      Latest revision
      
      November 22, 2013: 2
    
      Severity
      
      normal
    
      Exploitable
      
      remote
    
Bugzilla entries