Information disclosure in Phpfastcache
CVE-2021-37704
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.
Vulnerability class: Information Disclosure
EPSS: 0.061 (92.7th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L.
Affected products
- Phpfastcache
- Phpsocialnetwork Phpfastcache — versions < 6.1.5, >= 7.0.0, < 7.1.2, >= 8.0.0, < 8.0.7
Weakness classification (CWE)
Public proof-of-concept exploits
References
- security-advisories@github.com (x_refsource_CONFIRM, Third Party Advisory)
- security-advisories@github.com (Exploit, Third Party Advisory, x_refsource_MISC, Issue Tracking)
- security-advisories@github.com (Patch, Third Party Advisory, x_refsource_MISC)
- security-advisories@github.com (Third Party Advisory, x_refsource_MISC)
- security-advisories@github.com (Third Party Advisory, x_refsource_MISC)
- security-advisories@github.com (Patch, Third Party Advisory, x_refsource_MISC)
- security-advisories@github.com (Third Party Advisory, x_refsource_MISC, Release Notes)
- security-advisories@github.com (Product, Third Party Advisory, x_refsource_MISC)
Frequently asked questions
- What is CVE-2021-37704?
- CVE-2021-37704 is a medium-severity vulnerability in Phpfastcache, classified under Information Disclosure. CVSS score: 5.4/10. Published 2021-08-12.
- How severe is CVE-2021-37704?
- Medium severity. CVSS v3 base score is 5.4 out of 10.
- Is CVE-2021-37704 known to be exploited?
- 7 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.