ubuntu-cve-2021-41267
Vulnerability from osv_ubuntu
Published
2021-11-24 19:15
Modified
2025-01-13 10:22
Summary
Details
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.
Severity
6.5 (Medium)
References
{
"affected": [
{
"ecosystem_specific": {
"ubuntu_priority": "medium"
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "symfony",
"purl": "pkg:deb/ubuntu/symfony@5.4.4+dfsg-1ubuntu8?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"5.2.6+dfsg-1ubuntu7",
"5.4.4+dfsg-1ubuntu8"
]
},
{
"ecosystem_specific": {
"ubuntu_priority": "medium"
},
"package": {
"ecosystem": "Ubuntu:24.10",
"name": "symfony",
"purl": "pkg:deb/ubuntu/symfony@6.4.10+dfsg-1ubuntu1?arch=source\u0026distro=oracular"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"6.4.5+dfsg-3ubuntu3",
"6.4.10+dfsg-1ubuntu1"
]
},
{
"ecosystem_specific": {
"ubuntu_priority": "medium"
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "symfony",
"purl": "pkg:deb/ubuntu/symfony@6.4.5+dfsg-3ubuntu3?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"5.4.23+dfsg-1ubuntu1",
"5.4.35+dfsg-3ubuntu1",
"6.4.5+dfsg-3ubuntu2",
"6.4.5+dfsg-3ubuntu3"
]
}
],
"aliases": [],
"details": "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.",
"id": "UBUNTU-CVE-2021-41267",
"modified": "2025-01-13T10:22:37Z",
"published": "2021-11-24T19:15:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2021-41267"
},
{
"type": "REPORT",
"url": "https://github.com/symfony/symfony/security/advisories/GHSA-q3j3-w37x-hq2q"
},
{
"type": "REPORT",
"url": "https://github.com/symfony/symfony/commit/95dcf51682029e89450aee86267e3d553aa7c487"
},
{
"type": "REPORT",
"url": "https://github.com/symfony/symfony/releases/tag/v5.3.12"
},
{
"type": "REPORT",
"url": "https://github.com/symfony/symfony/commit/95dcf51682029e89450aee86267e3d553aa7c487"
},
{
"type": "REPORT",
"url": "https://github.com/symfony/symfony/pull/44243"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2021-41267"
}
],
"related": [
"CVE-2021-41267"
],
"schema_version": "1.6.3",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N",
"type": "CVSS_V3"
}
],
"withdrawn": "2025-06-23T15:54:06Z"
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…