net: ipStackCapabilities.probe creates sockets that can escape into child process #22349
Labels
FrozenDueToAge
NeedsFix
The path to resolution is known, but the work has not been done.
release-blocker
Milestone
Perhaps I am mistake. But ipStackCapabilities.probe calls socketFunc (which is just a syscall.Socket). Returned socket is inheritable by child process on Windows, so it can escape, if we call Windows CreateProcess at the same time.
Maybe this is expected, but I decided to report. Just in case.
Thank you.
CC @ianlancetaylor @mikioh
The text was updated successfully, but these errors were encountered: