{"api_version":"1","generated_at":"2026-07-23T12:13:08+00:00","cve":"CVE-2021-37704","urls":{"html":"https://cve.report/CVE-2021-37704","api":"https://cve.report/api/cve/CVE-2021-37704.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-37704","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-37704"},"summary":{"title":"CVE-2021-37704","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 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.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2021-08-12 20:15:00","updated_at":"2022-10-27 12:41:00"},"problem_types":["CWE-668"],"metrics":[],"references":[{"url":"https://github.com/PHPSocialNetwork/phpfastcache/commit/41a77d0d8f126dbd6fbedcd9e6a82e86cdaafa51","name":"https://github.com/PHPSocialNetwork/phpfastcache/commit/41a77d0d8f126dbd6fbedcd9e6a82e86cdaafa51","refsource":"MISC","tags":[],"title":"Merge pull request #813 from Geolim4/master · PHPSocialNetwork/phpfastcache@41a77d0 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/PHPSocialNetwork/phpfastcache/security/advisories/GHSA-cvh5-p6r6-g2qc","name":"https://github.com/PHPSocialNetwork/phpfastcache/security/advisories/GHSA-cvh5-p6r6-g2qc","refsource":"CONFIRM","tags":[],"title":"Exposed phpinfo() leadked via documentation files · Advisory · PHPSocialNetwork/phpfastcache · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/PHPSocialNetwork/phpfastcache/pull/814","name":"https://github.com/PHPSocialNetwork/phpfastcache/pull/814","refsource":"MISC","tags":[],"title":"[V7] Fixed vulnerability issue that cause exposed phpinfo() in some situations by Geolim4 · Pull Request #814 · PHPSocialNetwork/phpfastcache · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/PHPSocialNetwork/phpfastcache/pull/813","name":"https://github.com/PHPSocialNetwork/phpfastcache/pull/813","refsource":"MISC","tags":[],"title":"[V8] Fixed vulnerability issue that cause exposed phpinfo() in some situations by Geolim4 · Pull Request #813 · PHPSocialNetwork/phpfastcache · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://packagist.org/packages/phpfastcache/phpfastcache","name":"https://packagist.org/packages/phpfastcache/phpfastcache","refsource":"MISC","tags":[],"title":"phpfastcache/phpfastcache - Packagist","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/PHPSocialNetwork/phpfastcache/blob/master/CHANGELOG.md#807","name":"https://github.com/PHPSocialNetwork/phpfastcache/blob/master/CHANGELOG.md#807","refsource":"MISC","tags":[],"title":"phpfastcache/CHANGELOG.md at master · PHPSocialNetwork/phpfastcache · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/PHPSocialNetwork/phpfastcache/pull/815","name":"https://github.com/PHPSocialNetwork/phpfastcache/pull/815","refsource":"MISC","tags":[],"title":"[V6] Fixed vulnerability issue that cause exposed phpinfo() in some situations by Geolim4 · Pull Request #815 · PHPSocialNetwork/phpfastcache · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/flextype/flextype/issues/567","name":"https://github.com/flextype/flextype/issues/567","refsource":"MISC","tags":[],"title":"phpinfo (phpinfo.php) shows PHP information including values of HttpOnly cookies. · Issue #567 · flextype/flextype · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-37704","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-37704","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"37704","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"phpfastcache","cpe5":"phpfastcache","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-37704","qid":"150390","title":"Phpfastcache phpinfo exposure (CVE-2021-37704)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2021-37704","STATE":"PUBLIC","TITLE":"Exposed phpinfo() in PhpFastCache"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"phpfastcache","version":{"version_data":[{"version_value":"< 6.1.5"},{"version_value":">= 7.0.0, < 7.1.2"},{"version_value":">= 8.0.0, < 8.0.7"}]}}]},"vendor_name":"PHPSocialNetwork"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":5.4,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-200: Exposure of Sensitive Information to an Unauthorized Actor"}]}]},"references":{"reference_data":[{"name":"https://github.com/PHPSocialNetwork/phpfastcache/security/advisories/GHSA-cvh5-p6r6-g2qc","refsource":"CONFIRM","url":"https://github.com/PHPSocialNetwork/phpfastcache/security/advisories/GHSA-cvh5-p6r6-g2qc"},{"name":"https://github.com/flextype/flextype/issues/567","refsource":"MISC","url":"https://github.com/flextype/flextype/issues/567"},{"name":"https://github.com/PHPSocialNetwork/phpfastcache/pull/813","refsource":"MISC","url":"https://github.com/PHPSocialNetwork/phpfastcache/pull/813"},{"name":"https://github.com/PHPSocialNetwork/phpfastcache/pull/814","refsource":"MISC","url":"https://github.com/PHPSocialNetwork/phpfastcache/pull/814"},{"name":"https://github.com/PHPSocialNetwork/phpfastcache/pull/815","refsource":"MISC","url":"https://github.com/PHPSocialNetwork/phpfastcache/pull/815"},{"name":"https://github.com/PHPSocialNetwork/phpfastcache/commit/41a77d0d8f126dbd6fbedcd9e6a82e86cdaafa51","refsource":"MISC","url":"https://github.com/PHPSocialNetwork/phpfastcache/commit/41a77d0d8f126dbd6fbedcd9e6a82e86cdaafa51"},{"name":"https://github.com/PHPSocialNetwork/phpfastcache/blob/master/CHANGELOG.md#807","refsource":"MISC","url":"https://github.com/PHPSocialNetwork/phpfastcache/blob/master/CHANGELOG.md#807"},{"name":"https://packagist.org/packages/phpfastcache/phpfastcache","refsource":"MISC","url":"https://packagist.org/packages/phpfastcache/phpfastcache"}]},"source":{"advisory":"GHSA-cvh5-p6r6-g2qc","discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2021-08-12 20:15:00","lastModifiedDate":"2022-10-27 12:41:00","problem_types":["CWE-668"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":4.3,"baseSeverity":"MEDIUM"},"exploitabilityScore":2.8,"impactScore":1.4},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:S/C:P/I:N/A:N","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"SINGLE","confidentialityImpact":"PARTIAL","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":4},"severity":"MEDIUM","exploitabilityScore":8,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:phpfastcache:phpfastcache:*:*:*:*:*:*:*:*","versionStartIncluding":"8.0.0","versionEndExcluding":"8.0.7","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:phpfastcache:phpfastcache:*:*:*:*:*:*:*:*","versionStartIncluding":"7.0.0","versionEndExcluding":"7.1.2","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:phpfastcache:phpfastcache:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.5","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"37704","Ordinal":"213212","Title":"CVE-2021-37704","CVE":"CVE-2021-37704","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"37704","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2021","CveId":"37704","Ordinal":"2","NoteData":"2021-08-12","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"37704","Ordinal":"3","NoteData":"2021-08-12","Type":"Other","Title":"Modified"}]}}}