CVE-2022-31013

Severity CVSS v4.0:
Pending analysis
Type:
CWE-20 Input Validation
Publication date:
31/05/2022
Last modified:
14/06/2022

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:chat_server_project:chat_server:*:*:*:*:*:*:*:* 2.3.2 (including) 2.6.0 (excluding)