Skip to content
OpenAdvisories
High · 7.5 CVE-2025-27421 EUVD-2025-5565GHSA-vh64-54px-qgf8GO-2025-3498

Goroutine Leak in Abacus SSE Implementation

Published Mar 3, 2025 · Updated Mar 3, 2025 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
JasonLovesDoggo abacus < 1.4.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Tumbleweed govulncheck-vulndb 0.0.20250312T181707-1.1 openSUSE-SU-2025:14889-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/jasonlovesdoggo/abacus < 0.0.0-20250302043802-898ff1204e11 0.0.0-20250302043802-898ff1204e11 GHSA-vh64-54px-qgf8

Advisories 1

References