CertiK reviewed BOSagora (BOSagora - EL) on 9 Jun 2024: 4 findings, 0 critical; 2 marked fixed, 1 acknowledged, 1 open.
Report hosted on skynet.certik.com.
Trustblock does not review code.
Statuses are the security firm’s own, from its report.
| Severity | Open | Acknowledged | Fixed |
|---|---|---|---|
| Critical | 0 | 0 | 0 |
| High | 0 | 0 | 1 |
| Medium | 1 | 0 | 1 |
| Low | 0 | 1 | 0 |
Repository: - agora-el Commit hash: - [`b313d5358345f55bbc4e79b05904b5782227353f`](https://github.com/bosagora/agora-el/tree/b313d5358345f55bbc4e79b05904b5782227353f) Files: - agora-el/core/vm/operations_acl.go - agora-el/params/config.go The coordination of EIPs that rely on the ctx block number is lax within EVM stacks. Within the output of `makeCallVariantGasCallEIP2929`, there exists a risk of value overflow. ```go func makeCallVariantGasCallEIP2929(oldCalculator gasFunc) gasFunc { return func(evm *EVM, contract *Contract, stack *Stack, mem *Memory, memorySize uint64) (uint64, error) { ... gas, err := oldCalculator(evm, contract, stack, mem, memorySize) if warmAccess || err != nil { return gas, err } // In case of a cold access, we temporarily add the cold charge back, and also // add it to the returned gas. By adding it to the return, it will be charged // outside of this function, as part of the dynamic gas, and that will make it // also become correctly reported to tracers. contract.Gas += coldCost return gas + coldCost, nil } } ``` This vulnerability opens up the possibility of a targeted attack scenario where a specific gas value is strategically provided to the `CALL` operation through the stack. By also requesting the maximum memory allocation, it could trigger an overflow in the resultant return value of `makeCallVariantGasCallEIP2929()`. This overflow could potentially lead to a situation where the `CALL` operation is undercharged inadequately, allowing for the allocation of the full 128GB memory capacity. It could easily lead to out-of-memory issue on the targeted serving node. References: - [*geth-out-of-order-eip-application-denial-of-service*](https://iosiro.com/blog/geth-out-of-order-eip-application-denial-of-service) - [*core/vm, params: ensure order of forks, prevent overflow #29023*](https://github.com/ethereum/go-ethereum/pull/29023)
The report names a repository or files. Open the report to see its scope.
Repository and files the report names (51)
1,045 projects reviewed · 1,376 reports · latest May 2025
See CertiK’s auditsSomething wrong on this page? A missing report, a wrong date, a finding that was fixed since. Tell us and we check it against its source.
Tell us