Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. zendframework/zendframework1
  4. ›
  5. GHSA-4j9x-g4x8-vcmf

GHSA-4j9x-g4x8-vcmf: ZendFramework potential XML eXternal Entity injection vectors

June 7, 2024

Zend_Feed_Rss and Zend_Feed_Atom were found to contain potential XML eXternal Entity (XXE) vectors due to insecure usage of PHP’s DOM extension. External entities could be specified by adding a specific DOCTYPE element to feeds; exploiting this vulnerability could coerce opening arbitrary files and/or TCP connections.

A similar issue was fixed for 1.11.13 and 1.12.0, in the Zend_Feed::import() factory method; however, the reporter of the issue discovered that the individual classes contained similar functionality in their constructors which remained vulnerable.

References

  • framework.zend.com/security/advisory/ZF2012-05
  • github.com/FriendsOfPHP/security-advisories/blob/master/zendframework/zendframework1/ZF2012-05.yaml
  • github.com/advisories/GHSA-4j9x-g4x8-vcmf
  • github.com/zendframework/zf1

Code Behaviors & Features

Detect and mitigate GHSA-4j9x-g4x8-vcmf 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 1.11.0 before 1.11.15, all versions starting from 1.12.0 before 1.12.1

Fixed versions

  • 1.11.15
  • 1.12.1

Solution

Upgrade to versions 1.11.15, 1.12.1 or above.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-611: Improper Restriction of XML External Entity Reference

Source file

packagist/zendframework/zendframework1/GHSA-4j9x-g4x8-vcmf.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:42 +0000.