Slim vulnerable to PHP object injection
Middleware/SessionCookie.php in Slim before 2.6.0 allows remote attackers to conduct PHP object injection attacks and execute arbitrary PHP code via crafted session data.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | slim/slim | < 2.6.0 | 2.6.0 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2015-2171
- https://github.com/slimphp/Slim/issues/1034
- https://github.com/slimphp/Slim/commit/9fa651474eb4d3bb0ce40dd5a55c51bb861c2658
- https://github.com/FriendsOfPHP/security-advisories/blob/master/slim/slim/CVE-2015-2171.yaml
- https://github.com/slimphp/Slim
- https://web.archive.org/web/20200229032229/http://www.securityfocus.com/bid/70087
- http://seclists.org/fulldisclosure/2015/Mar/16
- http://www.slimframework.com/2015/03/01/version-260.html
- Weakness (CWE)
CWE-94- Platform
- Composer
- Package
slim/slim- Disclosed
- 17.05.2022
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-74mf-vjpg-9xh7 - CC BY 4.0
Vulnerability history: slim/slim
All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 2
- First → latest
- 05.2022 06.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- High 1
- Medium 1
Disclosures per year
- 2022: 1
- 2023: 0
- 2024: 0
- 2025: 0
- 2026: 1
-
Slim vulnerable to PHP object injection this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.