GHSA-g97c-jfx6-xvxh CVE-2015-8125
Symfony Vulnerable to Timing Attack
- Severity
- High
- The publisher's own rating, not a CVSS score
- Exploit chance (EPSS)
- 2.54%
- Chance of exploitation in the next 30 days. Higher than 85.01% of scored vulnerabilities.
- Known exploited
- No
- Not in CISA's catalog
- Weakness
- CWE-208 Observable Timing Discrepancy
- Fix
- Available
- 4 packages have a fixed version
Description
Symfony 2.3.x before 2.3.35, 2.6.x before 2.6.12, and 2.7.x before 2.7.7 might allow remote attackers to have unspecified impact via a timing attack involving the (1) Symfony/Component/Security/Http/RememberMe/PersistentTokenBasedRememberMeServices or (2) Symfony/Component/Security/Http/Firewall/DigestAuthenticationListener class in the Symfony Security Component, or (3) legacy CSRF implementation from the Symfony/Component/Form/Extension/Csrf/CsrfProvider/DefaultCsrfProvider class in the Symfony Form component.
Affected versions
Packagist
| Package | Vulnerable | Fixed in |
|---|---|---|
| symfony/form | >= 2.3.0, < 2.3.35 |
2.3.35 |
| symfony/form | >= 2.4.0, < 2.6.12 |
2.6.12 |
| symfony/form | >= 2.7.0, < 2.7.7 |
2.7.7 |
| symfony/security | >= 2.3.0, < 2.3.35 |
2.3.35 |
| symfony/security | >= 2.4.0, < 2.6.12 |
2.6.12 |
| symfony/security | >= 2.7.0, < 2.7.7 |
2.7.7 |
| symfony/security-http | >= 2.4.0, < 2.6.12 |
2.6.12 |
| symfony/security-http | >= 2.7.0, < 2.7.7 |
2.7.7 |
| symfony/symfony | >= 2.3.0, < 2.3.35 |
2.3.35 |
| symfony/symfony | >= 2.7.0, < 2.7.7 |
2.7.7 |
| symfony/symfony | >= 2.4.0, < 2.6.12 |
2.6.12 |
How to fix
Move to the fixed version or later with your package manager, update the lockfile, and run your tests. If the package only arrives through another dependency, upgrade that dependency first. If none of its releases pulls a fixed version yet, force the version with your package manager's override.
symfony/form Packagist → 2.3.35
- composer
composer require symfony/form:^2.3.35
symfony/security Packagist → 2.3.35
- composer
composer require symfony/security:^2.3.35
symfony/security-http Packagist → 2.6.12
- composer
composer require symfony/security-http:^2.6.12
symfony/symfony Packagist → 2.3.35
- composer
composer require symfony/symfony:^2.3.35
Weakness
CWE-208: Observable Timing Discrepancy
Two separate operations in a product require different amounts of time to complete, in a way that is observable to an actor and reveals security-relevant information about the state of the product, such as whether a particular operation was successful or not.
References
Advisories
Other links
- github.com/symfony/symfony/pull/16630
- github.com/FriendsOfPHP/security-advisories/blob/master/symfony/form/CVE-2015-8…
- github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security-http/C…
- github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security/CVE-20…
- github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-201…
- symfony.com/blog/cve-2015-8125-potential-remote-timing-attack-vulnerability-in-s…
- symfony.com/cve-2015-8125
- web.archive.org/web/20200228050051/http://www.securityfocus.com/bid/77692
- lists.fedoraproject.org/pipermail/package-announce/2015-December/173271.html
- lists.fedoraproject.org/pipermail/package-announce/2015-December/173300.html
- debian.org/security/2015/dsa-3402
- securityfocus.com/bid/77692
Timeline
- Published
- Last updated by the source
- Latest EPSS score
Related advisories
| Advisory | Severity | Why it's related |
|---|---|---|
| GHSA-2v3c-qxhr-7vpv Symfony: Unbounded Recursion in the YAML Inline Lexer Lets a Single Document Crash the Process | High | Also affects symfony/symfony |
| GHSA-r925-mgvr-h9cc Symfony: ReDoS in HeaderUtils::split() Reachable Through the Cache-Control Request Header | High | Also affects symfony/symfony |
| GHSA-h5x3-xfc9-m39h Symfony: UrlGenerator Dot-Segment Encoding Skips Every Other Chained `../` or `./` → Generated URL Collapses Off-Route Under RFC 3986 Normalization | Medium | Also affects symfony/symfony |
| GHSA-v3wm-qf9p-c549 Symfony: HtmlSanitizer URL Parser Deny Gates Underinclusive: Percent-Encoded BiDi Marks and Unicode Whitespace Bypass Visual-Spoofing Defense | Medium | Also affects symfony/symfony |
| GHSA-rrj9-5q2j-4gvr Symfony: Mailomat Mailer Webhook Parser Reads the HMAC Algorithm from the Request: Signature Algorithm Downgrade | Medium | Also affects symfony/symfony |
| GHSA-38cx-cq6f-5755 Symfony: IpUtils::PRIVATE_SUBNETS Omits IPv6 Transition Forms (6to4, NAT64, Teredo, IPv4-compatible): SSRF Bypass in NoPrivateNetworkHttpClient | High | Also affects symfony/symfony |
| GHSA-6h46-9jf5-q59x Symfony: Security Firewall Bypass via failure_forward Subrequest: Unauthenticated Access to access_control-Protected GET Routes | High | Also affects symfony/security-http |
| GHSA-x5qj-865h-mgvm Symfony: HtmlSanitizer UrlAttributeSanitizer Misses URL Attributes | Medium | Also affects symfony/symfony |
MergeHarbor checks every repository's dependencies against this database, ranks what matters by exploitability and reachability, routes it to the owning team and opens the fix pull request.
Check your repos with MergeHarbor