A program using swift-nio-http2 is vulnerable to a denial of service attack caused by a network peer sending ALTSVC or ORIGIN frames
Published Feb 9, 2022
7.5
HIGHCVSS 3.1
EPSS 1.12%
Description
A program using swift-nio-http2 is vulnerable to a denial of service attack caused by a network peer sending ALTSVC or ORIGIN frames. This attack affects all swift-nio-http2 versions from 1.0.0 to 1.19.1. This vulnerability is caused by a logical error after frame parsing but before frame handling. ORIGIN and ALTSVC frames are not currently supported by swift-nio-http2, and should be ignored. However, one code path that encounters them has a deliberate trap instead. This was left behind from the original development process and was never removed. Sending an ALTSVC or ORIGIN frame does not require any special permission, so any HTTP/2 connection peer may send such a frame. For clients, this means any server to which they connect may launch this attack. For servers, anyone they allow to connect to them may launch such an attack. The attack is low-effort: it takes very little resources to send one of these frames. The impact on availability is high: receiving the frame immediately crashes the server, dropping all in-flight connections and causing the service to need to restart. It is straightforward for an attacker to repeatedly send these frames, so attackers require very few resources to achieve a substantial denial of service. The attack does not have any confidentiality or integrity risks in and of itself. This is a controlled, intentional crash. However, sudden process crashes can lead to violations of invariants in services, so it is possible that this attack can be used to trigger an error condition that has confidentiality or integrity risks. The risk can be mitigated if untrusted peers can be prevented from communicating with the service. This mitigation is not available to many services. The issue is fixed by rewriting the parsing code to correctly handle the condition. The issue was found by automated fuzzing by oss-fuzz.
Affected products
-
- Version 1.0.0StatusaffectedConstraints<unspecified
- Version unspecifiedStatusaffectedConstraints<=1.19.1
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Swift Project | SwiftNIO HTTP2 | n/a |
|
- ≥ 1.0.0 · < 1.19.2
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
No CVSS v3.0 score for this CVE.
AV:N/AC:L/Au:N/C:N/I:N/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (11 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 1.12% (0.01119) | 64.91th | v5 (v2026.06.15) |
| Jun 15, 2026 | 1.10% (0.01101) | 61.28th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.53% (0.00530) | 65.26th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.11% (0.00114) | 46.55th | v3 (v2023.03.01) |
| Jul 13, 2024 | 0.07% (0.00069) | 30.56th | v3 (v2023.03.01) |
| Jul 23, 2023 | 0.07% (0.00069) | 28.52th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.06% (0.00062) | 24.64th | v3 (v2023.03.01) |
| Mar 6, 2023 | 0.89% (0.00885) | 27.89th | v2 (v2022.01.01) |
| Sep 10, 2022 | 0.89% (0.00885) | 26.24th | v2 (v2022.01.01) |
| Apr 1, 2022 | 0.89% (0.00885) | 24.24th | v2 (v2022.01.01) |
| Feb 10, 2022 | 0.89% (0.00885) | 10.89th | v2 (v2022.01.01) |
References (5)
- https://github.com/advisories/GHSA-pgfx-g6rc-8cjv Advisory
- https://github.com/apple/swift-nio-http2/commit/000ca94f9de92c95b9ac85d44600b7b0fe25a3e5
- https://github.com/apple/swift-nio-http2/releases/tag/1.19.2
- https://github.com/apple/swift-nio-http2/security/advisories/GHSA-pgfx-g6rc-8cjv x_refsource_MISCThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2022-24668
Change history (0)
No recorded changes yet.