{"answers":{"affected":"6 open source packages ship an affected version, including ezsystems/ezpublish-legacy.","exploited":"There is no known exploitation of GHSA-39j2-4p9j-5w4j in the wild and no public exploit code.","fix":"Upgrade ezsystems/ezpublish-legacy to a fixed version for your release line: 2017.12.7.3, 2019.3.5.1 or 5.4.14.2.","what":"GHSA-39j2-4p9j-5w4j is an unsafe deserialization vulnerability in ezsystems/ezpublish-legacy, published on 15 May 2024. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for GHSA-39j2-4p9j-5w4j and fix it if it is affected.\n\nWhat it is: GHSA-39j2-4p9j-5w4j is an unsafe deserialization vulnerability in ezsystems/ezpublish-legacy, published on 15 May 2024. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of GHSA-39j2-4p9j-5w4j in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- ezsystems/ezpublish-legacy (Packagist): affected from 2017.12.0; fixed in 2017.12.7.3\n- ezsystems/ezpublish-legacy (Packagist): affected from 2017.12.0; fixed in 2017.12.7.3\n- ezsystems/ezpublish-legacy (Packagist): affected from 2019.3.0; fixed in 2019.3.5.1\n- ezsystems/ezpublish-legacy (Packagist): affected from 2019.3.0; fixed in 2019.3.5.1\n- ezsystems/ezpublish-legacy (Packagist): affected from 5.4.0; fixed in 5.4.14.2\n- ezsystems/ezpublish-legacy (Packagist): affected from 5.4.0; fixed in 5.4.14.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/GHSA-39j2-4p9j-5w4j/ (Markdown: https://insights.sbomify.com/GHSA-39j2-4p9j-5w4j/index.md)","id":"GHSA-39j2-4p9j-5w4j","markdown":"https://insights.sbomify.com/GHSA-39j2-4p9j-5w4j/index.md","name":"GHSA-39j2-4p9j-5w4j","record":{"aliases":[],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Ez Platform CMS","requires_auth":"high_privilege","summary":"A backend editor with discount rule permissions can perform object injection in the legacy shop module, potentially leading to code execution.","user_interaction":"not_required","vuln_class":"deserialization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"This Security Advisory is about a vulnerability in the Legacy shop module. A backend editor could perform object injection in discount rules. This would require backend access and permission to edit discount rules. While object injection in itself is a serious vulnerability, the permission requirement means that normally only administrators would be able to exploit it, that's why it was classified as Medium severity.","ecosystems":["Packagist"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":true,"headline":"Ez Platform Object Injection in legacy shop module","id":"GHSA-39j2-4p9j-5w4j","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"deserialization","year":"2024"},"n_packages":6,"n_references":null,"packages":[{"ecosystem":"Packagist","fixed":["2017.12.7.3"],"introduced":["2017.12.0"],"last_affected":[],"package":"ezsystems/ezpublish-legacy","purl":null,"source":"GHSA-39j2-4p9j-5w4j"},{"ecosystem":"Packagist","fixed":["2017.12.7.3"],"introduced":["2017.12.0"],"last_affected":[],"package":"ezsystems/ezpublish-legacy","purl":"pkg:composer/ezsystems/ezpublish-legacy","source":"GHSA-39j2-4p9j-5w4j"},{"ecosystem":"Packagist","fixed":["2019.3.5.1"],"introduced":["2019.3.0"],"last_affected":[],"package":"ezsystems/ezpublish-legacy","purl":null,"source":"GHSA-39j2-4p9j-5w4j"},{"ecosystem":"Packagist","fixed":["2019.3.5.1"],"introduced":["2019.3.0"],"last_affected":[],"package":"ezsystems/ezpublish-legacy","purl":"pkg:composer/ezsystems/ezpublish-legacy","source":"GHSA-39j2-4p9j-5w4j"},{"ecosystem":"Packagist","fixed":["5.4.14.2"],"introduced":["5.4.0"],"last_affected":[],"package":"ezsystems/ezpublish-legacy","purl":null,"source":"GHSA-39j2-4p9j-5w4j"},{"ecosystem":"Packagist","fixed":["5.4.14.2"],"introduced":["5.4.0"],"last_affected":[],"package":"ezsystems/ezpublish-legacy","purl":"pkg:composer/ezsystems/ezpublish-legacy","source":"GHSA-39j2-4p9j-5w4j"}],"products":null,"published":"2024-05-15","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":"A backend editor with discount rule permissions can perform object injection in the legacy shop module, potentially leading to code execution.","url":"https://insights.sbomify.com/GHSA-39j2-4p9j-5w4j/"}