CVE-2014-2682 — zendframework1
CVE-2014-2682 is a CWE-19 vulnerability in zendframework/zendframework1. A fix is available for zendframework/zendframework1 — see the affected versions and patch details below.
Several Zend Products Vulnerable to XXE and XEE attacks
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
Real-World Exposure
zendframework/zendframework1🐘zendframework/zendopenid🐘zendframework/zendrest🐘zendframework/zendservice-audioscrobbler🐘zendframework/zendservice-nirvanix🐘zendframework/zendservice-slideshare🐘zendframework/zendservice-technorati🐘zendframework/zendservice-windowsazure+2 moreReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Packagist packages — download data is not available via public APIs for these ecosystems.
Description
Zend Framework 1 (ZF1) before 1.12.4, Zend Framework 2 before 2.1.6 and 2.2.x before 2.2.6, ZendOpenId, ZendRest, ZendService_AudioScrobbler, ZendService_Nirvanix, ZendService_SlideShare, ZendService_Technorati, and ZendService_WindowsAzure before 2.0.2, ZendService_Amazon before 2.0.3, and ZendService_Api before 1.0.0, when PHP-FPM is used, does not properly share the libxml_disable_entity_loader setting between threads, which might allow remote attackers to conduct XML External Entity (XXE) attacks via an XML external entity declaration in conjunction with an entity reference. NOTE: this issue exists because of an incomplete fix for CVE-2012-5657.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐘Packagist | zendframework/zendframework1 | all versions | 1.12.4composer require zendframework/zendframework1:^1.12.4 |
| 🐘Packagist | zendframework/zendopenid | all versions | 2.0.2composer require zendframework/zendopenid:^2.0.2 |
| 🐘Packagist | zendframework/zendrest | all versions | 2.0.2composer require zendframework/zendrest:^2.0.2 |
| 🐘Packagist | zendframework/zendservice-audioscrobbler | all versions | 2.0.2composer require zendframework/zendservice-audioscrobbler:^2.0.2 |
| 🐘Packagist | zendframework/zendservice-nirvanix | all versions | 2.0.2composer require zendframework/zendservice-nirvanix:^2.0.2 |
| 🐘Packagist | zendframework/zendservice-slideshare | all versions | 2.0.2composer require zendframework/zendservice-slideshare:^2.0.2 |
Affected Products
zend frameworkzendzendopenidzendzendrestzendzendservice amazonzendzendservice apizendzendservice audioscrobblerzendDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for zendframework/zendframework1, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update zendframework/zendframework1 to 1.12.4 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2014-2682 is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Frequently Asked Questions
Is CVE-2014-2682 in your dependencies?
Find it across Packagist, including transitive dependencies.