MediumGHSA-gp39-h9c2-qw79CVE-2014-2682

Several Zend Products Vulnerable to XXE and XEE attacks

Published 14 May 2022 · Updated 7 Dec 2024

Affected packages

Affected
<1.12.4
Fixed in
1.12.4
Update to the fixed version for your release line, for example:composer require zendframework/zendframework1:^1.12.4
Affected
<2.0.2
Fixed in
2.0.2
Update to the fixed version for your release line, for example:composer require zendframework/zendopenid:^2.0.2
Affected
<2.0.2
Fixed in
2.0.2
Update to the fixed version for your release line, for example:composer require zendframework/zendrest:^2.0.2
Affected
<2.0.2
Fixed in
2.0.2
Update to the fixed version for your release line, for example:composer require zendframework/zendservice-audioscrobbler:^2.0.2
Affected
<2.0.2
Fixed in
2.0.2
Update to the fixed version for your release line, for example:composer require zendframework/zendservice-nirvanix:^2.0.2
Affected
<2.0.2
Fixed in
2.0.2
Update to the fixed version for your release line, for example:composer require zendframework/zendservice-slideshare:^2.0.2
Affected
<2.0.2
Fixed in
2.0.2
Update to the fixed version for your release line, for example:composer require zendframework/zendservice-technorati:^2.0.2
Affected
<2.0.2
Fixed in
2.0.2
Update to the fixed version for your release line, for example:composer require zendframework/zendservice-windowsazure:^2.0.2
Affected
<2.0.3
Fixed in
2.0.3
Update to the fixed version for your release line, for example:composer require zendframework/zendservice-amazon:^2.0.3
Affected
<1.0.0
Fixed in
1.0.0
Update to the fixed version for your release line, for example:composer require zendframework/zendservice-api:^1.0.0

Details

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.

Is GHSA-gp39-h9c2-qw79 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected zendframework/zendframework1, and gives you the command that fixes it.

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.