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
composer require zendframework/zendframework1:^1.12.4- Affected
- <2.0.2
- Fixed in
- 2.0.2
composer require zendframework/zendopenid:^2.0.2- Affected
- <2.0.2
- Fixed in
- 2.0.2
composer require zendframework/zendrest:^2.0.2- Affected
- <2.0.2
- Fixed in
- 2.0.2
composer require zendframework/zendservice-audioscrobbler:^2.0.2- Affected
- <2.0.2
- Fixed in
- 2.0.2
composer require zendframework/zendservice-nirvanix:^2.0.2- Affected
- <2.0.2
- Fixed in
- 2.0.2
composer require zendframework/zendservice-slideshare:^2.0.2- Affected
- <2.0.2
- Fixed in
- 2.0.2
composer require zendframework/zendservice-technorati:^2.0.2- Affected
- <2.0.2
- Fixed in
- 2.0.2
composer require zendframework/zendservice-windowsazure:^2.0.2- Affected
- <2.0.3
- Fixed in
- 2.0.3
composer require zendframework/zendservice-amazon:^2.0.3- Affected
- <1.0.0
- Fixed in
- 1.0.0
composer require zendframework/zendservice-api:^1.0.0Details
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
- Advisorynvd.nist.gov/vuln/detail/CVE-2014-2682
- Linkweb.archive.org/web/20140419041226/http://www.securityfocus.com/bid/66358
- Linkweb.archive.org/web/20150523055201/http://www.mandriva.com/en/support/security/advisories/advisory/MDVSA-2014:072/?name=MDVSA-2014:072
- Linkadvisories.mageia.org/MGASA-2014-0151.html
- Linkframework.zend.com/security/advisory/ZF2014-01
- Linkseclists.org/oss-sec/2014/q2/0
- Linkwww.debian.org/security/2015/dsa-3265
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.