Directory Traversal Affecting php package, versions [,5.2.7)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.7% (81st 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 Directory Traversal vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-PHP-2335681
  • published12 Jan 2022
  • disclosed17 Dec 2008
  • creditUnknown

Introduced: 17 Dec 2008

CVE-2008-5658  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

Upgrade php to version 5.2.7 or higher.

Overview

Affected versions of this package are vulnerable to Directory Traversal. Directory traversal vulnerability in the ZipArchive::extractTo function in PHP 5.2.6 and earlier allows context-dependent attackers to write arbitrary files via a ZIP file with a file whose name contains .. (dot dot) sequences.

References

CVSS Scores

version 3.1