CVE-2022-3215
Swift packages · CVE-2022-3215
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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.664% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T16:57:41.748Z. Public exploit availability is not used to set this status.
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T16:57:41.748Z | CISA KEV |
| cvss | unknown | unknown | unknown |
| epss | verified | 2026-11-19T16:04:33.773Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:59:43.949Z | OSV |
| affected | verified | 2026-11-19T13:01:34.876Z | CVE Program |
| lifecycle | verified | 2026-11-19T13:01:34.876Z | CVE Program |
Affected versions and configuration
Swift Project SwiftNIO; default status: unknown: unspecified to ≤ 2.41.2 [affected; scheme: custom]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "Swift Project",
"product": "SwiftNIO",
"versions": [
{
"status": "affected",
"version": "unspecified",
"versionType": "custom",
"lessThanOrEqual": "2.41.2"
}
]
}
],
"additionalContainers": [
{
"title": "CVE Program Container",
"references": [
{
"url": "https://github.com/apple/swift-nio/security/advisories/GHSA-7fj7-39wj-c64f",
"tags": [
"x_refsource_MISC",
"x_transferred"
]
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2024-08-03T01:00:10.853Z"
}
},
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"cvssV3_1": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 7.5,
"attackVector": "NETWORK",
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
"integrityImpact": "HIGH",
"userInteraction": "NONE",
"attackComplexity": "LOW",
"availabilityImpact": "NONE",
"privilegesRequired": "NONE",
"confidentialityImpact": "NONE"
}
},
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2022-3215",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2025-05-20T20:02:13.389168Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2025-05-20T20:02:25.500Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-7fj7-39wj-c64f",
"aliases": [
"CVE-2022-3215"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "2.41.0"
},
{
"fixed": "2.42.0"
}
]
}
],
"package": {
"name": "github.com/apple/swift-nio",
"purl": "pkg:swift/github.com/apple/swift-nio",
"ecosystem": "SwiftURL"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/06/GHSA-7fj7-39wj-c64f/GHSA-7fj7-39wj-c64f.json"
}
},
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "2.39.0"
},
{
"fixed": "2.39.1"
}
]
}
],
"package": {
"name": "github.com/apple/swift-nio",
"purl": "pkg:swift/github.com/apple/swift-nio",
"ecosystem": "SwiftURL"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/06/GHSA-7fj7-39wj-c64f/GHSA-7fj7-39wj-c64f.json"
}
},
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.29.1"
}
]
}
],
"package": {
"name": "github.com/apple/swift-nio",
"purl": "pkg:swift/github.com/apple/swift-nio",
"ecosystem": "SwiftURL"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/06/GHSA-7fj7-39wj-c64f/GHSA-7fj7-39wj-c64f.json"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/apple/swift-nio/security/advisories/GHSA-7fj7-39wj-c64f",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2022-3215",
"type": "ADVISORY"
},
{
"url": "https://github.com/apple/swift-nio/commit/a16e2f54a25b2af217044e5168997009a505930f",
"type": "WEB"
},
{
"url": "https://github.com/apple/swift-nio",
"type": "PACKAGE"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-113",
"CWE-74"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2022-09-28T20:15:00Z",
"github_reviewed_at": "2023-06-07T16:01:53Z"
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | SwiftURL / package | github.com/apple/swift-nio | Not a distribution channel | 2.42.0 | Official record |
| ecosystem-boundary | SwiftURL / package | github.com/apple/swift-nio | Not a distribution channel | 2.39.1 | Official record |
| ecosystem-boundary | SwiftURL / package | github.com/apple/swift-nio | Not a distribution channel | 2.29.1 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- CVE ProgramConsulted: 2026-11-19T13:01:34.876ZArchived source JSON
Source publication: 2022-09-28T19:32:30.000Z
Source modification: 2025-05-20T20:02:25.500ZDocument fingerprint
578da84c45cd282251d0b19bb8881ac798b484ce81e904f9ad049782320ccb76 - OSVConsulted: 2026-11-19T12:59:43.949ZArchived source JSON
Source publication: 2023-06-07T16:01:53.000Z
Source modification: 2026-07-08T06:28:22.007ZDocument fingerprint
20f80fbac70e4a03d9a4897e071e9b9cba2be51ccb119d734fea49b31cb76a50 - CISA KEVConsulted: 2026-11-19T16:57:41.748ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T16:04:33.773ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
61a73aadbfc560e47e1294f3a67a7c0f50173e56af53ae885ac6a32a73b8f00f
Official status history
- UNKNOWN → PUBLISHED · · evidence