CVE-2023-45130
Last modified
CVE-2023-45130 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. Frontier is Substrate's Ethereum compatibility layer. Prior to commit aea528198b3b226e0d20cce878551fd4c0e3d5d0, at the end of a contract execution, when opcode SUICIDE marks a contract to be deleted, the software uses `storage::remove_prefix` (now renamed to `storage::clear_prefix`) to remove all storages associated with it. EPSS estimates a 0.89% chance of exploitation in the next 30 days.
Description
Frontier is Substrate's Ethereum compatibility layer. Prior to commit aea528198b3b226e0d20cce878551fd4c0e3d5d0, at the end of a contract execution, when opcode SUICIDE marks a contract to be deleted, the software uses `storage::remove_prefix` (now renamed to `storage::clear_prefix`) to remove all storages associated with it. This is a single IO primitive call passing the WebAssembly boundary. For large contracts, the call (without providing a `limit` parameter) can be slow. In addition, for parachains, all storages to be deleted will be part of the PoV, which easily exceed relay chain PoV size limit. On the other hand, Frontier's maintainers only charge a fixed cost for opcode SUICIDE. The maintainers consider the severity of this issue high, because an attacker can craft a contract with a lot of storage values on a parachain, and then call opcode SUICIDE on the contract. If the transaction makes into a parachain block, the parachain will then stall because the PoV size will exceed relay chain's limit. This is especially an issue for XCM transactions, because they can't be skipped. Commit aea528198b3b226e0d20cce878551fd4c0e3d5d0 contains a patch for this issue. For parachains, it's recommended to issue an emergency runtime upgrade as soon as possible. For standalone chains, the impact is less severe because the issue mainly affects PoV sizes. It's recommended to issue a normal runtime upgrade as soon as possible. There are no known workarounds.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Parity | Frontier | <= 0.1.0 |
References
- https://github.com/paritytech/frontier/pull/1212Patch, Vendor Advisory
- https://github.com/paritytech/frontier/security/advisories/GHSA-gc88-2gvv-gp3vPatch, Vendor Advisory
- https://github.com/paritytech/frontier/pull/1212Patch, Vendor Advisory
- https://github.com/paritytech/frontier/security/advisories/GHSA-gc88-2gvv-gp3vPatch, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2023-45130?
How severe is CVE-2023-45130?
How do I fix CVE-2023-45130?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2023
- CVE-2023-45125Rejected reason: It is a duplicate.
- CVE-2023-45126Rejected reason: It is a duplicate.
- CVE-2023-45127Rejected reason: It is a duplicate.
- CVE-2023-45128Fiber is an express inspired web framework written in Go. A …8.8
- CVE-2023-45129Synapse is an open-source Matrix homeserver written and main…4.9
- CVE-2023-4513BT SDP dissector memory leak in Wireshark 4.0.0 to 4.0.7 and…7.5
- CVE-2023-45131Discourse is an open source platform for community discussio…7.5
- CVE-2023-45132NAXSI is an open-source maintenance web application firewall…9.8
- CVE-2023-45133Babel is a compiler for writingJavaScript. In `@babel/traver…8.8
- CVE-2023-45134XWiki Platform is a generic wiki platform offering runtime s…9
- CVE-2023-45135XWiki Platform is a generic wiki platform offering runtime s…8
- CVE-2023-45136XWiki Platform is a generic wiki platform offering runtime s…9.6
Are you affected by CVE-2023-45130?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
