Vulnerability · Published Apr 4, 2024 · Assigned by GitHub_M

CVE-2024-22189QUIC's Connection ID Mechanism vulnerable to Memory Exhaustion Attack

High 7.5

In plain English

A high-severity resource allocation without limits in quic-go from quic-go. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.1% (higher than 66% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

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

Official description

quic-go is an implementation of the QUIC protocol in Go. Prior to version 0.42.0, an attacker can cause its peer to run out of memory 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 peers congestion window (by selectively acknowledging received packets) and by manipulating the peer's RTT estimate. Version 0.42.0 contains a patch for the issue. No known workarounds are available.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20kubo0.28.0-r0ALPINE-CVE-2024-22189
Alpine:v3.21kubo0.28.0-r0ALPINE-CVE-2024-22189
Alpine:v3.22kubo0.28.0-r0ALPINE-CVE-2024-22189
Alpine:v3.23kubo0.28.0-r0ALPINE-CVE-2024-22189
Alpine:v3.24kubo0.28.0-r0ALPINE-CVE-2024-22189
Debian:12golang-github-lucas-clemente-quic-gono fix listedDEBIAN-CVE-2024-22189
Debian:13golang-github-lucas-clemente-quic-go0.46.0-1DEBIAN-CVE-2024-22189
Debian:14golang-github-lucas-clemente-quic-go0.46.0-1DEBIAN-CVE-2024-22189
Gogithub.com/quic-go/quic-go0.42.0GHSA-c33x-xqrf-c478
Gogithub.com/quic-go/quic-go0.42.0GO-2024-2682
Ubuntu:22.04:LTSgolang-github-lucas-clemente-quic-gono fix listedUBUNTU-CVE-2024-22189

Affected products (as reported)

VendorProductVersions
quic-go quic-go < 0.42.0

Weakness: CWE-770 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References