{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2025-54427 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2025-54427 yet. Limit exposure of the affected software until one is available.","what":"CVE-2025-54427 is a medium-severity vulnerability in polkadot-evm frontier, published on 28 Jul 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-54427 and fix it if it is affected.\n\nWhat it is: CVE-2025-54427 is a medium-severity vulnerability in polkadot-evm frontier, published on 28 Jul 2025. 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-2025-54427 in the wild and no public exploit code.\n\nAffected product: polkadot-evm 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-2025-54427/ (Markdown: https://insights.sbomify.com/CVE-2025-54427/index.md)","id":"CVE-2025-54427","markdown":"https://insights.sbomify.com/CVE-2025-54427/index.md","name":"CVE-2025-54427","record":{"aliases":["GHSA-r6rj-gmqh-cv94"],"analysis":{"component_type":"other","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Polkadot EVM layer","requires_auth":"none","summary":"Block producers can manipulate gas price targets due to missing validation, causing inflated fees and denial of service for contract execution.","user_interaction":"not_required","vuln_class":"business_logic"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":6.9,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-754","name":"Improper Check for Unusual or Exceptional Conditions"},{"id":"CWE-682","name":"Incorrect Calculation"}],"description":"Polkadot Frontier is an Ethereum and EVM compatibility layer for Polkadot and Substrate. The extrinsic note_min_gas_price_target is an inherent extrinsic, meaning only the block producer can call it. To ensure correctness, the ProvideInherent trait should be implemented for each inherent, which includes the check_inherent call. This allows other nodes to verify if the input (in this case, the target value) is correct. However, prior to commit a754b3d, the check_inherent function has not been implemented for note_min_gas_price_target. This lets the block producer set the target value without verification. The target is then used to set the MinGasPrice, which has an upper and lower bound defined in the on_initialize hook. The block producer can set the target to the upper bound. Which also increases the upper and lower bounds for the next block. Over time, this could result in continuously raising the gas price, making contract execution too expensive and ineffective for users. An attacker could use this flaw to manipulate the gas price, potentially leading to significantly inflated transaction fees. Such manipulation could render contract execution prohibitively expensive for users, effectively resulting in a denial-of-service condition for the network. This is fixed in version a754b3d.","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":"Polkadot Frontier contains missing `check_inherent` for `note_min_gas_price_target` inflates gas price","id":"CVE-2025-54427","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"business_logic","year":"2025"},"n_packages":0,"n_references":3,"next":{"headline":"RevelaCode exposes Sensitive MongoDB Atlas URI in .env (potential credential leak)","id":"CVE-2025-54428"},"packages":[],"prev":{"headline":"Polkadot Frontier contains silent failure in Curve25519 arithmetic precompiles with malformed points","id":"CVE-2025-54426"},"products":["frontier"],"published":"2025-07-28","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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":"2025-07-28","vendors":["polkadot-evm"]},"summary":"Block producers can manipulate gas price targets due to missing validation, causing inflated fees and denial of service for contract execution.","url":"https://insights.sbomify.com/CVE-2025-54427/"}