{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-45130 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2023-45130 yet. Limit exposure of the affected software until one is available.","what":"CVE-2023-45130 is a high-severity denial of service vulnerability in paritytech frontier, published on 13 Oct 2023. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-45130 and fix it if it is affected.\n\nWhat it is: CVE-2023-45130 is a high-severity denial of service vulnerability in paritytech frontier, published on 13 Oct 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2023-45130 in the wild and no public exploit code.\n\nAffected product: paritytech frontier. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-45130/ (Markdown: https://insights.sbomify.com/CVE-2023-45130/index.md)","id":"CVE-2023-45130","markdown":"https://insights.sbomify.com/CVE-2023-45130/index.md","name":"CVE-2023-45130","record":{"aliases":["GHSA-gc88-2gvv-gp3v"],"analysis":{"component_type":"other","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Substrate Ethereum layer","requires_auth":"none","summary":"Attackers can stall Substrate parachains by crafting contracts that exceed Proof-of-Validity size limits during self-destruct operations.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"frontier","vendor":"parity"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Frontier opcode SUICIDE touches too many storage values on large contracts","id":"CVE-2023-45130","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"denial_of_service","year":"2023"},"n_packages":0,"n_references":3,"next":{"headline":"Unauthenticated access to new private chat messages in Discourse","id":"CVE-2023-45131"},"packages":[],"prev":{"headline":"matrix-synapse vulnerable to denial of service due to malicious server ACL events","id":"CVE-2023-45129"},"products":["frontier"],"published":"2023-10-13","related":[{"cvss_score":7.5,"headline":"Frontier's modexp precompile is slow for even modulus","id":"CVE-2023-28431","kev_date_added":null,"published":"2023-03-22"},{"cvss_score":7.1,"headline":"Message length overflow in frontier","id":"CVE-2022-36008","kev_date_added":null,"published":"2022-08-19"},{"cvss_score":6.5,"headline":"Integer underflow in Frontier","id":"CVE-2022-21685","kev_date_added":null,"published":"2022-01-14"},{"cvss_score":5.3,"headline":"Incorrect Calculation in Frontier leads to inflated Ethereum chain gas prices","id":"CVE-2022-39242","kev_date_added":null,"published":"2022-09-24"},{"cvss_score":5.3,"headline":"Discrepency in transfer value and actual value due to incorrect truncation in Frontier","id":"CVE-2022-31111","kev_date_added":null,"published":"2022-07-06"},{"cvss_score":5.3,"headline":"Validity check for signed Frontier-specific extrinsic not called in block execution","id":"CVE-2021-41138","kev_date_added":null,"published":"2021-10-13"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-09-17","vendors":["paritytech"]},"summary":"Attackers can stall Substrate parachains by crafting contracts that exceed Proof-of-Validity size limits during self-destruct operations.","url":"https://insights.sbomify.com/CVE-2023-45130/"}