CVE-2017-16653Sensiolabs Symfony
Medium 5.9 No auth needed
Follow: this CVE · Sensiolabs · Sensiolabs Symfony We alert you by email or Slack (account required).
- Priority
- 51
- CVSS 3.0
- 5.9
- EPSS
- 1.5% probability of exploitation in 30 days · percentile 74
- Auth required
- No
- Published
- Aug 6, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
An issue was discovered in Symfony before 2.7.38, 2.8.31, 3.2.14, 3.3.13, 3.4-BETA5, and 4.0-BETA5. The current implementation of CSRF protection in Symfony (Version >=2) does not use different tokens for HTTP and HTTPS; therefore the token is subject to MITM attacks on HTTP and can then be used in an HTTPS context to do CSRF attacks.
What to do
- Apply the vendor's security update for Symfony.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | symfony/security |
≥ 2.7.0 < 2.7.38 |
2.7.38 |
composer require "symfony/security:^2.7.38" |
| Packagist | symfony/security |
≥ 2.8.0 < 2.8.31 |
2.8.31 |
composer require "symfony/security:^2.8.31" |
| Packagist | symfony/security |
≥ 3.0.0 < 3.2.14 |
3.2.14 |
composer require "symfony/security:^3.2.14" |
| Packagist | symfony/security |
≥ 3.3.0 < 3.3.13 |
3.3.13 |
composer require "symfony/security:^3.3.13" |
| Packagist | symfony/security-csrf |
≥ 2.7.0 < 2.7.38 |
2.7.38 |
composer require "symfony/security-csrf:^2.7.38" |
| Packagist | symfony/security-csrf |
≥ 2.8.0 < 2.8.31 |
2.8.31 |
composer require "symfony/security-csrf:^2.8.31" |
| Packagist | symfony/security-csrf |
≥ 3.0.0 < 3.2.14 |
3.2.14 |
composer require "symfony/security-csrf:^3.2.14" |
| Packagist | symfony/security-csrf |
≥ 3.3.0 < 3.3.13 |
3.3.13 |
composer require "symfony/security-csrf:^3.3.13" |
| Packagist | symfony/symfony |
≥ 2.7.0 < 2.7.38 |
2.7.38 |
composer require "symfony/symfony:^2.7.38" |
| Packagist | symfony/symfony |
≥ 2.8.0 < 2.8.31 |
2.8.31 |
composer require "symfony/symfony:^2.8.31" |
| Packagist | symfony/symfony |
≥ 3.0.0 < 3.2.14 |
3.2.14 |
composer require "symfony/symfony:^3.2.14" |
| Packagist | symfony/symfony |
≥ 3.3.0 < 3.3.13 |
3.3.13 |
composer require "symfony/symfony:^3.3.13" |
Per OSV / GitHub Advisories (GHSA-92x6-h2gr-8gxq). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| sensiolabs | symfony | ≥ 2.7.0 ≤ 2.7.37 |
| sensiolabs | symfony | ≥ 3.2.0 ≤ 3.2.13 |
| sensiolabs | symfony | ≥ 3.3.0 ≤ 3.3.12 |
| sensiolabs | symfony | ≥ 3.8.0 ≤ 3.8.30 |
| debian | debian_linux | 9.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Issue Tracking Third Party Advisory
- symfony.com Issue Tracking Third Party Advisory
- www.debian.org Third Party Advisory