CVE-2022-25891: Shoutrrr util package DoS via sending 2000, 4000, or 6000 character messages
7.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.35075%
CWE
Published
7/16/2022
Updated
8/29/2023
KEV Status
No
Technology
Go
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
github.com/containrrr/shoutrrr | go | < 0.6.0 | 0.6.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems directly from the PartitionMessage
function as shown by: 1) CVE/GHSA descriptions explicitly name this function 2) Commit diff shows critical logic changes in this function's chunk boundary handling 3) Test cases added specifically for 2000/4000/6000 character cases 4) Patch modifies the chunkEnd
calculation from 'chunkOffset + limits.ChunkSize' to 'nextChunkStart - 1' to prevent index overflow. The function's role in message splitting makes it the clear entry point for the resource consumption vulnerability.