Improper Input Validation Affecting lftp package, versions <4.0.6-1


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
2.42% (90th 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-DEBIAN13-LFTP-5684090
  • published6 Jul 2010
  • disclosed6 Jul 2010

Introduced: 6 Jul 2010

CVE-2010-2251  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade Debian:13 lftp to version 4.0.6-1 or higher.

NVD Description

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

The get1 command, as used by lftpget, in LFTP before 4.0.6 does not properly validate a server-provided filename before determining the destination filename of a download, which allows remote servers to create or overwrite arbitrary files via a Content-Disposition header that suggests a crafted filename, and possibly execute arbitrary code as a consequence of writing to a dotfile in a home directory.

CVSS Scores

version 3.1