Potentially sensitive data exposure in Symfony Web Socket Bundle
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from GitHub. Impact type from CWE-200.
Summary
### Impact Inside `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. ### Patches In 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. ### Workarounds Upgrade to 1.10.4, 2.6.1, and 3.3.0 Note, the 1.x branch is considered end of support as of July 1, 2020. ### For more information If you have any questions or comments about this advisory: * Open an issue in [this repository](https://github.com/GeniusesOfSymfony/WebSocketBundle)
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | gos/web-socket-bundle (Packagist) | before 1.10.4 | 1.10.4 | Patch available | GHSA-wwgf-3xp7-cxj4 |
| — | gos/web-socket-bundle (Packagist) | 2.0.0 to before 2.6.1 | 2.6.1 | Patch available | GHSA-wwgf-3xp7-cxj4 |
| — | gos/web-socket-bundle (Packagist) | 3.0.0 to before 3.3.0 | 3.3.0 | Patch available | GHSA-wwgf-3xp7-cxj4 |
- gos/web-socket-bundle (Packagist) Vendor— Affected before 1.10.4 Fixed in 1.10.4 Patch available GHSA-wwgf-3xp7-cxj4
- gos/web-socket-bundle (Packagist) Vendor— Affected 2.0.0 to before 2.6.1 Fixed in 2.6.1 Patch available GHSA-wwgf-3xp7-cxj4
- gos/web-socket-bundle (Packagist) Vendor— Affected 3.0.0 to before 3.3.0 Fixed in 3.3.0 Patch available GHSA-wwgf-3xp7-cxj4
Remediation
- Fix · GHSA-wwgf-3xp7-cxj4 gos/web-socket-bundle (Packagist) Fixed in 1.10.4 Advisory →
- Fix · GHSA-wwgf-3xp7-cxj4 gos/web-socket-bundle (Packagist) Fixed in 2.6.1 Advisory →
- Fix · GHSA-wwgf-3xp7-cxj4 gos/web-socket-bundle (Packagist) Fixed in 3.3.0 Advisory →
Timeline
- 2026-10-03 Threatist record created from GHSA-wwgf-3xp7-cxj4
References
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences