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.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.4%top 64.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Gogithub.com/jasonlovesdoggo/abacus0.0.0-20250302043802-898ff1204e11GHSA-vh64-54px-qgf8
Gogithub.com/jasonlovesdoggo/abacus0.0.0-20250302043802-898ff1204e11GO-2025-3498

Affected products (as reported)

VendorProductVersions
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

References