CVE-2023-46239: Github.com/quic go/quic go Quic-go Vulnerable To Pointer Dereference Vulnerability
HIGHCVE-2023-46239 is a HIGH (CVSS 7.5) quic-go vulnerable to pointer dereference vulnerability (CWE-476: NULL Pointer Dereference) affecting Github.com/quic go/quic go libraries in the Go ecosystem. The issue involves quic-go vulnerable to pointer dereference that can lead to panic. Remediation is available by upgrading affected packages to version 0.37.3.
CVE-2023-46239 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).
How to Fix CVE-2023-46239
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.37.3
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-46239, 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.37.3), 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-476: NULL Pointer Dereference, where the product dereferences a pointer that it expects to be valid but is null. 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-46239 Affected Github.com/quic go/quic go Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/quic-go/quic-go
|
Go |
≥ 0.37.0
< 0.37.3
|
0.37.3
|
References
Frequently Asked Questions
What is CVE-2023-46239?
Which Github.com/quic go/quic go versions are affected?
What version fixes CVE-2023-46239?
Is github.com/quic-go/quic-go affected?
What is the CVSS score of CVE-2023-46239?
What CWE is associated with CVE-2023-46239?
How can I check Go dependencies for CVE-2023-46239?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-3q6m-v84f-6p9h",
"modified" : "2023-11-01T06:07:08Z",
"published" : "2023-10-30T15:08:05Z",
"aliases" : [ "CVE-2023-46239" ],
"summary" : "quic-go vulnerable to pointer dereference that can lead to panic",
"details" : "quic-go is an implementation of the [QUIC](https://datatracker.ietf.org/doc/html/rfc9000) transport protocol in Go. By serializing an ACK frame after the CRYTPO that allows a node to complete the handshake, a remote node could trigger a nil pointer dereference (leading to a panic) when the node attempted to drop the Handshake packet number space.\n\n**Impact**\n\nAn attacker can bring down a quic-go node with very minimal effort. Completing the QUIC handshake only requires sending and receiving a few packets.\n\n**Patches**\n\n[v0.37.3](https://github.com/quic-go/quic-go/releases/tag/v0.37.3) contains a patch. Versions before v0.37.0 are not affected.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/quic-go/quic-go"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.37.0"
}, {
"fixed" : "0.37.3"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/quic-go/quic-go/security/advisories/GHSA-3q6m-v84f-6p9h"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-46239"
}, {
"type" : "WEB",
"url" : "https://github.com/quic-go/quic-go/commit/b6a4725b60f1fe04e8f1ddcc3114e290fcea1617"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/quic-go/quic-go"
}, {
"type" : "WEB",
"url" : "https://github.com/quic-go/quic-go/releases/tag/v0.37.3"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-248", "CWE-476" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-10-30T15:08:05Z",
"nvd_published_at" : "2023-10-31T16:15:09Z"
}
}