GHSA-ppxx-5m9h-6vxf
quic-go's path validation mechanism can be exploited to cause denial of service
Quick fix
GHSA-ppxx-5m9h-6vxf — github.com/quic-go/quic-go: upgrade to the fixed version with the command below.
go get github.com/quic-go/quic-go@v0.40.1Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
0.40.0Fixed in: 0.40.1go get github.com/quic-go/quic-go@v0.40.10.39.0Fixed in: 0.39.4go get github.com/quic-go/quic-go@v0.39.40.38.0Fixed in: 0.38.2go get github.com/quic-go/quic-go@v0.38.20Fixed in: 0.37.7go get github.com/quic-go/quic-go@v0.37.7References
- https://github.com/quic-go/quic-go/security/advisories/GHSA-ppxx-5m9h-6vxf[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2023-49295[ADVISORY]
- https://github.com/quic-go/quic-go/commit/17fc98c2d81dbe685c19702dc694a9d606ac56dc[WEB]
- https://github.com/quic-go/quic-go/commit/21609ddfeff93668c7625a85eb09f1541fdad965[WEB]
- https://github.com/quic-go/quic-go/commit/3a9c18bcd27a01c551ac9bf8bd2b4bded77c189a[WEB]
- https://github.com/quic-go/quic-go/commit/554d543b50b917369fb1394cc5396d928166cf49[WEB]
- https://github.com/quic-go/quic-go/commit/6cc3d58935426191296171a6c0d1ee965e10534e[WEB]
- https://github.com/quic-go/quic-go/commit/9aaefe19fc3dc8c8917cc87e6128bb56d9e9e6cc[WEB]
- https://github.com/quic-go/quic-go/commit/a0ffa757499913f7be69aa78f573a6aee3430ae4[WEB]
- https://github.com/quic-go/quic-go/commit/d7aa627ebde91cf799ada2a07443faa9b1e5abb8[WEB]
- https://github.com/quic-go/quic-go[PACKAGE]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/G5RSHDTVMYAIGYVVFGKTMFHAZJMA3EVV[WEB]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZE7IOKXX5AATU2WR3V76X5Y3A44QAATG[WEB]
- https://seemann.io/posts/2023-12-18-exploiting-quics-path-validation[WEB]