CVE-2023-49295: Github.com/quic go/quic go Denial of Service Vulnerability
MODERATECVE-2023-49295 is a MODERATE (CVSS 6.4) denial of service vulnerability (CWE-400: Uncontrolled Resource Consumption) affecting Github.com/quic go/quic go libraries in the Go ecosystem. The issue involves quic-go's path validation mechanism can be exploited to cause denial of service. Remediation is available by upgrading affected packages to version 0.40.1, 0.39.4, 0.38.2, 0.37.7.
CVE-2023-49295 at a Glance
Security Impact
CVSS: 6.4
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:H).
How to Fix CVE-2023-49295
To remediate this vulnerability, upgrade all affected Github.com/quic go/quic go dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/quic-go/quic-go to 0.40.1
Upgrade github.com/quic-go/quic-go to 0.39.4
Upgrade github.com/quic-go/quic-go to 0.38.2
Upgrade github.com/quic-go/quic-go to 0.37.7
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/quic-go/quic-go
How to Check if You Are Affected
To determine whether your application is affected by CVE-2023-49295, inspect your project dependencies for Github.com/quic go/quic go:
inspect dependencies for github.com/quic-go/quic-go
Analyze the terminal output to locate any version of Github.com/quic go/quic go in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.40.1), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-400: Uncontrolled Resource Consumption, where the product does not properly control the allocation and maintenance of a limited resource. In Github.com/quic go/quic go, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2023-49295 Affected Github.com/quic go/quic go Versions
4 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/quic-go/quic-go
|
Go |
≥ 0.40.0
< 0.40.1
All 1 versions
0.40.0
|
0.40.1
|
|
github.com/quic-go/quic-go
|
Go |
≥ 0.39.0
< 0.39.4
|
0.39.4
|
|
github.com/quic-go/quic-go
|
Go |
≥ 0.38.0
< 0.38.2
|
0.38.2
|
|
github.com/quic-go/quic-go
|
Go |
< 0.37.7
|
0.37.7
|
References
Frequently Asked Questions
What is CVE-2023-49295?
Which Github.com/quic go/quic go versions are affected?
What version fixes CVE-2023-49295?
Is github.com/quic-go/quic-go affected?
What is the CVSS score of CVE-2023-49295?
What CWE is associated with CVE-2023-49295?
How can I check Go dependencies for CVE-2023-49295?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-ppxx-5m9h-6vxf",
"modified" : "2024-05-20T21:59:16Z",
"published" : "2024-01-10T15:08:40Z",
"aliases" : [ "CVE-2023-49295" ],
"summary" : "quic-go's path validation mechanism can be exploited to cause denial of service",
"details" : "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.\n\nI 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/\n\nThere's no way to mitigate this attack, please update quic-go to a version that contains the fix.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/quic-go/quic-go"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.40.0"
}, {
"fixed" : "0.40.1"
} ]
} ],
"versions" : [ "0.40.0" ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/quic-go/quic-go"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.39.0"
}, {
"fixed" : "0.39.4"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/quic-go/quic-go"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.38.0"
}, {
"fixed" : "0.38.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/quic-go/quic-go"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.37.7"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/quic-go/quic-go/security/advisories/GHSA-ppxx-5m9h-6vxf"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-49295"
}, {
"type" : "WEB",
"url" : "https://github.com/quic-go/quic-go/commit/17fc98c2d81dbe685c19702dc694a9d606ac56dc"
}, {
"type" : "WEB",
"url" : "https://github.com/quic-go/quic-go/commit/21609ddfeff93668c7625a85eb09f1541fdad965"
}, {
"type" : "WEB",
"url" : "https://github.com/quic-go/quic-go/commit/3a9c18bcd27a01c551ac9bf8bd2b4bded77c189a"
}, {
"type" : "WEB",
"url" : "https://github.com/quic-go/quic-go/commit/554d543b50b917369fb1394cc5396d928166cf49"
}, {
"type" : "WEB",
"url" : "https://github.com/quic-go/quic-go/commit/6cc3d58935426191296171a6c0d1ee965e10534e"
}, {
"type" : "WEB",
"url" : "https://github.com/quic-go/quic-go/commit/9aaefe19fc3dc8c8917cc87e6128bb56d9e9e6cc"
}, {
"type" : "WEB",
"url" : "https://github.com/quic-go/quic-go/commit/a0ffa757499913f7be69aa78f573a6aee3430ae4"
}, {
"type" : "WEB",
"url" : "https://github.com/quic-go/quic-go/commit/d7aa627ebde91cf799ada2a07443faa9b1e5abb8"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/quic-go/quic-go"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/G5RSHDTVMYAIGYVVFGKTMFHAZJMA3EVV"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZE7IOKXX5AATU2WR3V76X5Y3A44QAATG"
}, {
"type" : "WEB",
"url" : "https://seemann.io/posts/2023-12-18-exploiting-quics-path-validation"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-400" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-01-10T15:08:40Z",
"nvd_published_at" : "2024-01-10T22:15:50Z"
}
}