Live threats

All CVEs / Zend

CVE-2014-2682Zendrest

Medium 6.8 No auth needed

Priority
56
CVSS 2.0
6.8
EPSS
2.2%
probability of exploitation in 30 days · percentile 83
Auth required
No
Published
Nov 16, 2014
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-19
Vector
AV:N/AC:M/Au:N/C:P/I:P/A:P

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Zendrest.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist zendframework/zendframework1 < 1.12.4 1.12.4 composer require "zendframework/zendframework1:^1.12.4"
Packagist zendframework/zendopenid < 2.0.2 2.0.2 composer require "zendframework/zendopenid:^2.0.2"
Packagist zendframework/zendrest < 2.0.2 2.0.2 composer require "zendframework/zendrest:^2.0.2"
Packagist zendframework/zendservice-amazon < 2.0.3 2.0.3 composer require "zendframework/zendservice-amazon:^2.0.3"
Packagist zendframework/zendservice-api < 1.0.0 1.0.0 composer require "zendframework/zendservice-api:^1.0.0"
Packagist zendframework/zendservice-audioscrobbler < 2.0.2 2.0.2 composer require "zendframework/zendservice-audioscrobbler:^2.0.2"
Packagist zendframework/zendservice-nirvanix < 2.0.2 2.0.2 composer require "zendframework/zendservice-nirvanix:^2.0.2"
Packagist zendframework/zendservice-slideshare < 2.0.2 2.0.2 composer require "zendframework/zendservice-slideshare:^2.0.2"
Packagist zendframework/zendservice-technorati < 2.0.2 2.0.2 composer require "zendframework/zendservice-technorati:^2.0.2"
Packagist zendframework/zendservice-windowsazure < 2.0.2 2.0.2 composer require "zendframework/zendservice-windowsazure:^2.0.2"

Per OSV / GitHub Advisories (GHSA-gp39-h9c2-qw79). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
zendzendrest≤ 2.0.1
zendzend_framework< 1.12.4
zendzend_framework≥ 2.1.0 < 2.1.6
zendzend_framework≥ 2.2.0 < 2.2.6
zendzendservice_slideshare≤ 2.0.1
zendzendservice_api≤ 1.0.0
zendzendservice_audioscrobbler≤ 2.0.1
zendzendservice_amazon≤ 2.0.2
zendzendservice_technorati≤ 2.0.1
zendzendservice_windowsazure≤ 2.0.1
zendzendopenid≤ 2.0.1
zendzendservice_nirvanix≤ 2.0.1

Official sources

References

Links published by the sources. Open them with care.