GHSA-xvr7-p2c6-j83w: Github.com/apple/swift nio http2 Swift-nio-http2 Affected By HTTP/2 MadeYouReset Vulnerability
MODERATEGHSA-xvr7-p2c6-j83w is a MODERATE swift-nio-http2 affected by http/2 madeyoureset vulnerability (CWE-405: Asymmetric Resource Consumption (Amplification)) affecting Github.com/apple/swift nio http2 libraries in the SwiftURL ecosystem. The issue involves swift-nio-http2 affected by http/2 madeyoureset vulnerability. Remediation is available by upgrading affected packages to version 1.38.0.
GHSA-xvr7-p2c6-j83w at a Glance
How to Fix GHSA-xvr7-p2c6-j83w
To remediate this vulnerability, upgrade all affected Github.com/apple/swift nio http2 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/apple/swift-nio-http2 to 1.38.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/apple/swift-nio-http2
How to Check if You Are Affected
To determine whether your application is affected by GHSA-xvr7-p2c6-j83w, inspect your project dependencies for Github.com/apple/swift nio http2:
inspect dependencies for github.com/apple/swift-nio-http2
Analyze the terminal output to locate any version of Github.com/apple/swift nio http2 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.38.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-405: Asymmetric Resource Consumption (Amplification), where the product does not properly control situations in which an adversary can cause the product to consume or produce excessive resources without requiring the adversary to invest equivalent work or otherwise prove authorization, i.e., the adversary's influence is "asymmetric.". In Github.com/apple/swift nio http2, 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-xvr7-p2c6-j83w Affected Github.com/apple/swift nio http2 Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/apple/swift-nio-http2
|
SwiftURL |
< 1.38.0
|
1.38.0
|
References
Frequently Asked Questions
What is GHSA-xvr7-p2c6-j83w?
Which Github.com/apple/swift nio http2 versions are affected?
What version fixes GHSA-xvr7-p2c6-j83w?
Is github.com/apple/swift-nio-http2 affected?
What CWE is associated with GHSA-xvr7-p2c6-j83w?
How can I check SwiftURL dependencies for GHSA-xvr7-p2c6-j83w?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-xvr7-p2c6-j83w",
"modified" : "2025-08-13T23:54:02Z",
"published" : "2025-08-13T23:54:02Z",
"aliases" : [ ],
"summary" : "swift-nio-http2 affected by HTTP/2 MadeYouReset vulnerability",
"details" : "The HTTP/2 [MadeYouReset vulnerability](https://galbarnahum.com/made-you-reset) has a mild effect on swift-nio-http2.\n\nswift-nio-http2 mostly protects against MadeYouReset by using a number of existing denial-of-service prevention patterns that we added in response to the RapidReset vulnerabilities. The result is that servers are not vulnerable to naive attacks based on MadeYouReset, and the naive PoC examples do not affect swift-nio-http2.\n\nHowever, in 1.38.0 we added some defense-in-depth measures as a precautionary measure that detect clients behaving \"weirdly\". These defense in depth measures tackle resource drain attacks where attackers interleave attack traffic with legitimate traffic to try to evade our existing DoS prevention mechanisms.\n\nWe recommend all adopters move to 1.38.0 as soon as possible to mitigate against more sophisticated attacks that may appear in the future.\n\nWe are very grateful to @galbarnahum, @AnatBB, and @YanivRL for their reporting and assistance with our process.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "SwiftURL",
"name" : "github.com/apple/swift-nio-http2"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.38.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/apple/swift-nio-http2/security/advisories/GHSA-xvr7-p2c6-j83w"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apple/swift-nio-http2"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-405" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-08-13T23:54:02Z",
"nvd_published_at" : null
}
}