Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. cakephp/cakephp
  4. ›
  5. GMS-2023-71

GMS-2023-71: CakePHP vulnerable to Denial of Service attack through XML payloads

January 20, 2023

RequestHandlerComponent had a vulnerability that would allow well crafted requests to create a denial of service attack. RequestHandlerComponent leverages Xml::build() which allows reading local files. We recommend that all applications using RequestHandlerComponent upgrade, or disable parsing XML payloads.

References

  • bakery.cakephp.org/2015/05/28/cakephp_2_6_6_and_3_0_6_released.html
  • github.com/FriendsOfPHP/security-advisories/blob/master/cakephp/cakephp/2015-05-28.yaml
  • github.com/advisories/GHSA-q79m-c546-2g63
  • github.com/cakephp/cakephp/commit/c186487151356a8d7c6e2cae05f87b9df0e59fbb

Code Behaviors & Features

Detect and mitigate GMS-2023-71 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 starting from 2.0.0 before 2.0.99, all versions starting from 2.1.0 before 2.1.99, all versions starting from 2.2.0 before 2.2.99, all versions starting from 2.3.0 before 2.3.99, all versions starting from 2.4.0 before 2.4.99, all versions starting from 2.5.0 before 2.5.90, all versions starting from 2.6.0 before 2.6.6, all versions starting from 3.0.0 before 3.0.6

Fixed versions

  • 2.0.99
  • 3.0.6
  • 2.1.99
  • 2.2.99
  • 2.3.99
  • 2.4.99
  • 2.5.90
  • 2.6.6

Solution

Upgrade to versions 2.0.99, 3.0.6, 2.1.99, 2.2.99, 2.3.99, 2.4.99, 2.5.90, 2.6.6 or above.

Source file

packagist/cakephp/cakephp/GMS-2023-71.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:04 +0000.