{"answers":{"affected":"6 open source packages ship an affected version, including ezsystems/ezplatform.","exploited":"There is no known exploitation of GHSA-6xch-2vxx-5pvr in the wild and no public exploit code.","fix":"Upgrade ezsystems/ezplatform to a fixed version for your release line: 1.13.5.1, 1.7.9.1 or 2.5.4.","what":"GHSA-6xch-2vxx-5pvr is a vulnerability in ezsystems/ezplatform, published on 15 May 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for GHSA-6xch-2vxx-5pvr and fix it if it is affected.\n\nWhat it is: GHSA-6xch-2vxx-5pvr is a vulnerability in ezsystems/ezplatform, published on 15 May 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of GHSA-6xch-2vxx-5pvr in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- ezsystems/ezplatform (Packagist): affected from 1.13.0; fixed in 1.13.5.1\n- ezsystems/ezplatform (Packagist): affected from 1.13.0; fixed in 1.13.5.1\n- ezsystems/ezplatform (Packagist): affected from 1.7.0; fixed in 1.7.9.1\n- ezsystems/ezplatform (Packagist): affected from 1.7.0; fixed in 1.7.9.1\n- ezsystems/ezplatform (Packagist): affected from 2.5.0; fixed in 2.5.4\n- ezsystems/ezplatform (Packagist): affected from 2.5.0; fixed in 2.5.4\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-6xch-2vxx-5pvr/ (Markdown: https://insights.sbomify.com/GHSA-6xch-2vxx-5pvr/index.md)","id":"GHSA-6xch-2vxx-5pvr","markdown":"https://insights.sbomify.com/GHSA-6xch-2vxx-5pvr/index.md","name":"GHSA-6xch-2vxx-5pvr","record":{"aliases":[],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":true,"product_category":"eZ Platform CMS","requires_auth":"none","summary":"Attackers can download executable files from the var directory on eZ Platform Cloud due to missing access control rules, potentially exposing sensitive code.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"The recommended Apache/Nginx virtual host configuration for eZ Platform includes a rewrite rule for blocking access to executable files in the var directory. This rule does not work when using eZ Platform Cloud (i.e. running eZ Platform on the Platform.sh cloud service).\n \nThe consequence of this is that in such a setup, those executable files may be downloadable. They will not be executable, unless you have specifically configured platform.sh to allow that (which you really should not do). The severity of the download access is limited, but it's better if the platform.sh cloud setup works the same way as regular eZ Platform does. All platform.sh setups are affected.\n \nThe fix adds a rule to the .platform.app.yaml configuration file, with the same effect as the rewrite rule already mentioned. After applying the fix, any attempt to access such files will fail with Access Denied. This security update is distributed via Composer as ezsystems/ezplatform 1.7.9.1, and 1.13.5.1, and 2.5.4. This is the commit: https://github.com/ezsystems/ezplatform/commit/773dddc0d8fe4fda34d2153a401eeaa6cc30b1ff","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 Rules to disable executable access are ignored on Platform.sh (eZ Cloud)","id":"GHSA-6xch-2vxx-5pvr","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"information_disclosure","year":"2024"},"n_packages":6,"n_references":null,"packages":[{"ecosystem":"Packagist","fixed":["1.13.5.1"],"introduced":["1.13.0"],"last_affected":[],"package":"ezsystems/ezplatform","purl":null,"source":"GHSA-6xch-2vxx-5pvr"},{"ecosystem":"Packagist","fixed":["1.13.5.1"],"introduced":["1.13.0"],"last_affected":[],"package":"ezsystems/ezplatform","purl":"pkg:composer/ezsystems/ezplatform","source":"GHSA-6xch-2vxx-5pvr"},{"ecosystem":"Packagist","fixed":["1.7.9.1"],"introduced":["1.7.0"],"last_affected":[],"package":"ezsystems/ezplatform","purl":null,"source":"GHSA-6xch-2vxx-5pvr"},{"ecosystem":"Packagist","fixed":["1.7.9.1"],"introduced":["1.7.0"],"last_affected":[],"package":"ezsystems/ezplatform","purl":"pkg:composer/ezsystems/ezplatform","source":"GHSA-6xch-2vxx-5pvr"},{"ecosystem":"Packagist","fixed":["2.5.4"],"introduced":["2.5.0"],"last_affected":[],"package":"ezsystems/ezplatform","purl":null,"source":"GHSA-6xch-2vxx-5pvr"},{"ecosystem":"Packagist","fixed":["2.5.4"],"introduced":["2.5.0"],"last_affected":[],"package":"ezsystems/ezplatform","purl":"pkg:composer/ezsystems/ezplatform","source":"GHSA-6xch-2vxx-5pvr"}],"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":"Attackers can download executable files from the var directory on eZ Platform Cloud due to missing access control rules, potentially exposing sensitive code.","url":"https://insights.sbomify.com/GHSA-6xch-2vxx-5pvr/"}