CVE-2020-10806: Ezsystems/ezpublish kernel EZ Publish Kernel And Legacy Vulnerability
CRITICALCVE-2020-10806 is a CRITICAL (CVSS 9.8) ez publish kernel and legacy vulnerability (General Security Weakness) affecting Ezsystems/ezpublish kernel libraries in the Packagist ecosystem. The issue involves ez publish kernel and legacy unrestricted upload of file with dangerous type. Remediation is available by upgrading affected packages to version 5.4.14.1, 6.13.6.2, 7.5.6.2, 2017.12.7.2, 2019.03.4.2.
CVE-2020-10806 at a Glance
Security Impact
CVSS: 9.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2020-10806
To remediate this vulnerability, upgrade all affected Ezsystems/ezpublish kernel 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 ezsystems/ezpublish-kernel to 5.4.14.1
Upgrade ezsystems/ezpublish-legacy to 5.4.14.1
Upgrade ezsystems/ezpublish-kernel to 6.13.6.2
Upgrade ezsystems/ezpublish-kernel to 7.5.6.2
Upgrade ezsystems/ezpublish-legacy to 2017.12.7.2
Upgrade ezsystems/ezpublish-legacy to 2019.03.4.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for ezsystems/ezpublish-kernel
How to Check if You Are Affected
To determine whether your application is affected by CVE-2020-10806, inspect your project dependencies for Ezsystems/ezpublish kernel:
inspect dependencies for ezsystems/ezpublish-kernel
Analyze the terminal output to locate any version of Ezsystems/ezpublish kernel in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.4.14.1), 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 General Security Weakness. In Ezsystems/ezpublish kernel, 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-2020-10806 Affected Ezsystems/ezpublish kernel Versions
6 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
ezsystems/ezpublish-kernel
|
Packagist |
< 5.4.14.1
|
5.4.14.1
|
|
ezsystems/ezpublish-legacy
|
Packagist |
< 5.4.14.1
|
5.4.14.1
|
|
ezsystems/ezpublish-kernel
|
Packagist |
≥ 6.0
< 6.13.6.2
|
6.13.6.2
|
|
ezsystems/ezpublish-kernel
|
Packagist |
≥ 7.0
< 7.5.6.2
|
7.5.6.2
|
|
ezsystems/ezpublish-legacy
|
Packagist |
≥ 2017
< 2017.12.7.2
|
2017.12.7.2
|
|
ezsystems/ezpublish-legacy
|
Packagist |
≥ 2019
< 2019.03.4.2
|
2019.03.4.2
|
References
Frequently Asked Questions
What is CVE-2020-10806?
Which Ezsystems/ezpublish kernel versions are affected?
What version fixes CVE-2020-10806?
Is ezsystems/ezpublish-kernel affected?
Is ezsystems/ezpublish-legacy affected?
What is the CVSS score of CVE-2020-10806?
What CWE is associated with CVE-2020-10806?
How can I check Packagist dependencies for CVE-2020-10806?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-54p5-gxq6-j98g",
"modified" : "2024-04-25T20:57:31Z",
"published" : "2022-05-24T17:12:08Z",
"aliases" : [ "CVE-2020-10806" ],
"summary" : "eZ Publish Kernel and Legacy Unrestricted Upload of File with Dangerous Type",
"details" : "eZ Publish Kernel before 5.4.14.1, 6.x before 6.13.6.2, and 7.x before 7.5.6.2 and eZ Publish Legacy before 5.4.14.1, 2017 before 2017.12.7.2, and 2019 before 2019.03.4.2 allow remote attackers to execute arbitrary code by uploading PHP code, unless the vhost configuration permits only app.php execution.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "ezsystems/ezpublish-kernel"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "5.4.14.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "ezsystems/ezpublish-legacy"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "5.4.14.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "ezsystems/ezpublish-kernel"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "6.0"
}, {
"fixed" : "6.13.6.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "ezsystems/ezpublish-kernel"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "7.0"
}, {
"fixed" : "7.5.6.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "ezsystems/ezpublish-legacy"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2017"
}, {
"fixed" : "2017.12.7.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "ezsystems/ezpublish-legacy"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2019"
}, {
"fixed" : "2019.03.4.2"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-10806"
}, {
"type" : "WEB",
"url" : "https://ezplatform.com/security-advisories/ezsa-2020-001-remote-code-execution-in-file-uploads"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2024-04-25T20:57:31Z",
"nvd_published_at" : "2020-03-22T16:15:00Z"
}
}