CVE-2021-37704Phpfastcache
Medium 4.3
Follow: this CVE · Phpfastcache · Phpfastcache We alert you by email or Slack (account required).
- Priority
- 26
- CVSS 3.1
- 4.3
- EPSS
- 5.1% probability of exploitation in 30 days · percentile 93
- Auth required
- Yes
- Published
- Aug 12, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Phpfastcache.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | phpfastcache/phpfastcache |
< 6.1.5 |
6.1.5 |
composer require "phpfastcache/phpfastcache:^6.1.5" |
| Packagist | phpfastcache/phpfastcache |
≥ 7.0.0 < 7.1.2 |
7.1.2 |
composer require "phpfastcache/phpfastcache:^7.1.2" |
| Packagist | phpfastcache/phpfastcache |
≥ 8.0.0 < 8.0.7 |
8.0.7 |
composer require "phpfastcache/phpfastcache:^8.0.7" |
Per OSV / GitHub Advisories (GHSA-cvh5-p6r6-g2qc). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| phpfastcache | phpfastcache | < 6.1.5 |
| phpfastcache | phpfastcache | ≥ 7.0.0 < 7.1.2 |
| phpfastcache | phpfastcache | ≥ 8.0.0 < 8.0.7 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Release Notes Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Third Party Advisory
- github.com Third Party Advisory
- github.com Third Party Advisory
- github.com Exploit Issue Tracking Third Party Advisory
- packagist.org Product Third Party Advisory