Uncontrolled Resource Consumption ('Resource Exhaustion') Affecting github.com/quic-go/quic-go package, versions <0.42.0


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.05% (18th percentile)

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 Learn

Learn about Uncontrolled Resource Consumption ('Resource Exhaustion') vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMQUICGOQUICGO-6516630
  • published3 Apr 2024
  • disclosed2 Apr 2024
  • creditMarten Seemann

Introduced: 2 Apr 2024

CVE-2024-22189  (opens in a new tab)
CWE-400  (opens in a new tab)

How to fix?

Upgrade github.com/quic-go/quic-go to version 0.42.0 or higher.

Overview

Affected versions of this package are vulnerable to Uncontrolled Resource Consumption ('Resource Exhaustion'). An attacker can cause its peer to run out of memory by sending a large number of NEW_CONNECTION_ID frames that retire old connection IDs. The receiver is supposed to respond to each retirement frame with a RETIRE_CONNECTION_ID frame. The attacker can prevent the receiver from sending out (the vast majority of) these RETIRE_CONNECTION_ID frames by collapsing the peer's congestion window (by selectively acknowledging received packets) and by manipulating the peer's RTT estimate.

CVSS Scores

version 3.1