docs: update global type registration code link (#23230)
This commit is contained in:
parent
26dc8b3df4
commit
c1192daf56
@ -150,7 +150,7 @@ and client developer UX.
|
||||
### Safe usage of `Any`
|
||||
|
||||
By default, the [gogo protobuf implementation of `Any`](https://pkg.go.dev/github.com/cosmos/gogoproto/types)
|
||||
uses [global type registration]( https://github.com/cosmos/gogoproto/blob/master/proto/properties.go#L540)
|
||||
uses [global type registration](https://github.com/cosmos/gogoproto/blob/v1.7.0/proto/properties.go#L546)
|
||||
to decode values packed in `Any` into concrete
|
||||
go types. This introduces a vulnerability where any malicious module
|
||||
in the dependency tree could register a type with the global protobuf registry
|
||||
|
||||
Loading…
Reference in New Issue
Block a user