Arbitrary Code Injection Affecting slim/slim package, versions <2.6.0


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.7% (71st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Code Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-SLIMSLIM-72121
  • published16 Apr 2018
  • disclosed30 Mar 2015
  • creditUnknown

Introduced: 30 Mar 2015

CVE-2015-2171  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade slim/slim to version 2.6.0 or higher.

Overview

slim/slim is a PHP micro framework that helps you quickly write simple yet powerful web applications and APIs.

Affected versions of this package are vulnerable to Arbitrary Code Injection in the Middleware/SessionCookie.php class. It allows remote attackers to conduct PHP object injection attacks and execute arbitrary PHP code via crafted session data.

References

CVSS Base Scores

version 3.1