{"answers":{"affected":"10 open source packages ship an affected version, including neos/flow.","exploited":"There is no known exploitation of GHSA-9cw3-j7wg-jwj8 in the wild and no public exploit code.","fix":"Upgrade neos/flow to a fixed version for your release line: 3.0.12, 3.1.10, 3.2.13 or 3.3.13.","what":"GHSA-9cw3-j7wg-jwj8 is a vulnerability in neos/flow, published on 17 May 2024. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for GHSA-9cw3-j7wg-jwj8 and fix it if it is affected.\n\nWhat it is: GHSA-9cw3-j7wg-jwj8 is a vulnerability in neos/flow, published on 17 May 2024. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of GHSA-9cw3-j7wg-jwj8 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- neos/flow (Packagist): affected from 3.0.0; fixed in 3.0.12\n- neos/flow (Packagist): affected from 3.0.0; fixed in 3.0.12\n- neos/flow (Packagist): affected from 3.1.0; fixed in 3.1.10\n- neos/flow (Packagist): affected from 3.1.0; fixed in 3.1.10\n- neos/flow (Packagist): affected from 3.2.0; fixed in 3.2.13\n- neos/flow (Packagist): affected from 3.2.0; fixed in 3.2.13\n- neos/flow (Packagist): affected from 3.3.0; fixed in 3.3.13\n- neos/flow (Packagist): affected from 3.3.0; fixed in 3.3.13\n- neos/flow (Packagist): affected from 4.0.0; fixed in 4.0.6\n- neos/flow (Packagist): affected from 4.0.0; fixed in 4.0.6\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-9cw3-j7wg-jwj8/ (Markdown: https://insights.sbomify.com/GHSA-9cw3-j7wg-jwj8/index.md)","id":"GHSA-9cw3-j7wg-jwj8","markdown":"https://insights.sbomify.com/GHSA-9cw3-j7wg-jwj8/index.md","name":"GHSA-9cw3-j7wg-jwj8","record":{"aliases":[],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["data_read"],"network_reachable":"yes","non_default_config":true,"product_category":"Neos Flow framework","requires_auth":"low_privilege","summary":"Authenticated users can view unauthorized entities due to Doctrine query cache reuse when using advanced Entity Security features.","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":"If you had used entity security and wanted to secure entities not just based on the user's role, but on some property of the user (like the company he belongs to), entity security did not work properly together with the doctrine query cache. This could lead to other users re-using SQL queries from the cache which were built for other users; and thus users could see entities which were not destined for them.\n\n### Am I affected?\n\n- Do you use Entity Security? if no, you are not affected.\n- You disabled the Doctrine Cache (Flow_Persistence_Doctrine)? If this is the case, you are not affected.\n- You use Entity Security in custom Flow or Neos applications. Read on.\n  - If you only used Entity Security based on roles (i.e. role A was allowed to see entities, but role B was denied): In this case, you are not affected.\n  - If you did more advanced stuff using Entity Security (like checking that a customer only sees his own orders; or a hotel only sees its own bookings), you very likely needed to register a custom global object in Neos.Flow.aop.globalObjects. In this case, you are affected by the issue; and need to implement the CacheAwareInterface in your global object for proper caching.\n\nAll Flow versions (starting in version 3.0, where Entity Security was introduced) were affected.","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":"Neos Flow Information disclosure in entity security","id":"GHSA-9cw3-j7wg-jwj8","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"information_disclosure","year":"2024"},"n_packages":10,"n_references":null,"packages":[{"ecosystem":"Packagist","fixed":["3.0.12"],"introduced":["3.0.0"],"last_affected":[],"package":"neos/flow","purl":null,"source":"GHSA-9cw3-j7wg-jwj8"},{"ecosystem":"Packagist","fixed":["3.0.12"],"introduced":["3.0.0"],"last_affected":[],"package":"neos/flow","purl":"pkg:composer/neos/flow","source":"GHSA-9cw3-j7wg-jwj8"},{"ecosystem":"Packagist","fixed":["3.1.10"],"introduced":["3.1.0"],"last_affected":[],"package":"neos/flow","purl":null,"source":"GHSA-9cw3-j7wg-jwj8"},{"ecosystem":"Packagist","fixed":["3.1.10"],"introduced":["3.1.0"],"last_affected":[],"package":"neos/flow","purl":"pkg:composer/neos/flow","source":"GHSA-9cw3-j7wg-jwj8"},{"ecosystem":"Packagist","fixed":["3.2.13"],"introduced":["3.2.0"],"last_affected":[],"package":"neos/flow","purl":null,"source":"GHSA-9cw3-j7wg-jwj8"},{"ecosystem":"Packagist","fixed":["3.2.13"],"introduced":["3.2.0"],"last_affected":[],"package":"neos/flow","purl":"pkg:composer/neos/flow","source":"GHSA-9cw3-j7wg-jwj8"},{"ecosystem":"Packagist","fixed":["3.3.13"],"introduced":["3.3.0"],"last_affected":[],"package":"neos/flow","purl":null,"source":"GHSA-9cw3-j7wg-jwj8"},{"ecosystem":"Packagist","fixed":["3.3.13"],"introduced":["3.3.0"],"last_affected":[],"package":"neos/flow","purl":"pkg:composer/neos/flow","source":"GHSA-9cw3-j7wg-jwj8"},{"ecosystem":"Packagist","fixed":["4.0.6"],"introduced":["4.0.0"],"last_affected":[],"package":"neos/flow","purl":null,"source":"GHSA-9cw3-j7wg-jwj8"},{"ecosystem":"Packagist","fixed":["4.0.6"],"introduced":["4.0.0"],"last_affected":[],"package":"neos/flow","purl":"pkg:composer/neos/flow","source":"GHSA-9cw3-j7wg-jwj8"}],"products":null,"published":"2024-05-17","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":"Authenticated users can view unauthorized entities due to Doctrine query cache reuse when using advanced Entity Security features.","url":"https://insights.sbomify.com/GHSA-9cw3-j7wg-jwj8/"}