Lucene search
+L

2 matches found

Code423n4
Code423n4
added 2023/05/10 12:0 a.m.11 views

Upgraded Q -> 2 from #49 [1683711003164]

Judge has assessed an item in Issue 49 as 2 risk. The relevant finding follows: QA9. hexStringToBytes32 fails to check that range idx, lastIdx is within 32 bytes range and thus the returned r will fit into bytes32. Mitigation: Introduce the check: function hexStringToBytes32 bytes memory str,...

6.8AI score
SaveExploits0
Code423n4
Code423n4
added 2023/04/28 12:0 a.m.6 views

Arithmetic Overflow in hexStringToBytes32 Function

Lines of code Vulnerability details Impact The vulnerability in the hexStringToBytes32 function can lead to an arithmetic overflow if the length of the hex-encoded string is odd, the loop that reads the hex-encoded string has a condition that checks for the last index, but the index is incremente...

7.1AI score
SaveExploits0
Rows per page
Query Builder