Improper Input Validation Affecting lftp-scripts package, versions <0:4.4.8-12.amzn2.1


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
4.78% (92nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2-LFTPSCRIPTS-1681147
  • published27 Sept 2021
  • disclosed1 Aug 2018

Introduced: 1 Aug 2018

CVE-2018-10916  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 lftp-scripts to version 0:4.4.8-12.amzn2.1 or higher.
This issue was patched in ALAS2-2020-1453.

NVD Description

Note: Versions mentioned in the description apply only to the upstream lftp-scripts package and not the lftp-scripts package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

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.