3 ms·
One downside of such pinning of versions is that if one of your transitive dependencies has a security vulnerability affecting your package, your package will r
by tgsovlerkhgsel 5y ago
One downside of such pinning of versions is that if one of your transitive dependencies has a security vulnerability affecting your package, your package will remain affected until you update.
As I understand it dependencies-of-dependencies are fetched from the config provided by the library that includes the dependency, in the case of a transitive dependency, everyone between you and the vulnerable package needs to update, and they need to do so in order (i.e. if you depend on A, A depends on B, B depends on C, and C fixes a vulnerability, then first B, then A have to update in order for you to pull in the change).
- hu3 5y agoYou can force newer transient dependencies: https://stackoverflow.com/questions/70100325/force-a-transitive-dependency-version-in-golang https://stackoverflow.com/questions/70100325/force-a-transit...