An insufficiently protected credentials vulnerability exists in curl 4.9 to and include curl 7.82.0 are affected that could allow an attacker to extract credentials when follows HTTP(S) redirects is used with authentication could leak credentials to other services that exist on different protocols or port numbers.
https://www.debian.org/security/2022/dsa-5197
https://security.netapp.com/advisory/ntap-20220609-0008/
https://security.gentoo.org/glsa/202212-01
https://lists.debian.org/debian-lts-announce/2023/01/msg00028.html