Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: 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 address. This is similar to CVE-2020-8284 for curl.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-40491
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 08:58 UTC · Revision 1

Source evidence

CVE-2021-40491

core-osv · Original source

Published 3 Sept 2021, 02:15 UTC

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.

osv:CVE-2021-40491
Complete source record
{
  "id": "a57b14d0369fad17ef057a60b56092e35265e72f152b80e456be990dabc3a2fa",
  "url": "https://osv.dev/vulnerability/CVE-2021-40491",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-40491",
    "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.",
    "evidence": "osv:CVE-2021-40491",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-40491",
      "aliases": [
        "CVE-2021-40491"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://cgit.git.savannah.gnu.org/cgit/inetutils.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "58cb043b190fd04effdaea7c9403416b436e50dd"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "fixed": "58cb043b190fd04effdaea7c9403416b436e50dd"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-40491.json"
          }
        }
      ],
      "modified": "2026-10-24T10:52:27.653897010Z",
      "provider": "osv",
      "references": [
        "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=993476",
        "https://lists.debian.org/debian-lts-announce/2022/11/msg00033.html",
        "https://lists.gnu.org/archive/html/bug-inetutils/2021-06/msg00002.html",
        "https://git.savannah.gnu.org/cgit/inetutils.git/commit/?id=58cb043b190fd04effdaea7c9403416b436e50dd"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:gnu:inetutils:*:*:*:*:*:*:*:*"
            ],
            "vendor_product": "gnu:inetutils",
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "2.2"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "10.0"
                  },
                  {
                    "last_affected": "10.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "2.2"
                  }
                ],
                "source": "DESCRIPTION"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2021-40491",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 442637,
  "published_at": "2021-09-03T02:15:06.403+00:00"
}