CVE-2022-25891 Denial of Service (DoS)

High 7.5 Published Updated

An attacker can cause a denial of service in the shoutrrr Go library by sending messages of specific lengths to the PartitionMessage function.

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

CVE-2022-25891 is a high-severity denial of service vulnerability in github.com/containrrr/shoutrrr/pkg/util, published on 15 Jul 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The package github.com/containrrr/shoutrrr/pkg/util before 0.6.0 are vulnerable to Denial of Service (DoS) via the util.PartitionMessage function. Exploiting this vulnerability is possible by sending exactly 2000, 4000, or 6000 characters messages.

Which versions are affected by CVE-2022-25891?

3 open source packages ship an affected version, including github.com/containrrr/shoutrrr. It affects 1 product.

PackageAffectedFixed in
github.com/containrrr/shoutrrr GoAll versions0.6.0
github.com/containrrr/shoutrrr GoAll versions0.6.0
github.com/containrrr/shoutrrr GoAll versions0.6.0

Products include Containrrr Shoutrrr.

How do I fix CVE-2022-25891?

Upgrade github.com/containrrr/shoutrrr to 0.6.0 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-25891 being exploited?

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

Sources

Also known as AZL-31969, GHSA-477v-w82m-634j, GO-2022-0528, SNYK-GOLANG-GITHUBCOMCONTAINRRRSHOUTRRRPKGUTIL-2849059.

Is CVE-2022-25891 in your software?

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

Check your SBOMs for free