P2P layer message padding data leak #1999
Labels
3d Bug
Classification indicating the existing implementation does not match the intention of the design
4c High Priority
Priority indicating significant impact to system/user -OR- workaround is prohibitivly expensive
6 P2P
Impact flag identifying the peer-to-peer (P2P) layer
6 Security
Impact flag identifying system/user security
9a Tiny
Effort estimation indicating TBD
Milestone
Bug Description
The P2P layer pads message to a multiple of 16 bytes. This padding contains uninitialized bytes, which could contain security-relevant data.
Impacts
Describe which portion(s) of BitShares Core may be impacted by this bug. Please tick at least one box.
Expected Behavior
The padding bytes should be initialized properly. Any "standard" padding scheme that does not change the number of blocks is acceptable, e. g. simple zero-padding.
Additional Context (optional)
Thanks to @HarukaMa for noticing this.
CORE TEAM TASK LIST
The text was updated successfully, but these errors were encountered: