CVE-2015-8125: Symfony/symfony Symfony Vulnerable To Timing Attack Vulnerability
HIGHCVE-2015-8125 is a HIGH symfony vulnerable to timing attack vulnerability (CWE-208: Observable Timing Discrepancy) affecting Symfony/symfony libraries in the Packagist ecosystem. The issue involves symfony vulnerable to timing attack. Remediation is available by upgrading affected packages to version 2.3.35, 2.7.7, 2.6.12.
CVE-2015-8125 at a Glance
How to Fix CVE-2015-8125
To remediate this vulnerability, upgrade all affected Symfony/symfony dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade symfony/symfony to 2.3.35
Upgrade symfony/symfony to 2.7.7
Upgrade symfony/form to 2.3.35
Upgrade symfony/form to 2.6.12
Upgrade symfony/form to 2.7.7
Upgrade symfony/security-http to 2.6.12
Upgrade symfony/security-http to 2.7.7
Upgrade symfony/security to 2.3.35
Upgrade symfony/security to 2.6.12
Upgrade symfony/security to 2.7.7
Upgrade symfony/symfony to 2.6.12
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for symfony/symfony
How to Check if You Are Affected
To determine whether your application is affected by CVE-2015-8125, inspect your project dependencies for Symfony/symfony:
inspect dependencies for symfony/symfony
Analyze the terminal output to locate any version of Symfony/symfony in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.3.35), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-208: Observable Timing Discrepancy, where 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. In Symfony/symfony, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2015-8125 Affected Symfony/symfony Versions
11 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
symfony/symfony
|
Packagist |
≥ 2.3.0
< 2.3.35
|
2.3.35
|
|
symfony/symfony
|
Packagist |
≥ 2.7.0
< 2.7.7
|
2.7.7
|
|
symfony/form
|
Packagist |
≥ 2.3.0
< 2.3.35
|
2.3.35
|
|
symfony/form
|
Packagist |
≥ 2.4.0
< 2.6.12
|
2.6.12
|
|
symfony/form
|
Packagist |
≥ 2.7.0
< 2.7.7
|
2.7.7
|
|
symfony/security-http
|
Packagist |
≥ 2.4.0
< 2.6.12
|
2.6.12
|
|
symfony/security-http
|
Packagist |
≥ 2.7.0
< 2.7.7
|
2.7.7
|
|
symfony/security
|
Packagist |
≥ 2.3.0
< 2.3.35
|
2.3.35
|
|
symfony/security
|
Packagist |
≥ 2.4.0
< 2.6.12
|
2.6.12
|
|
symfony/security
|
Packagist |
≥ 2.7.0
< 2.7.7
|
2.7.7
|
|
symfony/symfony
|
Packagist |
≥ 2.4.0
< 2.6.12
|
2.6.12
|
References
Frequently Asked Questions
What is CVE-2015-8125?
Which Symfony/symfony versions are affected?
What version fixes CVE-2015-8125?
Is symfony/symfony affected?
Is symfony/form affected?
What CWE is associated with CVE-2015-8125?
How can I check Packagist dependencies for CVE-2015-8125?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-g97c-jfx6-xvxh",
"modified" : "2023-08-03T21:48:26Z",
"published" : "2022-05-17T03:25:24Z",
"aliases" : [ "CVE-2015-8125" ],
"summary" : "Symfony Vulnerable to Timing Attack",
"details" : "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.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/symfony"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.3.0"
}, {
"fixed" : "2.3.35"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/symfony"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.7.0"
}, {
"fixed" : "2.7.7"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/form"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.3.0"
}, {
"fixed" : "2.3.35"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/form"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.4.0"
}, {
"fixed" : "2.6.12"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/form"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.7.0"
}, {
"fixed" : "2.7.7"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/security-http"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.4.0"
}, {
"fixed" : "2.6.12"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/security-http"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.7.0"
}, {
"fixed" : "2.7.7"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/security"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.3.0"
}, {
"fixed" : "2.3.35"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/security"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.4.0"
}, {
"fixed" : "2.6.12"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/security"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.7.0"
}, {
"fixed" : "2.7.7"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/symfony"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.4.0"
}, {
"fixed" : "2.6.12"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2015-8125"
}, {
"type" : "WEB",
"url" : "https://github.com/symfony/symfony/pull/16630"
}, {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/form/CVE-2015-8125.yaml"
}, {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security-http/CVE-2015-8125.yaml"
}, {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security/CVE-2015-8125.yaml"
}, {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2015-8125.yaml"
}, {
"type" : "WEB",
"url" : "https://symfony.com/blog/cve-2015-8125-potential-remote-timing-attack-vulnerability-in-security-remember-me-service"
}, {
"type" : "WEB",
"url" : "https://symfony.com/cve-2015-8125"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20200228050051/http://www.securityfocus.com/bid/77692"
}, {
"type" : "WEB",
"url" : "http://lists.fedoraproject.org/pipermail/package-announce/2015-December/173271.html"
}, {
"type" : "WEB",
"url" : "http://lists.fedoraproject.org/pipermail/package-announce/2015-December/173300.html"
}, {
"type" : "WEB",
"url" : "http://www.debian.org/security/2015/dsa-3402"
}, {
"type" : "WEB",
"url" : "http://www.securityfocus.com/bid/77692"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-208" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-08-03T21:48:26Z",
"nvd_published_at" : "2015-12-07T20:59:00Z"
}
}