USN-436-2: KTorrent vulnerability

18 May 2007

ktorrent vulnerability

A security issue affects these releases of Ubuntu and its derivatives:

  • Ubuntu 7.04
  • Ubuntu 6.10
  • Ubuntu 6.06 LTS

Software Description


USN-436-1 fixed a vulnerability in KTorrent. The original fix for path traversal was incomplete, allowing for alternate vectors of attack.
This update solves the problem.

Original advisory details:

Bryan Burns of Juniper Networks discovered that KTorrent did not correctly validate the destination file paths nor the HAVE statements sent by torrent peers. A malicious remote peer could send specially crafted messages to overwrite files or execute arbitrary code with user privileges.

Update instructions

The problem can be corrected by updating your system to the following package versions:

Ubuntu 7.04
ktorrent - 2.1-0ubuntu2.1
Ubuntu 6.10
ktorrent - 2.0.3+dfsg1-0ubuntu1.2
Ubuntu 6.06 LTS
ktorrent - 1.2-0ubuntu5.2

To update your system, please follow these instructions:

After a standard system upgrade you need to restart KTorrent to effect the necessary changes.