KeygraphLabs · CVE MCP

CVE-2017-16653 · mitre

CVE-2017-16653

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.

Published 2018-08-06, last changed 2026-06-17.

CVSS
5.9
medium, from NVD
EPSS
1.49%
percentile 75.0%, chance of exploitation in 30 days
Exploitation
None known
no KEV listing or public exploit in our indexes

How to fix

Upgrade to a fixed version: symfony/security-csrf 2.7.38, 2.8.31, 3.2.14, 3.3.13 (Packagist); symfony/security 2.7.38, 2.8.31, 3.2.14, 3.3.13 (Packagist); symfony/symfony 2.7.38, 2.8.31, 3.2.14, 3.3.13 (Packagist) (each is the fix for its own release line). For the version that clears every advisory for your installed version, ask an agent for get_remediation.

Where the flaw is in the code

Fixed in symfony/symfony by pull request #24992, b4dbdd7cd8. Functions changed by the fix: __construct, getToken, refreshToken, removeToken, isTokenValid, getNamespace. Regression tests: src/Symfony/Component/Security/Csrf/Tests/CsrfTokenManagerTest.php. Confidence: inferred (code changed near the fix, but no record names this exact commit as the fix).

Timeline

2018-08-06Published
2022-05-13Package advisory GHSA-92x6-h2gr-8gxq
2026-06-17Record last changed
2026-11-30EPSS when our history starts: 1.49%
2026-12-03Code-level analysis added

Affected packages

AdvisoryPackageFixed in
GHSA-92x6-h2gr-8gxqsymfony/security-csrf (Packagist)2.7.38
GHSA-92x6-h2gr-8gxqsymfony/security-csrf (Packagist)2.8.31
GHSA-92x6-h2gr-8gxqsymfony/security-csrf (Packagist)3.2.14
GHSA-92x6-h2gr-8gxqsymfony/security-csrf (Packagist)3.3.13
GHSA-92x6-h2gr-8gxqsymfony/security (Packagist)2.7.38

Also known as: GHSA-92x6-h2gr-8gxq

Related

CVEPublishedCVSSSummary
CVE-2021-214242021-05-135.3Prevent user enumeration using Guard or the new Authenticator-based Security
CVE-2020-52752020-03-308.1Firewall configured with unanimous strategy was not actually unanimous in symfony/security-http
CVE-2017-113652019-05-239.8same package: symfony/security (Packagist)
CVE-2019-109112019-05-167.5same package: symfony/security (Packagist)
CVE-2018-197902018-12-186.1same package: symfony/security (Packagist)
CVE-2018-114072018-06-139.8same package: symfony/security (Packagist)
CVE-2018-114062018-06-138.8same package: symfony/security (Packagist)
CVE-2018-113852018-06-138.1same package: symfony/security (Packagist)

Add it to your agent

One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.

claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp

Then ask for triage_cve CVE-2017-16653, or call /api/v1/vulnerabilities/CVE-2017-16653. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.

NVD · CVE.org