Missing Release of Resource after Effective Lifetime Affecting github.com/jasonlovesdoggo/abacus/utils package, versions <1.4.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMJASONLOVESDOGGOABACUSUTILS-9296354
  • published6 Mar 2025
  • disclosed3 Mar 2025
  • creditJason Cameron

Introduced: 3 Mar 2025

NewCVE-2025-27421  (opens in a new tab)
CWE-772  (opens in a new tab)

How to fix?

Upgrade github.com/jasonlovesdoggo/abacus/utils to version 1.4.0 or higher.

Overview

Affected versions of this package are vulnerable to Missing Release of Resource after Effective Lifetime in the Server-Sent Events implementation, exploitable via the /stream endpoint. An attacker can cause the server to stop accepting new connections and increase memory consumption by repeatedly connecting and disconnecting.

Workaround

This vulnerability can be avoided by limiting incoming connections, enforcing request timeouts, triggering routine restarts to clean up connections, or dedicate a server to SSE connections so that they cannot interfere with regular API usage.

CVSS Base Scores

version 4.0
version 3.1