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
-
git.savannah.gnu.org
/cgit/inetutils.git/commit/?id=58cb043b190fd04effdaea7c9403416b436e50dd
patch, vendor-advisory
-
lists.gnu.org
/archive/html/bug-inetutils/2021-06/msg00002.html
mailing-list, vendor-advisory
-
bugs.debian.org
/cgi-bin/bugreport.cgi?bug=993476
third-party-advisory
-
lists.debian.org
/debian-lts-announce/2022/11/msg00033.html
mailing-list, third-party-advisory
Sources
- CVE List CVE-2021-40491
- NVD CVE-2021-40491
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.