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
{{ message }}
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.
The BaseInteroperabilityEndpoint and MainchainInteroperabilityEndpoint classes provide several methods that take a hex-formatted chain ID as a parameter. These methods validate the chain ID using different schemas that are all aliases for getChainAccountRequestSchema
The chainID property in the above schema lacks the minLength and maxLength fields. As a result, arbitrary-length chain ID strings may be passed to internal functions that assume a correct length.
Affected version
v6.0.0-beta.2
The text was updated successfully, but these errors were encountered:
Description
The BaseInteroperabilityEndpoint and MainchainInteroperabilityEndpoint classes provide several methods that take a hex-formatted chain ID as a parameter. These methods validate the chain ID using different schemas that are all aliases for
getChainAccountRequestSchema
https://github.com/LiskHQ/lisk-sdk/blob/89e7504ef5eb6183aefe576a93be3d6052e56038/framework/src/modules/interoperability/schemas.ts#L561-L571
The
chainID
property in the above schema lacks theminLength
andmaxLength
fields. As a result, arbitrary-length chain ID strings may be passed to internal functions that assume a correct length.Affected version
v6.0.0-beta.2
The text was updated successfully, but these errors were encountered: