You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now you can always marshal any interface even if its not registered. You can only unmarshal registered interfaces though.
This can cause security problems, when composed with other bugs, and is a serious footgun in serialization that needs to be fixed. This can then lead to complex problems for one to verify.
Problem Definition
Its possible to serialize interfaces into state, that cannot get deserialized.
Proposal
Make MarshalInterface return an error if the interface is not registered.
The text was updated successfully, but these errors were encountered:
Summary
Right now you can always marshal any interface even if its not registered. You can only unmarshal registered interfaces though.
This can cause security problems, when composed with other bugs, and is a serious footgun in serialization that needs to be fixed. This can then lead to complex problems for one to verify.
Problem Definition
Its possible to serialize interfaces into state, that cannot get deserialized.
Proposal
Make
MarshalInterface
return an error if the interface is not registered.The text was updated successfully, but these errors were encountered: