| I'm sorry but I'm not super familiar with the workflow for working with dependencies in Go, I've only read about it. You say: > Raise the version there. Am I to understand that it's common to hand-edit the version constraint on a transitive dependency in your go.mod file? But that transitive dependency was first added there by the Go tool itself, right? How does a user easily keep track of what bits of data in the go.mod file are hand-maintained and need to be preserved and which things were filled in implicitly by the tool traversing dependency graphs? > Repeatedly assuming that the Go core team never thought through the design of Go Modules I'm certainly not assuming that. But I'm also not assuming they found a perfect solution to package management that all other package management tools failed to find. What's more likely is that they chose a different set of trade-offs, which is what this thread is exploring. |
No, run `go get <package with vuln>@<version that fixes vuln>` and Go will do it for you.