# CVE-2021-40491: 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…

- Severity: Medium 6.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.99%, higher than 61% of CVEs (2026-11-30)
- Published: 2021-09-03T00:00:00.000Z
- Modified: 2026-06-17T04:07:02.040Z
- Weaknesses: CWE-345
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- gnu inetutils: before 2.2
- debian debian_linux: 10.0

## Every score

- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:P/I:N/A:N`

## References

- <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=993476> (third-party-advisory)
- <https://git.savannah.gnu.org/cgit/inetutils.git/commit/?id=58cb043b190fd04effdaea7c9403416b436e50dd> (patch, vendor-advisory)
- <https://lists.gnu.org/archive/html/bug-inetutils/2021-06/msg00002.html> (mailing-list, vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2022/11/msg00033.html> (mailing-list, third-party-advisory)

## Sources

- CVE List: [CVE-2021-40491](https://www.cve.org/CVERecord?id=CVE-2021-40491), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2021-40491](https://nvd.nist.gov/vuln/detail/CVE-2021-40491), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-40491 · Whole record: https://cve.day/CVE-2021-40491.json · Rebuilt by cve.day 2026-11-25T22:58:03.641Z
