CVE-2022-31013
Versions 2.3.2 until 2.6.0 suffer from a bug in validating the access token, resulting in authentication bypass.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (1.44%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
Chat Server is the chat server for Vartalap, an open-source messaging application. Versions 2.3.2 until 2.6.0 suffer from a bug in validating the access token, resulting in authentication bypass. The function `this.authProvider.verifyAccessKey` is an async function, as the code is not using `await` to wait for the verification result. Every time the function responds back with success, along with an unhandled exception if the token is invalid. A patch is available in version 2.6.0.
- CVSS 3.1
- 9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 1.44% probability · 72th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-287, CWE-20
- Affected
- chat server project/chat server
- Source
- security-advisories@github.com
References
- https://github.com/ramank775/chat-server/discussions/78Issue Tracking, Third Party Advisory
- https://github.com/ramank775/chat-server/releases/tag/v2.6.0Release Notes, Third Party Advisory
- https://github.com/ramank775/chat-server/security/advisories/GHSA-xx4j-qqpp-v277Patch, Third Party Advisory
- https://github.com/ramank775/chat-server/discussions/78Issue Tracking, Third Party Advisory
- https://github.com/ramank775/chat-server/releases/tag/v2.6.0Release Notes, Third Party Advisory
- https://github.com/ramank775/chat-server/security/advisories/GHSA-xx4j-qqpp-v277Patch, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.