CVE-2023-22477
MEDIUM5.3EPSS 0.25%mercurius has Uncaught Exception when using subscriptions
發布日:2023/1/9修改日:2023/11/8
描述
### Impact Any users of Mercurius until version v11.5.0 are subjected to a denial of service attack by sending a malformed packet over WebSocket to `/graphql`. ### Patches This was patched in https://github.com/mercurius-js/mercurius/pull/940. The patch was released as v11.5.0 and v8.13.2. ### Workarounds Disable subscriptions. ### References Reported publicly as https://github.com/mercurius-js/mercurius/issues/939. The same problem was solved in https://github.com/fastify/fastify-websocket/pull/228
受影響套件(1)
- npm/mercurius>= 9.0.0, < 11.5.0
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
參考連結(6)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2023-22477
- PATCHhttps://github.com/mercurius-js/mercurius
- WEBhttps://github.com/fastify/fastify-websocket/pull/228
- WEBhttps://github.com/mercurius-js/mercurius/issues/939
- WEBhttps://github.com/mercurius-js/mercurius/pull/940
- WEBhttps://github.com/mercurius-js/mercurius/security/advisories/GHSA-cm8h-q92v-xcfc