A malicious server can use the FTP PASV response to trick curl 7.73.0 and earlier into connecting back to a given IP address and port, and this way potentially make curl extract information about services that are otherwise private and not disclosed, for example doing port scanning and service banner extractions.
https://www.oracle.com/security-alerts/cpujan2022.html
https://www.oracle.com/security-alerts/cpuapr2022.html
https://www.oracle.com/security-alerts/cpuApr2021.html
https://www.oracle.com//security-alerts/cpujul2021.html
https://www.debian.org/security/2021/dsa-4881
https://support.apple.com/kb/HT212327
https://support.apple.com/kb/HT212326
https://support.apple.com/kb/HT212325
https://security.netapp.com/advisory/ntap-20210122-0007/
https://security.gentoo.org/glsa/202012-14
https://lists.debian.org/debian-lts-announce/2020/12/msg00029.html
https://hackerone.com/reports/1040166
https://curl.se/docs/CVE-2020-8284.html
https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf