CVE-2025-27421 Details
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.
A critical goroutine leak vulnerability exists in the Abacus counting API's Server-Sent Events (SSE) implementation, in versions prior to 1.4.0. The issue arises when clients disconnect from the '/stream' endpoint, as the server does not properly clean up resources or terminate associated goroutines. This oversight leads to resource exhaustion, causing the server to stop accepting new SSE connections while consuming excessive memory. The vulnerability stems from improper channel cleanup in the event handling process, leaving goroutines blocked indefinitely. In production environments, especially those with high traffic or frequent SSE connection cycles, this vulnerability can cause significant disruption.
Users are advised to upgrade to Abacus version 1.4.0 or later. If an immediate upgrade is not possible, workarounds include limiting maximum connections through the reverse proxy, implementing request timeouts, scheduling regular service restarts, monitoring memory usage for abnormal patterns, and running a separate Abacus instance for SSE connections.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Mar 3, 2025CISA-ADP
Assessed Mar 3, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/JasonLovesDoggo/abacus/commit/898ff1204e11317cc161240b660e63eed5a72b33 | [email protected] | Source CodeVendor |
| https://github.com/JasonLovesDoggo/abacus/security/advisories/GHSA-vh64-54px-qgf8 | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-400 | Uncontrolled Resource Consumption | [email protected] |
| CWE-772 | Missing Release of Resource after Effective Lifetime | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| JasonLovesDoggo Abacus | < 1.4.0 (semver) |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Mar 3, 2025 | New CVE Received | [email protected] |
Volerion