CVE-2021-41267
published medium CVSS 3.1 · 6.5Webcache Poisoning in Symfony
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| symfony | — | symfony>= 5.2.0, < 5.3.12 | Affected | Not stated | GitHub_M |
Description
Symfony/Http-Kernel is the HTTP kernel component for Symfony, a PHP framework for web and console applications and a set of reusable PHP components. Headers that are not part of the "trusted_headers" allowed list are ignored and protect users from "Cache poisoning" attacks. In Symfony 5.2, maintainers added support for the `X-Forwarded-Prefix` headers, but this header was accessible in SubRequest, even if it was not part of the "trusted_headers" allowed list. An attacker could leverage this opportunity to forge requests containing a `X-Forwarded-Prefix` header, leading to a web cache poisoning issue. Versions 5.3.12 and later have a patch to ensure that the `X-Forwarded-Prefix` header is not forwarded to subrequests when it is not trusted.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.5 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| symfony | symfony | >= 5.2.0, < 5.3.12 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-444 CWE-444: Inconsistent Interpretation of HTTP Requests ('HTTP Request Smuggling')
References
4Provider assertions
2GitHub_M · cna
Webcache Poisoning in Symfony
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 714a3e98f3713362481b36b0cdd7b388e4e59f3eb8f6fa78316c7c9f6e503cb0
- Ingested
- 23 Sep 2026, 07:56:14 UTC
- Source record
- Official CVE record