Skip to content
OpenAdvisories
Medium · 5.3 CVE-2018-10916 EUVD-2018-2971GHSA-8mjf-52xq-g6h8

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 integ…

Published Aug 1, 2018 · Updated Aug 5, 2024 · Assigned by redhat

Description

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.

Affected products

VendorProductAffectedFixed
[UNKNOWN] lftp up to and including 4.8.3 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 lftp 4.8.4-1 —
Debian 13 lftp 4.8.4-1 —
Debian 12 lftp 4.8.4-1 —
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS lftp 4.8.1-1ubuntu0.1 USN-3731-1
Ubuntu 16.04 LTS lftp 4.6.3a-1ubuntu0.1 USN-3731-1
Ubuntu 14.04 LTS lftp 4.4.13-1ubuntu0.1 USN-3731-1
ReleasePackageFixed inAdvisory
RHEL 7 lftp +1 4.4.8-12.el7 RHSA-2020:1045
ReleasePackageFixed inAdvisory
SLES 15 lftp 4.8.3-4.3.1 SUSE-SU-2019:0643-1
SLES 12 SP4 lftp 4.7.4-3.6.1 SUSE-SU-2019:0642-1
SLES 12 SP3 lftp 4.7.4-3.6.1 SUSE-SU-2019:0642-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 12 SP4 lftp 4.7.4-3.6.1 SUSE-SU-2019:0642-1
SLES for SAP 12 SP3 lftp 4.7.4-3.6.1 SUSE-SU-2019:0642-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed lftp 4.9.2-1.7 openSUSE-SU-2024:10915-1
openSUSE Leap 15.0 lftp 4.8.3-lp150.3.3.1 openSUSE-SU-2019:1110-1
ReleasePackageFixed inAdvisory
Alpine v3.24 lftp 4.8.4-r0 —
Alpine v3.23 lftp 4.8.4-r0 —
Alpine v3.22 lftp 4.8.4-r0 —
Alpine v3.21 lftp 4.8.4-r0 —
Alpine v3.20 lftp 4.8.4-r0 —
Show 11 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 lftp 4.8.4-r0 —
Alpine v3.18 lftp 4.8.4-r0 —
Alpine v3.17 lftp 4.8.4-r0 —
Alpine v3.16 lftp 4.8.4-r0 —
Alpine v3.15 lftp 4.8.4-r0 —
Alpine v3.14 lftp 4.8.4-r0 —
Alpine v3.13 lftp 4.8.4-r0 —
Alpine v3.12 lftp 4.8.4-r0 —
Alpine v3.11 lftp 4.8.4-r0 —
Alpine v3.10 lftp 4.8.4-r0 —
Alpine v3.9 lftp 4.8.4-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 lftp +1 4.4.8-12.amzn2.1 ALAS2-2020-1453

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 lftp +1 4.4.8-12.el7 ELSA-2020-1045

Advisories 9

References