The Vulnerable Dependency You Cannot `go get` — When Your Own Standard Library Needs a Patch
My dependency bot filed a PR last month that I found more interesting than any of its usual bumps. The vulnerable package wasn’t a third-party module. It wasn’t even in go.sum. It was crypto/x509 — sitting inside the Go toolchain I compiled with.
You cannot go get your way out of this one. The fix was two lines in go.mod, and getting those two lines right taught me more about Go’s toolchain mechanics than I expected.