CVE-2023-49295
JSON

6.4medium

quic-go's path validation mechanism can cause denial of service

Severity
6.4medium CVSS:3.1 by GitHub_M
Exploit likelihood
1.31% (higher than 70% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-ppxx-5m9h-6vxfGO-2024-2459

Description

quic-go is an implementation of the QUIC protocol (RFC 9000, RFC 9001, RFC 9002) in Go. An attacker can cause its peer to run out of memory sending a large number of PATH_CHALLENGE frames. The receiver is supposed to respond to each PATH_CHALLENGE frame with a PATH_RESPONSE frame. The attacker can prevent the receiver from sending out (the vast majority of) these PATH_RESPONSE frames by collapsing the peers congestion window (by selectively acknowledging received packets) and by manipulating the peer's RTT estimate. This vulnerability has been patched in versions 0.37.7, 0.38.2 and 0.39.4.

Affected

Product or packageVersionsReported by
quic-go quic-go= 0.40.0, >= 0.39.0, < 0.39.4, >= 0.38.0, < 0.38.2, < 0.37.7CVE List
github.com/quic-go/quic-go (Go)from 0.40.0 before 0.40.1, from 0.39.0 before 0.39.4, from 0.38.0 before 0.38.2, before 0.37.7GitHub Advisory Database, Go Vulnerability Database
quic-go_project quic-gobefore 0.37.7, from 0.38.0 before 0.38.2, from 0.39.0 before 0.39.4, 0.40.0NVD

All scores

GitHub_M6.4medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:H
GitHub6.4medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:H
NVD6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-400

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

quic-go is an implementation of the QUIC protocol (RFC 9000, RFC 9001, RFC 9002) in Go. An attacker can cause its peer to run out of memory sending a large number of PATH_CHALLENGE frames. The receiver is supposed to respond to each PATH_CHALLENGE frame with a PATH_RESPONSE frame. The attacker can prevent the receiver from sending out (the vast majority of) these PATH_RESPONSE frames by collapsing the peers congestion window (by selectively acknowledging received packets) and by manipulating the peer's RTT estimate. This vulnerability has been patched in versions 0.37.7, 0.38.2 and 0.39.4.

GitHub Advisory Database

An attacker can cause its peer to run out of memory sending a large number of PATH_CHALLENGE frames. The receiver is supposed to respond to each PATH_CHALLENGE frame with a PATH_RESPONSE frame. The attacker can prevent the receiver from sending out (the vast majority of) these PATH_RESPONSE frames by collapsing the peers congestion window (by selectively acknowledging received packets) and by manipulating the peer's RTT estimate.

I published a more detailed description of the attack and its mitigation in this blog post: https://seemann.io/posts/2023-12-18-exploiting-quics-path-validation/

There's no way to mitigate this attack, please update quic-go to a version that contains the fix.

Go Vulnerability Database

Denial of service via path validation in github.com/quic-go/quic-go

NVD (es)

quic-go es una implementación del protocolo QUIC (RFC 9000, RFC 9001, RFC 9002) en Go. Un atacante puede hacer que su par se quede sin memoria enviando una gran cantidad de tramas PATH_CHALLENGE. Se supone que el receptor debe responder a cada trama PATH_CHALLENGE con una trama PATH_RESPONSE. El atacante puede evitar que el receptor envíe (la gran mayoría de) estas tramas PATH_RESPONSE colapsando la ventana de congestión del par (al reconocer selectivamente los paquetes recibidos) y manipulando la estimación de RTT del par. Esta vulnerabilidad ha sido parcheada en las versiones 0.37.7, 0.38.2 y 0.39.4.

References

https://github.com/quic-go/quic-go/security/advisories/GHSA-ppxx-5m9h-6vxfvendor-advisory, web
https://github.com/quic-go/quic-go/commit/17fc98c2d81dbe685c19702dc694a9d606ac56dcfix, patch, web
https://github.com/quic-go/quic-go/commit/21609ddfeff93668c7625a85eb09f1541fdad965fix, patch, web
https://github.com/quic-go/quic-go/commit/3a9c18bcd27a01c551ac9bf8bd2b4bded77c189afix, patch, web
https://github.com/quic-go/quic-go/commit/554d543b50b917369fb1394cc5396d928166cf49fix, patch, web
https://github.com/quic-go/quic-go/commit/6cc3d58935426191296171a6c0d1ee965e10534efix, patch, web
https://github.com/quic-go/quic-go/commit/9aaefe19fc3dc8c8917cc87e6128bb56d9e9e6ccfix, patch, web
https://github.com/quic-go/quic-go/commit/a0ffa757499913f7be69aa78f573a6aee3430ae4fix, patch, web
https://github.com/quic-go/quic-go/commit/d7aa627ebde91cf799ada2a07443faa9b1e5abb8fix, patch, web
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/G5RSHDTVMYAIGYVVFGKTMFHAZJMA3EVV/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZE7IOKXX5AATU2WR3V76X5Y3A44QAATG/
https://nvd.nist.gov/vuln/detail/CVE-2023-49295advisory

Related

Sources

SourceRecordLicence
CVE ListCVE-2023-49295 changed 2025-06-17CVE Terms of Use
GitHub Advisory DatabaseGHSA-ppxx-5m9h-6vxf changed 2026-09-10CC-BY-4.0
Go Vulnerability DatabaseGO-2024-2459 changed 2026-02-04CC-BY-4.0
NVDCVE-2023-49295 changed 2026-06-17Public domain