Read the docs
TI-2022-02970 Aliases CVE-2022-3215GHSA-7fj7-39wj-c64f

HTTP response splitting in Apple SwiftNIO

Priority MEDIUM 40CWE-113Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
None · High · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and GitHub.

Summary

NIOHTTP1 and projects using it for generating HTTP responses can be subject to a HTTP Response Injection attack. This occurs when a HTTP/1.1 server accepts user generated input from an incoming request and reflects it into a HTTP/1.1 response header in some form. A malicious user can add newlines to their input (usually in encoded form) and "inject" those newlines into the returned HTTP response. This capability allows users to work around security headers and HTTP/1.1 framing headers by injecting entirely false responses or other new headers. The injected false responses may also be treated as the response to subsequent requests, which can lead to XSS, cache poisoning, and a number of other flaws. This issue was resolved by adding validation to the HTTPHeaders type, ensuring that there's no whitespace incorrectly present in the HTTP headers provided by users. As the existing API surface is non-failable, all invalid characters are replaced by linear whitespace.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00664 52nd percentileScored 2026-11-07
Fix Fixed github.com/apple/swift-nio (SwiftURL): 2.42.0, 2.39.1, 2.29.1

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
AppleSwiftNIOup to 2.41.2—No fix listedCNA
—github.com/apple/swift-nio (SwiftURL)2.41.0 to before 2.42.02.42.0Patch availableGHSA-7fj7-39wj-c64f
—github.com/apple/swift-nio (SwiftURL)2.39.0 to before 2.39.12.39.1Patch availableGHSA-7fj7-39wj-c64f
—github.com/apple/swift-nio (SwiftURL)before 2.29.12.29.1Patch availableGHSA-7fj7-39wj-c64f
  • SwiftNIO VendorApple Affected up to 2.41.2 Fixed in — No fix listed CNA
  • github.com/apple/swift-nio (SwiftURL) Vendor— Affected 2.41.0 to before 2.42.0 Fixed in 2.42.0 Patch available GHSA-7fj7-39wj-c64f
  • github.com/apple/swift-nio (SwiftURL) Vendor— Affected 2.39.0 to before 2.39.1 Fixed in 2.39.1 Patch available GHSA-7fj7-39wj-c64f
  • github.com/apple/swift-nio (SwiftURL) Vendor— Affected before 2.29.1 Fixed in 2.29.1 Patch available GHSA-7fj7-39wj-c64f

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:apple:swiftnio:*:*:*:*:*:*:*:*before 2.29.1; 2.30.0 to before 2.39.1; 2.40.0 to before 2.42.0VulnerableApple
  • cpe:2.3:a:apple:swiftnio:*:*:*:*:*:*:*:* Versions before 2.29.1; 2.30.0 to before 2.39.1; 2.40.0 to before 2.42.0 Vulnerable ·Apple

Remediation

  • Fix · GHSA-7fj7-39wj-c64f github.com/apple/swift-nio (SwiftURL) Fixed in 2.42.0 Advisory →
  • Fix · GHSA-7fj7-39wj-c64f github.com/apple/swift-nio (SwiftURL) Fixed in 2.39.1 Advisory →
  • Fix · GHSA-7fj7-39wj-c64f github.com/apple/swift-nio (SwiftURL) Fixed in 2.29.1 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-3215
  2. 2026-10-03 Alias added: GHSA-7fj7-39wj-c64f
  3. 2026-10-16 EPSS moved to the 50th–90th percentile

References

  • TI-2019-06950 Some HTTP/2 implementations are vulnerable to a settings flood, potentially leading to a… CVSS 3.1HIGH 7.5
  • TI-2019-06949 Some HTTP/2 implementations are vulnerable to a reset flood, potentially leading to a… CVSS 3.1HIGH 7.5
  • TI-2019-06947 Some HTTP/2 implementations are vulnerable to ping floods, potentially leading to a… CVSS 3.1HIGH 7.5
  • TI-2019-06948 Some HTTP/2 implementations are vulnerable to resource loops, potentially leading to a… CVSS 3.1HIGH 7.5
  • TI-2019-06946 Some HTTP/2 implementations are vulnerable to window size manipulation and stream… CVSS 3.1HIGH 7.5
  • TI-2019-06951 Some HTTP/2 implementations are vulnerable to a header leak, potentially leading to a… CVSS 3.1MEDIUM 6.5
See all 10 →

Sources