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.
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-40491.json"
[
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.2"
}
]
},
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "10.0"
}
]
},
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.2"
}
]
}
]