Weex contains a format string error that may be exploited by malicious servers to execute arbitrary code.
|Package||net-ftp/weex on all architectures|
|Affected versions||< 126.96.36.199-r1|
|Unaffected versions||>= 188.8.131.52-r1|
Weex is a non-interactive FTP client typically used to update web pages.
Ulf Harnhammar discovered a format string bug in Weex that can be triggered when it is first run (or when its cache files are rebuilt, using the -r option).
An attacker could setup a malicious FTP server which, when accessed using Weex, could trigger the format string bug and end up executing arbitrary code with the rights of the user running Weex.
There is no known workaround at this time.
All Weex users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=net-ftp/weex-184.108.40.206-r1"
October 08, 2005
October 08, 2005: 01