CVE-2022-41719 Panic in github.com/shamaton/msgpack/v2

High 7.5 Published Updated

An attacker can cause a denial of service by sending crafted inputs to the msgpack unmarshal function in the Go library.

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-41719?

CVE-2022-41719 is a high-severity denial of service vulnerability in github.com/shamaton/msgpack/v2, published on 10 Nov 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Unmarshal can panic on some inputs, possibly allowing for denial of service attacks.

Which versions are affected by CVE-2022-41719?

3 open source packages ship an affected version, including github.com/shamaton/msgpack/v2. It affects 1 product.

PackageAffectedFixed in
github.com/shamaton/msgpack/v2 GoAll versions2.1.1
github.com/shamaton/msgpack/v2 GoAll versions2.1.1
github.com/shamaton/msgpack/v2 GoAll versions2.1.1

Products include Messagepack Project Messagepack.

How do I fix CVE-2022-41719?

Upgrade github.com/shamaton/msgpack/v2 to 2.1.1 or later.

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

Is CVE-2022-41719 being exploited?

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

Sources

Also known as GHSA-jr77-8gx4-h5qh, GO-2022-0972.

Is CVE-2022-41719 in your software?

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

Check your SBOMs for free