GHSA-vx74-f528-fxqg: Github.com/nghttp2/nghttp2 Github.com/nghttp2/nghttp2 Has HTTP/2 Rapid Reset Vulnerability
HIGHGHSA-vx74-f528-fxqg is a HIGH (CVSS 7.5) github.com/nghttp2/nghttp2 has http/2 rapid reset vulnerability (CWE-400: Uncontrolled Resource Consumption) affecting Github.com/nghttp2/nghttp2 libraries in the Go ecosystem. The issue involves github.com/nghttp2/nghttp2 has http/2 rapid reset. Remediation is available by upgrading affected packages to version 1.57.0.
GHSA-vx74-f528-fxqg 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 GHSA-vx74-f528-fxqg
To remediate this vulnerability, upgrade all affected Github.com/nghttp2/nghttp2 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/nghttp2/nghttp2 to 1.57.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/nghttp2/nghttp2
How to Check if You Are Affected
To determine whether your application is affected by GHSA-vx74-f528-fxqg, inspect your project dependencies for Github.com/nghttp2/nghttp2:
inspect dependencies for github.com/nghttp2/nghttp2
Analyze the terminal output to locate any version of Github.com/nghttp2/nghttp2 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.57.0), 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/nghttp2/nghttp2, 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
GHSA-vx74-f528-fxqg Affected Github.com/nghttp2/nghttp2 Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/nghttp2/nghttp2
|
Go |
< 1.57.0
|
1.57.0
|
References
Frequently Asked Questions
What is GHSA-vx74-f528-fxqg?
Which Github.com/nghttp2/nghttp2 versions are affected?
What version fixes GHSA-vx74-f528-fxqg?
Is github.com/nghttp2/nghttp2 affected?
What is the CVSS score of GHSA-vx74-f528-fxqg?
What CWE is associated with GHSA-vx74-f528-fxqg?
How can I check Go dependencies for GHSA-vx74-f528-fxqg?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-vx74-f528-fxqg",
"modified" : "2023-10-10T18:23:21Z",
"published" : "2023-10-10T18:23:21Z",
"aliases" : [ ],
"summary" : "github.com/nghttp2/nghttp2 has HTTP/2 Rapid Reset",
"details" : "### Impact\n\nRapidly creating and cancelling streams (HEADERS frame immediately followed by RST_STREAM) without bound cause denial of service.\n\nSee https://www.cve.org/CVERecord?id=CVE-2023-44487 for details.\n\n### Patches\n\nnghttp2 v1.57.0 mitigates this vulnerability by default.\n\n### Workarounds\n\nIf upgrading to nghttp2 v1.57.0 is not possible, implement `nghttp2_on_frame_recv_callback`, and check and count RST_STREAM frames. If excessive number of RST_STREAM are received, then take action, such as dropping connection silently, or call `nghttp2_submit_goaway` and gracefully terminate the connection.\n\n### References\n\nThe following commit mitigates this vulnerability:\n\n- https://github.com/nghttp2/nghttp2/commit/72b4af6143681f528f1d237b21a9a7aee1738832\n",
"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/nghttp2/nghttp2"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.57.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/nghttp2/nghttp2/security/advisories/GHSA-vx74-f528-fxqg"
}, {
"type" : "WEB",
"url" : "https://github.com/nghttp2/nghttp2/commit/72b4af6143681f528f1d237b21a9a7aee1738832"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/nghttp2/nghttp2"
}, {
"type" : "WEB",
"url" : "https://github.com/nghttp2/nghttp2/releases/tag/v1.57.0"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-400" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-10-10T18:23:21Z",
"nvd_published_at" : null
}
}