CVE-2024-22189QUIC's Connection ID Mechanism vulnerable to Memory Exhaustion Attack
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.
What to do
Fixed builds are available from Alpine, Debian, Go: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | golang-github-lucas-clemente-quic-go | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | golang-github-lucas-clemente-quic-go | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | golang-github-lucas-clemente-quic-go | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | golang-github-lucas-clemente-quic-go | Under investigation | UBUNTU-CVE-2024-22189 | |
| Debian 14 | golang-github-lucas-clemente-quic-go | Fixed | 0.46.0-1 | DEBIAN-CVE-2024-22189 |
| Debian 13 | golang-github-lucas-clemente-quic-go | Fixed | 0.46.0-1 | DEBIAN-CVE-2024-22189 |
| Debian 12 | golang-github-lucas-clemente-quic-go | Fix pending | DEBIAN-CVE-2024-22189 | |
| Alpine Linux 3.24 | kubo | Fixed | 0.28.0-r0 | ALPINE-CVE-2024-22189 |
| Alpine Linux 3.23 | kubo | Fixed | 0.28.0-r0 | ALPINE-CVE-2024-22189 |
| Alpine Linux 3.22 | kubo | Fixed | 0.28.0-r0 | ALPINE-CVE-2024-22189 |
| Alpine Linux 3.21 | kubo | Fixed | 0.28.0-r0 | ALPINE-CVE-2024-22189 |
| Alpine Linux 3.20 | kubo | Fixed | 0.28.0-r0 | ALPINE-CVE-2024-22189 |
| Go library | github.com/quic-go/quic-go | Fixed | 0.42.0 | GO-2024-2682 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- quic-go: affected: < 0.42.0
References
- https://github.com/quic-go/quic-go/security/advisories/GHSA-c33x-xqrf-c478
- https://github.com/quic-go/quic-go/commit/4a99b816ae3ab03ae5449d15aac45147c85ed47a
- https://seemann.io/posts/2024-03-19-exploiting-quics-connection-id-management
- https://www.youtube.com/watch?v=JqXtYcZAtIA&t=3683s
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.