Medium severity5.9NVD Advisory· Published Aug 6, 2018· Updated Jun 17, 2026
CVE-2017-16653
CVE-2017-16653
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
symfony/security-csrfPackagist | >= 2.7.0, < 2.7.38 | 2.7.38 |
symfony/security-csrfPackagist | >= 2.8.0, < 2.8.31 | 2.8.31 |
symfony/security-csrfPackagist | >= 3.0.0, < 3.2.14 | 3.2.14 |
symfony/security-csrfPackagist | >= 3.3.0, < 3.3.13 | 3.3.13 |
symfony/securityPackagist | >= 2.7.0, < 2.7.38 | 2.7.38 |
symfony/securityPackagist | >= 2.8.0, < 2.8.31 | 2.8.31 |
symfony/securityPackagist | >= 3.0.0, < 3.2.14 | 3.2.14 |
symfony/securityPackagist | >= 3.3.0, < 3.3.13 | 3.3.13 |
symfony/symfonyPackagist | >= 2.7.0, < 2.7.38 | 2.7.38 |
symfony/symfonyPackagist | >= 2.8.0, < 2.8.31 | 2.8.31 |
symfony/symfonyPackagist | >= 3.0.0, < 3.2.14 | 3.2.14 |
symfony/symfonyPackagist | >= 3.3.0, < 3.3.13 | 3.3.13 |
Affected products
3- ghsa-coords3 versions
>= 2.7.0, < 2.7.38+ 2 more
- (no CPE)range: >= 2.7.0, < 2.7.38
- (no CPE)range: >= 2.7.0, < 2.7.38
- (no CPE)range: >= 2.7.0, < 2.7.38
Patches
Vulnerability mechanics
References
10- github.com/advisories/GHSA-92x6-h2gr-8gxqghsaADVISORY
- github.com/symfony/symfony/pull/24992nvdIssue TrackingThird Party AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2017-16653ghsaADVISORY
- symfony.com/blog/cve-2017-16653-csrf-protection-does-not-use-different-tokens-for-http-and-httpsnvdIssue TrackingThird Party AdvisoryWEB
- www.debian.org/security/2018/dsa-4262nvdThird Party AdvisoryWEB
- github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security-csrf/CVE-2017-16653.yamlghsaWEB
- github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security/CVE-2017-16653.yamlghsaWEB
- github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2017-16653.yamlghsaWEB
- github.com/symfony/symfony/commit/b4dbdd7cd8732483d585eacff3428c16b07ad15eghsaWEB
- symfony.com/cve-2017-16653ghsaWEB
News mentions
0No linked articles in our index yet.