Information Exposure Affecting phpsocialnetwork/phpfastcache package, versions [,6.1.5)[7.0.0,7.1.2)[8.0.0,8.0.7)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
1.21% (86th 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 IDSNYK-UNMANAGED-PHPSOCIALNETWORKPHPFASTCACHE-2364335
  • published26 Jan 2022
  • disclosed12 Aug 2021
  • creditUnknown

Introduced: 12 Aug 2021

CVE-2021-37704  (opens in a new tab)
CWE-668  (opens in a new tab)

How to fix?

Upgrade phpsocialnetwork/phpfastcache to version 6.1.5, 7.1.2, 8.0.7 or higher.

Overview

Affected versions of this package are vulnerable to Information Exposure. PhpFastCache is a high-performance backend cache system (packagist package phpfastcache/phpfastcache). In versions before 6.1.5, 7.1.2, and 8.0.7 the phpinfo() can be exposed if the /vendor is not protected from public access. This is a rare situation today since the vendor directory is often located outside the web directory or protected via server rule (.htaccess, etc). Only the v6, v7 and v8 will be patched respectively in 8.0.7, 7.1.2, 6.1.5. Older versions such as v5, v4 are not longer supported and will NOT be patched. As a workaround, protect the /vendor directory from public access.

CVSS Scores

version 3.1