Advisory

GHSA-92x6-h2gr-8gxq

Also known as: CVE-2017-16653

Summary

Symfony CSRF Vulnerability

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-05-13 01:44 UTC
Modified
2024-02-16 08:15 UTC

Affected packages and fixes

12 affected packages; all Packagist · All systems
PackageAffectedFix
symfony/security-csrfintroduced 2.7.0, fixed 2.7.38The export has no generic command for this ecosystem.
symfony/security-csrfintroduced 2.8.0, fixed 2.8.31The export has no generic command for this ecosystem.
symfony/security-csrfintroduced 3.0.0, fixed 3.2.14The export has no generic command for this ecosystem.
symfony/security-csrfintroduced 3.3.0, fixed 3.3.13The export has no generic command for this ecosystem.
symfony/securityintroduced 2.7.0, fixed 2.7.38The export has no generic command for this ecosystem.
symfony/securityintroduced 2.8.0, fixed 2.8.31The export has no generic command for this ecosystem.
symfony/securityintroduced 3.0.0, fixed 3.2.14The export has no generic command for this ecosystem.
symfony/securityintroduced 3.3.0, fixed 3.3.13The export has no generic command for this ecosystem.
symfony/symfonyintroduced 2.7.0, fixed 2.7.38The export has no generic command for this ecosystem.
symfony/symfonyintroduced 2.8.0, fixed 2.8.31The export has no generic command for this ecosystem.
symfony/symfonyintroduced 3.0.0, fixed 3.2.14The export has no generic command for this ecosystem.
symfony/symfonyintroduced 3.3.0, fixed 3.3.13The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences