Mittel

Symfony storing cookie headers in HttpCache

  • Veröffentlicht: 01.02.2023
  • Aktualisiert: 11.10.2026 10:22

Description

The Symfony HTTP cache system acts as a reverse proxy: it caches HTTP responses (including headers) and returns them to clients.

In a recent AbstractSessionListener change, the response might now contain a Set-Cookie header. If the Symfony HTTP cache system is enabled, this header might be stored and returned to some other clients. An attacker can use this vulnerability to retrieve the victim's session.

Resolution

The HttpStore constructor now takes a parameter containing a list of private headers that are removed from the HTTP response headers. The default value for this parameter is Set-Cookie, but it can be overridden or extended by the application.

The patch for this issue is available here for branch 4.4.

Credits

We would like to thank Soner Sayakci for reporting the issue and Nicolas Grekas for fixing it.

Betroffene Software

Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.

PlattformPaketAnfällige VersionenBehoben in
Composer-Paket symfony/http-kernel >= 2.0.0, < 4.4.50, >= 5.0.0, < 5.4.20, >= 6.0.0, < 6.0.20, >= 6.1.0, < 6.1.12, >= 6.2.0, < 6.2.6 4.4.50, 5.4.20, 6.0.20, 6.1.12, 6.2.6
Composer-Paket symfony/symfony >= 2.0.0, < 4.4.50, >= 5.0.0, < 5.4.20, >= 6.0.0, < 6.0.20, >= 6.1.0, < 6.1.12, >= 6.2.0, < 6.2.6 4.4.50, 5.4.20, 6.0.20, 6.1.12, 6.2.6

Verweise

CVSS-Wert 5.9/10
CVSS-Vektor
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:L/A:L
Schwäche (CWE)
CWE-285
Plattform
Composer
Paket
symfony/http-kernel, symfony/symfony
Veröffentlicht
01.02.2023
Aktualisiert
11.10.2026 10:22

Quellen und Lizenzen

OSV / GitHub Advisory Database - GHSA-h7vf-5wrv-9fhv - CC BY 4.0

Schwachstellenhistorie: symfony/http-kernel

Alle veröffentlichten Schwachstellen dieses Pakets (Composer-Paket), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.

Einträge insgesamt
8
Erste → letzte
09.2020 05.2026
Ohne Fix
0
In Angriffen ausgenutzt
0

Verteilung nach Schweregrad

  • Hoch 4
  • Mittel 4

Veröffentlichungen pro Jahr

  1. 2020: 1
  2. 2021: 1
  3. 2022: 3
  4. 2023: 1
  5. 2024: 1
  6. 2025: 0
  7. 2026: 1
  1. Hoch · 7.5 CVE-2014-5245 >= 2.0.0, < 2.3.19, >= 2.4.0, < 2.4.9, >= 2.5.0, < 2.5.4 2.3.19, 2.4.9, 2.5.4
  2. Symfony storing cookie headers in HttpCache dieser Eintrag
    Mittel · 5.9 CVE-2022-24894 >= 2.0.0, < 4.4.50, >= 5.0.0, < 5.4.20, >= 6.0.0, < 6.0.20, >= 6.1.0, < 6.1.12, >= 6.2.0, < 6.2.6 4.4.50, 5.4.20, 6.0.20, 6.1.12, 6.2.6
  3. Mittel CVE-2015-2308 >= 2.0.0, < 2.3.27, >= 2.4.0, < 2.5.11, >= 2.6.0, < 2.6.6 2.3.27, 2.5.11, 2.6.6
  4. Mittel CVE-2015-4050 >= 2.3.19, < 2.3.29, >= 2.5.4, < 2.5.12, >= 2.6.0, < 2.6.8, >= 2.4.9, <= 2.4.10 2.3.29, 2.5.12, 2.6.8
  5. Hoch · 8.1 CVE-2019-18887 >= 2.2.0, < 2.8.52, >= 3.0.0, < 3.4.35, >= 4.0.0, < 4.2.12, >= 4.3.0, < 4.3.8 2.8.52, 3.4.35, 4.2.12, 4.3.8
  6. Mittel · 6.5 CVE-2021-41267 >= 5.2.0, < 5.3.12 5.3.12
  7. Hoch · 8.0 CVE-2020-15094 >= 4.3.0, < 4.4.13, >= 5.0.0, < 5.1.5 4.4.13, 5.1.5

Erkennen Sie Schwachstellen in Ihrer Anwendung

Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.

Anwendung verbinden
DockRay Newsletter

Anwendungssicherheit in Ihrem Postfach

Wichtige Schwachstellen, konkrete Empfehlungen und praktische Tipps für Ihre Anwendungen. Wählen Sie Ihre Technologien und verfolgen Sie, was für Ihr Projekt relevant ist.

  • Eine tägliche Zusammenfassung neuer Schwachstellen, auch kritischer.
  • Benachrichtigungen über wichtige Updates.
  • Praktische Tipps zur Sicherheit und Überwachung von Anwendungen.

Leer lassen, um Meldungen zu allen Technologien zu erhalten.

Kostenlos anmelden. In jeder E-Mail mit einem Klick abmelden.