CVE-2022-36008 Message length overflow in frontier

High 7.1 Published Updated

An integer overflow in Frontier's RPC result parsing causes a panic in debug builds, leading to denial of service for bridge nodes.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2022-36008?

CVE-2022-36008 is a high-severity vulnerability in paritytech frontier, published on 19 Aug 2022. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Frontier is Substrate's Ethereum compatibility layer. A security issue was discovered affecting parsing of the RPC result of the exit reason in case of EVM reversion. In release build, this would cause the exit reason being incorrectly parsed and returned by RPC. In debug build, this would cause an overflow panic. No action is needed unless you have a bridge node that needs to distinguish different reversion exit reasons and you used RPC for this. There are currently no known workarounds.

Weakness: CWE-190

Which versions are affected by CVE-2022-36008?

2 open source packages ship an affected version, including fc-rpc. It affects 1 product.

PackageAffectedFixed in
fc-rpc crates.ioAll versions to 1.0.0None
fc-rpc crates.ioAll versions to 1.0.0None

Products include Parity Frontier.

How do I fix CVE-2022-36008?

No fix has been published for CVE-2022-36008 yet. Limit exposure of the affected software until one is available.

Is CVE-2022-36008 being exploited?

There is no known exploitation of CVE-2022-36008 in the wild and no public exploit code.

Sources

Also known as GHSA-mjvm-mhgc-q4gp.

Is CVE-2022-36008 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free