GitHub Advisoryadvisory · SwiftURL
GHSA-xvr7-p2c6-j83w swift-nio-http2 affected by HTTP/2 MadeYouReset vulnerability
MEDIUM
Official page ↗
- Ecosystem
- SwiftURL
- Packages
- github.com/apple/swift-nio-http2
- Severity
- Moderate
- CVSS vector
- 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
- Weaknesses
- CWE-405
- Reviewed
- 2025-08-13
Affected packages
• SwiftURL github.com/apple/swift-nio-http2: < 1.38.0 → fixed in 1.38.0
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.
Related
Weakness · CWE (1)
- CWE-405 Asymmetric Resource Consumption (Amplification) weakness