Exposed phpinfo() in PhpFastCache
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
phpfastcache/phpfastcachePackagist | < 6.1.5 | 6.1.5 |
phpfastcache/phpfastcachePackagist | >= 7.0.0, < 7.1.2 | 7.1.2 |
phpfastcache/phpfastcachePackagist | >= 8.0.0, < 8.0.7 | 8.0.7 |
Affected products
2- Range: < 6.1.5
Patches
Vulnerability mechanics
Generated on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
10- github.com/advisories/GHSA-cvh5-p6r6-g2qcghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2021-37704ghsaADVISORY
- github.com/PHPSocialNetwork/phpfastcache/blob/master/CHANGELOG.mdghsax_refsource_MISCWEB
- github.com/PHPSocialNetwork/phpfastcache/commit/41a77d0d8f126dbd6fbedcd9e6a82e86cdaafa51ghsax_refsource_MISCWEB
- github.com/PHPSocialNetwork/phpfastcache/pull/813ghsax_refsource_MISCWEB
- github.com/PHPSocialNetwork/phpfastcache/pull/814ghsax_refsource_MISCWEB
- github.com/PHPSocialNetwork/phpfastcache/pull/815ghsax_refsource_MISCWEB
- github.com/PHPSocialNetwork/phpfastcache/security/advisories/GHSA-cvh5-p6r6-g2qcghsax_refsource_CONFIRMWEB
- github.com/flextype/flextype/issues/567ghsax_refsource_MISCWEB
- packagist.org/packages/phpfastcache/phpfastcacheghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.