GHSA-xvr7-p2c6-j83w swift-nio-http2 affected by HTTP/2 MadeYouReset vulnerability
Attackers can cause denial of service in swift-nio-http2 by evading existing DoS protections with sophisticated traffic patterns.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is GHSA-xvr7-p2c6-j83w?
GHSA-xvr7-p2c6-j83w is a denial of service vulnerability in github.com/apple/swift-nio-http2, published on 13 Aug 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
The HTTP/2 MadeYouReset vulnerability has a mild effect on swift-nio-http2.
swift-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.
However, 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.
We recommend all adopters move to 1.38.0 as soon as possible to mitigate against more sophisticated attacks that may appear in the future.
We are very grateful to @galbarnahum, @AnatBB, and @YanivRL for their reporting and assistance with our process.
Which versions are affected by GHSA-xvr7-p2c6-j83w?
2 open source packages ship an affected version, including github.com/apple/swift-nio-http2.
| Package | Affected | Fixed in |
|---|---|---|
github.com/apple/swift-nio-http2 SwiftURL | All versions | 1.38.0 |
github.com/apple/swift-nio-http2 SwiftURL | All versions | 1.38.0 |
How do I fix GHSA-xvr7-p2c6-j83w?
Upgrade github.com/apple/swift-nio-http2 to 1.38.0 or later.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is GHSA-xvr7-p2c6-j83w being exploited?
There is no known exploitation of GHSA-xvr7-p2c6-j83w in the wild and no public exploit code.