Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 662882 - <net-ftp/lftp-4.8.4: particular remote file names may lead to current working directory erased (CVE-2018-10916)
Summary: <net-ftp/lftp-4.8.4: particular remote file names may lead to current working...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Security
URL: https://github.com/lavv17/lftp/issues...
Whiteboard: B3 [noglsa cve]
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-05 22:10 UTC by GLSAMaker/CVETool Bot
Modified: 2019-05-05 00:42 UTC (History)
1 user (show)

See Also:
Package list:
net-ftp/lftp-4.8.4-r1
Runtime testing required: ---
stable-bot: sanity-check+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description GLSAMaker/CVETool Bot gentoo-dev 2018-08-05 22:10:56 UTC
CVE-2018-10916 (https://nvd.nist.gov/vuln/detail/CVE-2018-10916):
  It has been discovered that lftp up to and including version 4.8.3 does not
  properly sanitize remote file names, leading to a loss of integrity on the
  local system when reverse mirroring is used. A remote attacker may trick a
  user to use reverse mirroring on an attacker controlled FTP server,
  resulting in the removal of all files in the current working directory of
  the victim's system.
Comment 1 Thomas Deutschmann (RETIRED) gentoo-dev 2018-08-05 22:11:52 UTC
Upstream issue:
https://github.com/lavv17/lftp/issues/452

Upstream patch:
https://github.com/lavv17/lftp/commit/a27e07d90a4608ceaf928b1babb27d4d803e1992
Comment 2 Aaron Bauman (RETIRED) gentoo-dev 2019-04-21 15:04:57 UTC
@arches, please stabilize.
Comment 3 Stabilization helper bot gentoo-dev 2019-04-21 16:00:23 UTC
An automated check of this bug failed - the following atom is unknown:

net-lftp/lftp-4.8.4-r1

Please verify the atom list.
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2019-04-21 18:52:46 UTC
?
Comment 5 Stabilization helper bot gentoo-dev 2019-04-21 19:01:44 UTC
An automated check of this bug succeeded - the previous repoman errors are now resolved.
Comment 6 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2019-04-23 19:28:16 UTC
amd64 stable
Comment 7 Thomas Deutschmann (RETIRED) gentoo-dev 2019-04-24 21:34:20 UTC
x86 stable
Comment 8 Rolf Eike Beer archtester 2019-04-27 06:34:58 UTC
sparc stable
Comment 9 Sergei Trofimovich (RETIRED) gentoo-dev 2019-04-27 16:32:24 UTC
ia64 stable
Comment 10 Sergei Trofimovich (RETIRED) gentoo-dev 2019-04-27 16:36:43 UTC
ppc64 stable
Comment 11 Sergei Trofimovich (RETIRED) gentoo-dev 2019-04-27 16:52:49 UTC
ppc stable
Comment 12 Markus Meier gentoo-dev 2019-05-02 05:02:42 UTC
arm stable
Comment 13 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2019-05-02 21:00:27 UTC
alpha stable
Comment 14 Sergei Trofimovich (RETIRED) gentoo-dev 2019-05-03 07:15:58 UTC
hppa stable
Comment 15 Larry the Git Cow gentoo-dev 2019-05-03 08:26:53 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93ce6a29b012ae8e10039e4f9a02c71bc8745e39

commit 93ce6a29b012ae8e10039e4f9a02c71bc8745e39
Author:     Jeroen Roovers <jer@gentoo.org>
AuthorDate: 2019-05-03 08:26:24 +0000
Commit:     Jeroen Roovers <jer@gentoo.org>
CommitDate: 2019-05-03 08:26:50 +0000

    net-ftp/lftp: Old
    
    Package-Manager: Portage-2.3.66, Repoman-2.3.12
    Bug: https://bugs.gentoo.org/show_bug.cgi?id=662882
    Signed-off-by: Jeroen Roovers <jer@gentoo.org>

 net-ftp/lftp/Manifest                              |   1 -
 .../lftp/files/lftp-4.7.5-libdir-configure.patch   |  10 --
 net-ftp/lftp/files/lftp-4.7.5-libdir-libidn.patch  |  10 --
 net-ftp/lftp/files/lftp-4.7.5-libdir-openssl.patch |  18 ----
 net-ftp/lftp/files/lftp-4.7.5-libdir-zlib.patch    |  28 ------
 net-ftp/lftp/lftp-4.7.5.ebuild                     |  98 --------------------
 net-ftp/lftp/lftp-4.8.4.ebuild                     | 101 ---------------------
 7 files changed, 266 deletions(-)
Comment 16 Aaron Bauman (RETIRED) gentoo-dev 2019-05-05 00:42:50 UTC
Data loss... downgrading.