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.
References
Link | Resource |
---|---|
https://github.com/ramank775/chat-server/discussions/78 | Issue Tracking Third Party Advisory |
https://github.com/ramank775/chat-server/security/advisories/GHSA-xx4j-qqpp-v277 | Patch Third Party Advisory |
https://github.com/ramank775/chat-server/releases/tag/v2.6.0 | Release Notes Third Party Advisory |
Configurations
Information
Published : 2022-05-31 16:15
Updated : 2022-06-14 15:33
NVD link : CVE-2022-31013
Mitre link : CVE-2022-31013
JSON object : View
CWE
CWE-20
Improper Input Validation
Products Affected
chat_server_project
- chat_server