GHSA-g8w7-7vgg-x7xg CWA-2024-005: Stackoverflow in wasmd

Not scored Published

A stack overflow vulnerability in wasmd allows remote attackers to cause a denial of service by triggering excessive recursion.

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

What is GHSA-g8w7-7vgg-x7xg?

GHSA-g8w7-7vgg-x7xg is a denial of service vulnerability in github.com/CosmWasm/wasmd, published on 21 Aug 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Component: wasmd Criticality: High (ACMv1: I:Critical; L:Likely) Patched versions: wasmd 0.53.0, 0.46.0

See CWA-2024-005 for more details.

Which versions are affected by GHSA-g8w7-7vgg-x7xg?

5 open source packages ship an affected version, including github.com/CosmWasm/wasmd.

PackageAffectedFixed in
github.com/CosmWasm/wasmd GoAll versions0.46.0, 0.53.0
github.com/CosmWasm/wasmd GoAll versions0.46.0
github.com/CosmWasm/wasmd GoAll versions0.46.0
github.com/CosmWasm/wasmd GoFrom 0.50.00.53.0
github.com/CosmWasm/wasmd GoFrom 0.50.00.53.0

How do I fix GHSA-g8w7-7vgg-x7xg?

Upgrade github.com/CosmWasm/wasmd to a fixed version for your release line: 0.46.0 or 0.53.0.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is GHSA-g8w7-7vgg-x7xg being exploited?

There is no known exploitation of GHSA-g8w7-7vgg-x7xg in the wild and no public exploit code.

Sources

Also known as GO-2024-3082.

Is GHSA-g8w7-7vgg-x7xg in your software?

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

Check your SBOMs for free