{"answers":{"affected":"12 open source packages ship an affected version, including ezsystems/ezpublish-kernel and ezsystems/ezpublish-legacy. It affects 2 products.","exploited":"There is no known exploitation of CVE-2020-10806 in the wild and no public exploit code.","fix":"Upgrade ezsystems/ezpublish-kernel to a fixed version for your release line: 5.4.14.1, 6.13.6.2 or 7.5.6.2.","what":"CVE-2020-10806 is a critical vulnerability in n/a, published on 22 Mar 2020. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2020-10806 and fix it if it is affected.\n\nWhat it is: CVE-2020-10806 is a critical vulnerability in n/a, published on 22 Mar 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2020-10806 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- ezsystems/ezpublish-kernel (Packagist): affected all versions; fixed in 5.4.14.1\n- ezsystems/ezpublish-kernel (Packagist): affected all versions; fixed in 5.4.14.1\n- ezsystems/ezpublish-kernel (Packagist): affected from 6.0; fixed in 6.13.6.2\n- ezsystems/ezpublish-kernel (Packagist): affected from 6.0; fixed in 6.13.6.2\n- ezsystems/ezpublish-kernel (Packagist): affected from 7.0; fixed in 7.5.6.2\n- ezsystems/ezpublish-kernel (Packagist): affected from 7.0; fixed in 7.5.6.2\n- ezsystems/ezpublish-legacy (Packagist): affected all versions; fixed in 5.4.14.1\n- ezsystems/ezpublish-legacy (Packagist): affected all versions; fixed in 5.4.14.1\n- ezsystems/ezpublish-legacy (Packagist): affected from 2017; fixed in 2017.12.7.2\n- ezsystems/ezpublish-legacy (Packagist): affected from 2017; fixed in 2017.12.7.2\n- ezsystems/ezpublish-legacy (Packagist): affected from 2019; fixed in 2019.03.4.2\n- ezsystems/ezpublish-legacy (Packagist): affected from 2019; fixed in 2019.03.4.2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2020-10806/ (Markdown: https://insights.sbomify.com/CVE-2020-10806/index.md)","id":"CVE-2020-10806","markdown":"https://insights.sbomify.com/CVE-2020-10806/index.md","name":"CVE-2020-10806","record":{"aliases":["GHSA-54p5-gxq6-j98g"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":true,"product_category":"eZ Publish CMS","requires_auth":"none","summary":"Remote attackers can execute arbitrary code by uploading PHP files in eZ Publish, unless specific vhost restrictions are applied.","user_interaction":"not_required","vuln_class":"file_upload"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"ez_publish-kernel","vendor":"ez"},{"product":"ez_publish-legacy","vendor":"ez"}],"cvss":{"score":9.8,"severity":"critical","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"}],"description":"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.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"eZ Publish Kernel and Legacy Unrestricted Upload of File with Dangerous Type","id":"CVE-2020-10806","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"file_upload","year":"2020"},"n_packages":12,"n_references":1,"next":{"headline":"Auth bypass in n/a","id":"CVE-2020-10807"},"packages":[{"ecosystem":"Packagist","fixed":["5.4.14.1"],"introduced":["0"],"last_affected":[],"package":"ezsystems/ezpublish-kernel","purl":null,"source":"GHSA-54p5-gxq6-j98g"},{"ecosystem":"Packagist","fixed":["5.4.14.1"],"introduced":["0"],"last_affected":[],"package":"ezsystems/ezpublish-kernel","purl":"pkg:composer/ezsystems/ezpublish-kernel","source":"GHSA-54p5-gxq6-j98g"},{"ecosystem":"Packagist","fixed":["6.13.6.2"],"introduced":["6.0"],"last_affected":[],"package":"ezsystems/ezpublish-kernel","purl":null,"source":"GHSA-54p5-gxq6-j98g"},{"ecosystem":"Packagist","fixed":["6.13.6.2"],"introduced":["6.0"],"last_affected":[],"package":"ezsystems/ezpublish-kernel","purl":"pkg:composer/ezsystems/ezpublish-kernel","source":"GHSA-54p5-gxq6-j98g"},{"ecosystem":"Packagist","fixed":["7.5.6.2"],"introduced":["7.0"],"last_affected":[],"package":"ezsystems/ezpublish-kernel","purl":null,"source":"GHSA-54p5-gxq6-j98g"},{"ecosystem":"Packagist","fixed":["7.5.6.2"],"introduced":["7.0"],"last_affected":[],"package":"ezsystems/ezpublish-kernel","purl":"pkg:composer/ezsystems/ezpublish-kernel","source":"GHSA-54p5-gxq6-j98g"},{"ecosystem":"Packagist","fixed":["5.4.14.1"],"introduced":["0"],"last_affected":[],"package":"ezsystems/ezpublish-legacy","purl":null,"source":"GHSA-54p5-gxq6-j98g"},{"ecosystem":"Packagist","fixed":["5.4.14.1"],"introduced":["0"],"last_affected":[],"package":"ezsystems/ezpublish-legacy","purl":"pkg:composer/ezsystems/ezpublish-legacy","source":"GHSA-54p5-gxq6-j98g"},{"ecosystem":"Packagist","fixed":["2017.12.7.2"],"introduced":["2017"],"last_affected":[],"package":"ezsystems/ezpublish-legacy","purl":null,"source":"GHSA-54p5-gxq6-j98g"},{"ecosystem":"Packagist","fixed":["2017.12.7.2"],"introduced":["2017"],"last_affected":[],"package":"ezsystems/ezpublish-legacy","purl":"pkg:composer/ezsystems/ezpublish-legacy","source":"GHSA-54p5-gxq6-j98g"},{"ecosystem":"Packagist","fixed":["2019.03.4.2"],"introduced":["2019"],"last_affected":[],"package":"ezsystems/ezpublish-legacy","purl":null,"source":"GHSA-54p5-gxq6-j98g"},{"ecosystem":"Packagist","fixed":["2019.03.4.2"],"introduced":["2019"],"last_affected":[],"package":"ezsystems/ezpublish-legacy","purl":"pkg:composer/ezsystems/ezpublish-legacy","source":"GHSA-54p5-gxq6-j98g"}],"prev":{"headline":"phpMyAdmin SQL Injection","id":"CVE-2020-10804"},"products":["n/a"],"published":"2020-03-22","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["n/a"]},"summary":"Remote attackers can execute arbitrary code by uploading PHP files in eZ Publish, unless specific vhost restrictions are applied.","url":"https://insights.sbomify.com/CVE-2020-10806/"}