In the GNU C Library (aka glibc or libc6) through 2.28, attempting to resolve a crafted hostname via getaddrinfo() leads to the allocation of a socket descriptor that is not closed. This is related to the if_nametoindex() function.
https://usn.ubuntu.com/4416-1/
https://sourceware.org/git/?p=glibc.git%3Ba=blob_plain%3Bf=NEWS%3Bhb=HEAD
https://sourceware.org/bugzilla/show_bug.cgi?id=23927
https://security.netapp.com/advisory/ntap-20190321-0003/
https://security.gentoo.org/glsa/201908-06
https://security.gentoo.org/glsa/201903-09