{"id":"CVE-2024-22189","aliases":["CVE-2024-22189","GHSA-c33x-xqrf-c478","GO-2024-2682"],"related":["CGA-5cg8-j3ff-f9wv"],"kind":"vulnerability","state":"published","title":"QUIC's Connection ID Mechanism vulnerable to Memory Exhaustion Attack","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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 peers congestion window (by selectively acknowledging received packets) and by manipulating the peer's RTT estimate.\n\nI published a more detailed description of the attack and its mitigation in this blog post: https://seemann.io/posts/2024-03-19-exploiting-quics-connection-id-management/.\nI also presented this attack in the IETF QUIC working group session at IETF 119: https://youtu.be/JqXtYcZAtIA?si=nJ31QKLBSTRXY35U&t=3683\n\nThere's no way to mitigate this attack, please update quic-go to a version that contains the fix.","format":"markdown","source":"ghsa"},{"lang":"en","text":"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 peers congestion window (by selectively acknowledging received packets) and by manipulating the peer's RTT estimate.","format":"markdown","source":"go"},{"lang":"es","text":"quic-go es una implementación del protocolo QUIC en Go. Antes de la versión 0.42.0, un atacante podía hacer que su par se quedara sin memoria enviando una gran cantidad de tramas `NEW_CONNECTION_ID` que retiraban los ID de conexión antiguos. Se supone que el receptor debe responder a cada cuadro de retiro con un cuadro `RETIRE_CONNECTION_ID`. El atacante puede evitar que el receptor envíe (la gran mayoría de) estas tramas `RETIRE_CONNECTION_ID` colapsando la ventana de congestión del par (al reconocer selectivamente los paquetes recibidos) y manipulando la estimación de RTT del par. La versión 0.42.0 contiene un parche para el problema. No hay workarounds disponibles.","source":"nvd"}],"published":"2024-04-02T14:16:05.000Z","modified":"2026-09-10T03:50:11.209Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-400","CWE-770"],"affected":[{"ranges":[{"version":"< 0.42.0","status":"affected"}],"vendor":"quic-go","product":"quic-go","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","fixed":"0.42.0","status":"affected"}],"vendor":"quic-go_project","product":"quic-go","cpe":"cpe:2.3:a:quic-go_project:quic-go:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.42.0"}],"ecosystem":"Go","package":"github.com/quic-go/quic-go","purl":"pkg:golang/github.com/quic-go/quic-go","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.42.0"}],"ecosystem":"Go","package":"github.com/quic-go/quic-go","purl":"pkg:golang/github.com/quic-go/quic-go","source":"go"}],"references":[{"url":"https://github.com/quic-go/quic-go/security/advisories/GHSA-c33x-xqrf-c478","tags":["web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/quic-go/quic-go/commit/4a99b816ae3ab03ae5449d15aac45147c85ed47a","tags":["fix","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://seemann.io/posts/2024-03-19-exploiting-quics-connection-id-management","tags":["web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://www.youtube.com/watch?v=JqXtYcZAtIA&t=3683s","tags":["web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-22189","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/quic-go/quic-go","tags":["package"],"sources":["ghsa"]}],"credits":["marten-seemann"],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2024-04-09T14:56:31.456Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-22189","url":"https://www.cve.org/CVERecord?id=CVE-2024-22189","licence":"CVE Terms of Use","modified":"2024-08-23T19:29:41.592Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-c33x-xqrf-c478","url":"https://github.com/advisories/GHSA-c33x-xqrf-c478","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:11.209Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2024-2682","url":"https://pkg.go.dev/vuln/GO-2024-2682","licence":"CC-BY-4.0","modified":"2026-02-04T02:49:59.898Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-22189","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-22189","licence":"Public domain","modified":"2026-06-17T07:10:54.083Z"}],"updatedAt":"2026-11-25T22:58:38.758Z","epss":{"score":0.011,"percentile":0.66594,"date":"2026-12-01T12:00:22.000Z"}}