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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | kubo | 0.28.0-r0 | ALPINE-CVE-2024-22189 |
| Alpine:v3.21 | kubo | 0.28.0-r0 | ALPINE-CVE-2024-22189 |
| Alpine:v3.22 | kubo | 0.28.0-r0 | ALPINE-CVE-2024-22189 |
| Alpine:v3.23 | kubo | 0.28.0-r0 | ALPINE-CVE-2024-22189 |
| Alpine:v3.24 | kubo | 0.28.0-r0 | ALPINE-CVE-2024-22189 |
| Debian:12 | golang-github-lucas-clemente-quic-go | no fix listed | DEBIAN-CVE-2024-22189 |
| Debian:13 | golang-github-lucas-clemente-quic-go | 0.46.0-1 | DEBIAN-CVE-2024-22189 |
| Debian:14 | golang-github-lucas-clemente-quic-go | 0.46.0-1 | DEBIAN-CVE-2024-22189 |
| Go | github.com/quic-go/quic-go | 0.42.0 | GHSA-c33x-xqrf-c478 |
| Go | github.com/quic-go/quic-go | 0.42.0 | GO-2024-2682 |
| Ubuntu:22.04:LTS | golang-github-lucas-clemente-quic-go | no fix listed | UBUNTU-CVE-2024-22189 |
Affected products (as reported)
Weakness: CWE-770 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/quic-go/quic-go/security/advisories/GHSA-c33x-xqrf-c478 x_refsource_CONFIRM
- https://github.com/quic-go/quic-go/commit/4a99b816ae3ab03ae5449d15aac45147c85ed47a x_refsource_MISC
- https://seemann.io/posts/2024-03-19-exploiting-quics-connection-id-management x_refsource_MISC
- https://www.youtube.com/watch?v=JqXtYcZAtIA&t=3683s x_refsource_MISC