Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. phpfastcache/phpfastcache
  4. ›
  5. CVE-2021-37704

CVE-2021-37704: Exposure of Resource to Wrong Sphere

August 12, 2021 (updated October 27, 2022)

PhpFastCache is a high-performance backend cache system (packagist package phpfastcache/phpfastcache). 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).

References

  • github.com/flextype/flextype/issues/567
  • nvd.nist.gov/vuln/detail/CVE-2021-37704

Code Behaviors & Features

Detect and mitigate CVE-2021-37704 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 6.1.5, all versions starting from 7.0.0 before 7.1.2, all versions starting from 8.0.0 before 8.0.7

Fixed versions

  • 6.1.5
  • 7.1.2
  • 8.0.7

Solution

Upgrade to versions 6.1.5, 7.1.2, 8.0.7 or above.

Impact 4.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-668: Exposure of Resource to Wrong Sphere

Source file

packagist/phpfastcache/phpfastcache/CVE-2021-37704.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:35 +0000.