Live threats

All CVEs / Phpfastcache

CVE-2021-37704Phpfastcache

Medium 4.3

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
Weakness (CWE)
CWE-200, CWE-668
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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Phpfastcache.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
phpfastcachephpfastcache< 6.1.5
phpfastcachephpfastcache≥ 7.0.0 < 7.1.2
phpfastcachephpfastcache≥ 8.0.0 < 8.0.7

Official sources

References

Links published by the sources. Open them with care.