7.5

CVE-2022-3215: apple swiftnio HTTP Request/Response Splitting

CVSS: 7.5v3.1HighModified
Published 28-09-2022Last modified 20-05-2025

Vulnerability summary

CVE-2022-3215 is a high (CVSS 7.5) HTTP Request/Response Splitting vulnerability in apple swiftnio. EPSS estimates a 0.66% chance of exploitation in the next 30 days, higher than 50.8% of scored vulnerabilities.

Overall risk
30/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.5/10
010
High · v3.1 (CVE.org)
EPSS score
0.66%
0%100%
Low · +0.07 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 28-09-2022
    PublishedVulnerability first disclosed.
  2. 20-05-2025
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

2 scores · 2 sources · 1 version

EPSS trend

Probability

0.66%

Chance of exploitation in the next 30 days

Percentile

51%

Versus all other CVEs

30-day change

+0.07 pp

From 0.60% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.66%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Apple1 product
  • swiftnio< 2.29.1 | ≥ 2.30.0, < 2.39.1 | ≥ 2.40.0, < 2.42.0
Swift project1 product

2 vendors · 2 products

References

1 links