CVE-2025-27421: Goroutine Leak in Abacus SSE Implementation
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.
References
- github.com/JasonLovesDoggo/abacus
- github.com/JasonLovesDoggo/abacus/commit/78fdb9b48b7f6d08ed0cd41077509c0a97071552
- github.com/JasonLovesDoggo/abacus/commit/898ff1204e11317cc161240b660e63eed5a72b33
- github.com/JasonLovesDoggo/abacus/security/advisories/GHSA-vh64-54px-qgf8
- github.com/advisories/GHSA-vh64-54px-qgf8
- nvd.nist.gov/vuln/detail/CVE-2025-27421
Detect and mitigate CVE-2025-27421 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →