Information Exposure Affecting gos/web-socket-bundle package, versions <1.10.4>=2.0.0, <2.6.1>=3.0.0, <3.3.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PHP-GOSWEBSOCKETBUNDLE-575401
  • published7 Jul 2020
  • disclosed7 Jul 2020
  • creditUnknown

Introduced: 7 Jul 2020

CVE NOT AVAILABLE CWE-200  (opens in a new tab)

How to fix?

Upgrade gos/web-socket-bundle to version 1.10.4, 2.6.1, 3.3.0 or higher.

Overview

gos/web-socket-bundle is a Symfony Web Socket Bundle.

Affected versions of this package are vulnerable to Information Exposure in Gos\Bundle\WebSocketBundle\Server\App\Dispatcher\TopicDispatcher::onPublish(). Messages are arbitrarily broadcasted to the related Topic if it 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.

CVSS Base Scores

version 3.1