CVE-2012-6532: Zendframework/zendframework1 Zend Framework XEE Vulnerability Vulnerability
MODERATECVE-2012-6532 is a MODERATE zend framework xee vulnerability vulnerability (CWE-776: Improper Restriction of Recursive Entity References in DTDs ('XML Entity Expansion')) affecting Zendframework/zendframework1 libraries in the Packagist ecosystem. The issue involves zend framework xee vulnerability. Remediation is available by upgrading affected packages to version 1.11.13, 1.12.0.
CVE-2012-6532 at a Glance
How to Fix CVE-2012-6532
To remediate this vulnerability, upgrade all affected Zendframework/zendframework1 dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade zendframework/zendframework1 to 1.11.13
Upgrade zendframework/zendframework1 to 1.12.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for zendframework/zendframework1
How to Check if You Are Affected
To determine whether your application is affected by CVE-2012-6532, inspect your project dependencies for Zendframework/zendframework1:
inspect dependencies for zendframework/zendframework1
Analyze the terminal output to locate any version of Zendframework/zendframework1 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.11.13), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-776: Improper Restriction of Recursive Entity References in DTDs ('XML Entity Expansion'), where the product uses xml documents and allows their structure to be defined with a document type definition (dtd), but it does not properly control the number of recursive definitions of entities. In Zendframework/zendframework1, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2012-6532 Affected Zendframework/zendframework1 Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
zendframework/zendframework1
|
Packagist |
≥ 1.0
< 1.11.13
|
1.11.13
|
|
zendframework/zendframework1
|
Packagist |
≥ 1.12.0-rc1
< 1.12.0
|
1.12.0
|
References
Frequently Asked Questions
What is CVE-2012-6532?
Which Zendframework/zendframework1 versions are affected?
What version fixes CVE-2012-6532?
Is zendframework/zendframework1 affected?
What CWE is associated with CVE-2012-6532?
How can I check Packagist dependencies for CVE-2012-6532?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-jh4x-4wmf-67pr",
"modified" : "2024-01-12T18:28:17Z",
"published" : "2022-05-17T05:10:32Z",
"aliases" : [ "CVE-2012-6532" ],
"summary" : "Zend Framework XEE Vulnerability",
"details" : "(1) `Zend_Dom`, (2) `Zend_Feed`, (3) `Zend_Soap`, and (4) `Zend_XmlRpc` in Zend Framework 1.x before 1.11.13 and 1.12.x before 1.12.0 allow remote attackers to cause a denial of service (CPU consumption) via recursive or circular references in an XML entity definition in an XML DOCTYPE declaration, aka an XML Entity Expansion (XEE) attack.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "zendframework/zendframework1"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.0"
}, {
"fixed" : "1.11.13"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "zendframework/zendframework1"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.12.0-rc1"
}, {
"fixed" : "1.12.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2012-6532"
}, {
"type" : "WEB",
"url" : "https://github.com/zendframework/zf1/commit/1b5e86183a72b7b10b6c89e4f95f08c5da9716db"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/zendframework/zf1"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20131101014013/http://www.mandriva.com/en/support/security/advisories/advisory/MDVSA-2013:115/?name=MDVSA-2013:115"
}, {
"type" : "WEB",
"url" : "http://framework.zend.com/security/advisory/ZF2012-02"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-776" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-01-12T18:28:17Z",
"nvd_published_at" : "2013-02-13T17:55:00Z"
}
}