Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2022-24668

HIGH 7.5EPSS 61%

A program using swift-nio-http2 is vulnerable to a denial of service attack caused by a network peer sending ALTSVC or…

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Swift Project SwiftNIO HTTP2 >= 1.0.0, < unspecified; >= unspecified, <= 1.19.1

Vulnerability facts

Affected
Swift Project SwiftNIO HTTP2 >= 1.0.0, < unspecified; >= unspecified, <= 1.19.1
Fixed in
No fix listed yet
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
7.5 (v3.1, NVD)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: None
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.98% chance of exploitation in 30 days (percentile 61, 2026-11-26)
CWE
CWE-241
Published
Modified

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 and fixed versions

Package / productAffectedFixedSource
Swift Project SwiftNIO HTTP2>= 1.0.0, < unspecified; >= unspecified, <= 1.19.1—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2022-24668. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-24668.md
Affected: Swift Project SwiftNIO HTTP2 >= 1.0.0, < unspecified; >= unspecified, <= 1.19.1
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for Swift Project SwiftNIO HTTP2: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2022-24668 being exploited?

There is no confirmed exploitation: CVE-2022-24668 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.98% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2022-24668?

High: CVSS 7.5 (v3.1, scored by NVD). Remote, no login needed.

Which versions are affected by CVE-2022-24668?

Swift Project SwiftNIO HTTP2 >= 1.0.0, < unspecified; >= unspecified, <= 1.19.1.

Is there a fix for CVE-2022-24668?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2022-24668?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors