{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-37704","id":"CVE-2021-37704","title":"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 v","descriptionLong":"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.","published":"2021-08-12T20:05:16.000Z","updated":"2026-10-20T10:54:50.175810170Z","reserved":"2021-07-29T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L","rating":"medium","source":"github.com"},{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L","rating":"medium","source":"GitHub"},{"version":"2.0","score":4,"vector":"AV:N/AC:L/Au:S/C:P/I:N/A:N","rating":"medium","source":"NVD"}],"rating":"medium","products":["PHPSocialNetwork phpfastcache"],"affectedProducts":[{"vendor":"PHPSocialNetwork","product":"phpfastcache","defaultStatus":null,"versions":[{"status":"affected","version":"< 6.1.5"},{"status":"affected","version":">= 7.0.0, < 7.1.2"},{"status":"affected","version":">= 8.0.0, < 8.0.7"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"phpfastcache/phpfastcache","purl":"pkg:composer/phpfastcache/phpfastcache","ranges":["<6.1.5",">=7.0.0 <7.1.2",">=8.0.0 <8.0.7"],"fixed":["6.1.5","7.1.2","8.0.7"],"advisory":"GHSA-cvh5-p6r6-g2qc"}],"cwes":["CWE-200","CWE-668"],"aliases":["GHSA-cvh5-p6r6-g2qc"],"references":[{"url":"https://github.com/PHPSocialNetwork/phpfastcache/security/advisories/GHSA-cvh5-p6r6-g2qc","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://github.com/flextype/flextype/issues/567","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Third Party Advisory","report","web"]},{"url":"https://github.com/PHPSocialNetwork/phpfastcache/pull/813","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/PHPSocialNetwork/phpfastcache/pull/814","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://github.com/PHPSocialNetwork/phpfastcache/pull/815","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://github.com/PHPSocialNetwork/phpfastcache/commit/41a77d0d8f126dbd6fbedcd9e6a82e86cdaafa51","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/PHPSocialNetwork/phpfastcache/blob/master/CHANGELOG.md#807","tags":["x_refsource_MISC","x_transferred","Release Notes","Third Party Advisory","advisory","web"]},{"url":"https://packagist.org/packages/phpfastcache/phpfastcache","tags":["x_refsource_MISC","x_transferred","Product","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-37704","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.05128,"epssPercentile":0.92565,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-37704","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-37704","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-37704","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-cvh5-p6r6-g2qc","ok":true,"note":"GHSA-cvh5-p6r6-g2qc"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-37704","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}