{"answers":{"affected":"6 open source packages ship an affected version, including gos/web-socket-bundle.","exploited":"There is no known exploitation of GHSA-wwgf-3xp7-cxj4 in the wild and no public exploit code.","fix":"Upgrade gos/web-socket-bundle to a fixed version for your release line: 1.10.4, 2.6.1 or 3.3.0.","what":"GHSA-wwgf-3xp7-cxj4 is a vulnerability in gos/web-socket-bundle, published on 7 Jul 2020. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for GHSA-wwgf-3xp7-cxj4 and fix it if it is affected.\n\nWhat it is: GHSA-wwgf-3xp7-cxj4 is a vulnerability in gos/web-socket-bundle, published on 7 Jul 2020. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of GHSA-wwgf-3xp7-cxj4 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- gos/web-socket-bundle (Packagist): affected all versions; fixed in 1.10.4\n- gos/web-socket-bundle (Packagist): affected all versions; fixed in 1.10.4\n- gos/web-socket-bundle (Packagist): affected from 2.0.0; fixed in 2.6.1\n- gos/web-socket-bundle (Packagist): affected from 2.0.0; fixed in 2.6.1\n- gos/web-socket-bundle (Packagist): affected from 3.0.0; fixed in 3.3.0\n- gos/web-socket-bundle (Packagist): affected from 3.0.0; fixed in 3.3.0\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-wwgf-3xp7-cxj4/ (Markdown: https://insights.sbomify.com/GHSA-wwgf-3xp7-cxj4/index.md)","id":"GHSA-wwgf-3xp7-cxj4","markdown":"https://insights.sbomify.com/GHSA-wwgf-3xp7-cxj4/index.md","name":"GHSA-wwgf-3xp7-cxj4","record":{"aliases":[],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":true,"product_category":"Symfony WebSocket Bundle","requires_auth":"low_privilege","summary":"An attacker can receive sensitive data via unintended WebSocket broadcasts when topic dispatch fails due to misconfiguration or errors.","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":"### Impact\nInside `Gos\\Bundle\\WebSocketBundle\\Server\\App\\Dispatcher\\TopicDispatcher::onPublish()`, messages are arbitrarily broadcasted to the related Topic if `Gos\\Bundle\\WebSocketBundle\\Server\\App\\Dispatcher\\TopicDispatcher::dispatch()` does not succeed.  The `dispatch()` method can be considered to not succeed if (depending on the version of the bundle) the callback defined on a topic route is misconfigured, a `Gos\\Bundle\\WebSocketBundle\\Topic\\TopicInterface` implementation is not found for the callback, a topic which also implements `Gos\\Bundle\\WebSocketBundle\\Topic\\SecuredTopicInterface` rejects the connection, or an Exception is unhandled.  This can result in an unintended broadcast to the websocket server potentially with data that should be considered sensitive.\n\n### Patches\nIn 1.10.4, 2.6.1, and 3.3.0, `Gos\\Bundle\\WebSocketBundle\\Server\\App\\Dispatcher\\TopicDispatcher::onPublish()` has been changed to no longer broadcast an event's data if `Gos\\Bundle\\WebSocketBundle\\Server\\App\\Dispatcher\\TopicDispatcher::dispatch()` fails.\n\n### Workarounds\nUpgrade to 1.10.4, 2.6.1, and 3.3.0\n\nNote, the 1.x branch is considered end of support as of July 1, 2020.\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [this repository](https://github.com/GeniusesOfSymfony/WebSocketBundle)","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":"Potentially sensitive data exposure in Symfony Web Socket Bundle","id":"GHSA-wwgf-3xp7-cxj4","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"information_disclosure","year":"2020"},"n_packages":6,"n_references":null,"packages":[{"ecosystem":"Packagist","fixed":["1.10.4"],"introduced":["0"],"last_affected":[],"package":"gos/web-socket-bundle","purl":null,"source":"GHSA-wwgf-3xp7-cxj4"},{"ecosystem":"Packagist","fixed":["1.10.4"],"introduced":["0"],"last_affected":[],"package":"gos/web-socket-bundle","purl":"pkg:composer/gos/web-socket-bundle","source":"GHSA-wwgf-3xp7-cxj4"},{"ecosystem":"Packagist","fixed":["2.6.1"],"introduced":["2.0.0"],"last_affected":[],"package":"gos/web-socket-bundle","purl":null,"source":"GHSA-wwgf-3xp7-cxj4"},{"ecosystem":"Packagist","fixed":["2.6.1"],"introduced":["2.0.0"],"last_affected":[],"package":"gos/web-socket-bundle","purl":"pkg:composer/gos/web-socket-bundle","source":"GHSA-wwgf-3xp7-cxj4"},{"ecosystem":"Packagist","fixed":["3.3.0"],"introduced":["3.0.0"],"last_affected":[],"package":"gos/web-socket-bundle","purl":null,"source":"GHSA-wwgf-3xp7-cxj4"},{"ecosystem":"Packagist","fixed":["3.3.0"],"introduced":["3.0.0"],"last_affected":[],"package":"gos/web-socket-bundle","purl":"pkg:composer/gos/web-socket-bundle","source":"GHSA-wwgf-3xp7-cxj4"}],"products":null,"published":"2020-07-07","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":"An attacker can receive sensitive data via unintended WebSocket broadcasts when topic dispatch fails due to misconfiguration or errors.","url":"https://insights.sbomify.com/GHSA-wwgf-3xp7-cxj4/"}