Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/jasonlovesdoggo/abacus
  4. ›
  5. CVE-2025-27421

CVE-2025-27421: Goroutine Leak in Abacus SSE Implementation

March 3, 2025 (updated March 11, 2025)

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
  • pkg.go.dev/vuln/GO-2025-3498

Code Behaviors & Features

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 →

Affected versions

All versions before 0.0.0-20250302043802-898ff1204e11

Fixed versions

  • 0.0.0-20250302043802-898ff1204e11

Solution

Upgrade to version 0.0.0-20250302043802-898ff1204e11 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption
  • CWE-772: Missing Release of Resource after Effective Lifetime

Source file

go/github.com/jasonlovesdoggo/abacus/CVE-2025-27421.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:02 +0000.