Comment 1 for bug 155491

Revision history for this message
Cameron Dale (camrdale) wrote : Re: Multiple security vulnerabilities in Edgy [FIXED]

I have successfully built a modified package that contains all these fixes, and the debdiff for torrentflux_2.1-1ubuntu0.1 to torrentflux_2.1-1ubuntu0.2 is attached. The changes are pretty simple, though the debdiff runs to some 939 lines they are mostly just including dpatch files that are available in the Debian package of torrentflux (2.1-7 or newer). Here is the diffstat:

 debian/patches/05_sanitize_html_entities.dpatch | 26 --
 debian/patches/06_sanitize_html_entities.dpatch | 244 ++++++++++++++++++++
 debian/patches/09_fix_directory_traversal.dpatch | 18 +
 debian/patches/10_sanitize_file_input.dpatch | 179 ++++++++++++++
 debian/patches/11_missed_security_fixes.dpatch | 135 +++++++++++
 debian/patches/12_metaInfo_remote_command.dpatch | 43 +++
 debian/patches/13_possible_xss_vulnerability.dpatch | 58 ++++
 debian/patches/14_maketorrent_remote_command.dpatch | 19 +
 debian/patches/15_additional_possible_fixes.dpatch | 126 ++++++++++
 torrentflux-2.1/debian/changelog | 27 ++
 torrentflux-2.1/debian/patches/00list | 9
 11 files changed, 857 insertions(+), 27 deletions(-)

You can see that other than updating the changelog and 00list files, all I have done is removed 05_sanitize_html_entities.dpatch and added the other patch files (I only included the ones with security fixes, not that fixed other bugs). If you want, you can check that the dpatch files in the new version are the same as the ones in the Debian torrentflux package by downloading the latest torrentflux version, which includes the same dpatch files though they are no longer used due to upstream fixes.

Though I was able to build the new package successfully in a pbuilder for Edgy, I no longer have an edgy machine to install the new version on to test that everything works properly. However, I am VERY familiar with the changes made here and the package in general, and I'm confident that these changes will cause no problems in edgy. I was able to install this version and use it in gutsy without any problems.