CVE-2022-31264 Integer overflow in solana_rbpf

High 7.5 Published Updated

An integer overflow in the Solana eBPF library allows attackers to cause a denial of service via malformed ELF program headers.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-31264?

CVE-2022-31264 is a high-severity vulnerability in n/a, published on 21 May 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Solana solana_rbpf before 0.2.29 has an addition integer overflow via invalid ELF program headers. elf.rs has a panic via a malformed eBPF program.

Weakness: CWE-190

Which versions are affected by CVE-2022-31264?

2 open source packages ship an affected version, including solana_rbpf. It affects 1 product.

PackageAffectedFixed in
solana_rbpf crates.ioAll versions0.2.29
solana_rbpf crates.ioAll versions0.2.29

Products include Solanalabs Rbpf.

How do I fix CVE-2022-31264?

Upgrade solana_rbpf to 0.2.29 or later.

Is CVE-2022-31264 being exploited?

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

Sources

Also known as GHSA-ffx3-8qvm-pq3j.

Is CVE-2022-31264 in your software?

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

Check your SBOMs for free