1. Accueil
  2. Vulnérabilités
  3. CVE-2022-3215

CVE-2022-3215

NIOHTTP1 and projects using it for generating HTTP responses can be subject to a HTTP Response Injection…

Publiée le 28 sept. 2022 · modifiée le 17 juin 2026 · Sources : NVD, EPSS (FIRST)

Moyen 46/100

Résumé

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.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Apple (3 ligne(s))
Apple
ProduitVersionsCorrigé dansSource
Swiftnio avant 2.29.1 (exclu) — NVD
Swiftnio de 2.30.0 (inclus) à 2.39.1 (exclu) — NVD
Swiftnio de 2.40.0 (inclus) à 2.42.0 (exclu) — NVD

Correctif

Non renseigné par l’éditeur.

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
NVD
Score CVSS
NVD
Faiblesse (CWE)
NVD
Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N (CVSS 3.1, NVD)
Faiblesse
CWE-74 · Autre (CWE-74)

Comment sont obtenues et calculées ces données