Vulnerability · Published Mar 3, 2025 · Assigned by GitHub_M
CVE-2025-27421Goroutine Leak in Abacus SSE Implementation
High 7.5
In plain English
A high-severity uncontrolled resource consumption in abacus from JasonLovesDoggo. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 36% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Abacus is a highly scalable and stateless counting API. A critical goroutine leak vulnerability has been identified in the Abacus server's Server-Sent Events (SSE) implementation. The issue occurs when clients disconnect from the /stream endpoint, as the server fails to properly clean up resources and terminate associated goroutines. This leads to resource exhaustion where the server continues running but eventually stops accepting new SSE connections while maintaining high memory usage. The vulnerability specifically involves improper channel cleanup in the event handling mechanism, causing goroutines to remain blocked indefinitely. This vulnerability is fixed in 1.4.0.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/jasonlovesdoggo/abacus | 0.0.0-20250302043802-898ff1204e11 | GHSA-vh64-54px-qgf8 |
| Go | github.com/jasonlovesdoggo/abacus | 0.0.0-20250302043802-898ff1204e11 | GO-2025-3498 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| JasonLovesDoggo | abacus | < 1.4.0 |
Weakness: CWE-400, CWE-772 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H