Skip to content
Fencer Vulns
medium 6.5

CVE-2021-40491 json

The ftp client in GNU Inetutils before 2.2 does not validate addresses returned by PASV/LSPV responses to make sure they match the server a…

published 2021-09-03 5 y ago modified 2026-06-17 4 mo ago also EUVD-2021-27668

cvss
6.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
1.0%
EPSS 1.0% chance of exploitation in 30 days, percentile 62%
public exploits
0
none known

Summary

The ftp client in GNU Inetutils before 2.2 does not validate addresses returned by PASV/LSPV responses to make sure they match the server address. This is similar to CVE-2020-8284 for curl.

Patch / fix

  • gnu inetutils 2.2
  • inetutils Debian 14, Debian 13, Debian 12 2:2.2-1

debian advisories DEBIAN-CVE-2021-40491

  • inetutils Ubuntu Pro 14.04 LTS 2:1.9.2-1ubuntu0.1~esm1
  • inetutils Ubuntu Pro 16.04 LTS 2:1.9.4-1ubuntu0.1~esm2
  • inetutils Ubuntu Pro 18.04 LTS 2:1.9.4-3ubuntu0.1+esm1
  • inetutils Ubuntu Pro 20.04 LTS 2:1.9.4-11ubuntu0.1+esm1

ubuntu advisories UBUNTU-CVE-2021-40491

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Exploit prediction

0.99% chance of exploitation in the next 30 days, higher than 62% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
NVD 2.0 4.3 AV:N/AC:M/Au:N/C:P/I:N/A:N

Classification

Weakness
  • CWE-345 Insufficient Verification of Data Authenticity

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.