NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Go

CVE-2023-49295: quic-go's path validation mechanism can be exploited to cause denial of service

mediumCVSS 3.1 6.4GHSA-ppxx-5m9h-6vxf

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

Published Jan 10, 2024 · Updated Feb 21, 2024

Affected packages

github.com/quic-go/quic-go

Ecosystem
Go
Affected
= 0.40.0
Fixed in
0.40.1
Check
go list -m github.com/quic-go/quic-go

github.com/quic-go/quic-go

Ecosystem
Go
Affected
>= 0.39.0, < 0.39.4
Fixed in
0.39.4
Check
go list -m github.com/quic-go/quic-go

github.com/quic-go/quic-go

Ecosystem
Go
Affected
>= 0.38.0, < 0.38.2
Fixed in
0.38.2
Check
go list -m github.com/quic-go/quic-go

github.com/quic-go/quic-go

Ecosystem
Go
Affected
< 0.37.7
Fixed in
0.37.7
Check
go list -m github.com/quic-go/quic-go

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

Credited to marten-seemann.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Go vulnerabilities

All Go entries