CVE-2014-2921: Pimcore/pimcore Pimcore Vulnerable To PHP Object Vulnerability
HIGHCVE-2014-2921 is a HIGH pimcore vulnerable to php object vulnerability (CWE-94: Improper Control of Generation of Code ('Code Injection')) affecting Pimcore/pimcore libraries in the Packagist ecosystem. The issue involves pimcore vulnerable to php object injection attacks. Remediation is available by upgrading affected packages to version 2.2.0.
CVE-2014-2921 at a Glance
How to Fix CVE-2014-2921
To remediate this vulnerability, upgrade all affected Pimcore/pimcore 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 pimcore/pimcore to 2.2.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for pimcore/pimcore
How to Check if You Are Affected
To determine whether your application is affected by CVE-2014-2921, inspect your project dependencies for Pimcore/pimcore:
inspect dependencies for pimcore/pimcore
Analyze the terminal output to locate any version of Pimcore/pimcore in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.2.0), 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-94: Improper Control of Generation of Code ('Code Injection'), where the product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. In Pimcore/pimcore, 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-2014-2921 Affected Pimcore/pimcore Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
pimcore/pimcore
|
Packagist |
≥ 1.4.9
< 2.2.0
|
2.2.0
|
References
Frequently Asked Questions
What is CVE-2014-2921?
Which Pimcore/pimcore versions are affected?
What version fixes CVE-2014-2921?
Is pimcore/pimcore affected?
What CWE is associated with CVE-2014-2921?
How can I check Packagist dependencies for CVE-2014-2921?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-g7pj-3v97-3vxp",
"modified" : "2025-04-13T23:25:48Z",
"published" : "2022-05-17T04:46:09Z",
"aliases" : [ "CVE-2014-2921" ],
"summary" : "Pimcore Vulnerable to PHP Object Injection Attacks",
"details" : "The `getObjectByToken` function in `Newsletter.php` in the `Pimcore_Tool_Newsletter` module in pimcore 1.4.9 through 2.0.0 does not properly handle an object obtained by unserializing Lucene search data, which allows remote attackers to conduct PHP object injection attacks and execute arbitrary code via vectors involving a `Zend_Pdf_ElementFactory_Proxy` object and a pathname with a trailing `\\0` character.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "pimcore/pimcore"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.4.9"
}, {
"fixed" : "2.2.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2014-2921"
}, {
"type" : "WEB",
"url" : "https://github.com/pimcore/pimcore/commit/3cb2683e669b5644f180d362cfa9614c09bef280"
}, {
"type" : "WEB",
"url" : "https://github.com/pedrib/PoC/blob/caa03645e256a8b50f1101c983d39586ebc467ee/advisories/pimcore-2.1.0.txt"
}, {
"type" : "WEB",
"url" : "https://github.com/pedrib/PoC/blob/master/pimcore-2.1.0.txt"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/pimcore/pimcore"
}, {
"type" : "WEB",
"url" : "http://openwall.com/lists/oss-security/2014/04/21/1"
}, {
"type" : "WEB",
"url" : "http://www.pimcore.org/en/resources/blog/pimcore+2.2+released_b442"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-94" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-08-16T23:23:36Z",
"nvd_published_at" : "2014-04-21T22:55:00Z"
}
}