CVE-2022-31013 CRITICAL

CVE-2022-31013: Authentication bypass in Vartalap chat-server

Vendor Ramank775
Product chat-server
Weakness CWE-287 · Improper authentication
Published May 31, 2022
Last update April 23, 2025

CVSS base score

9.1/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality High
Integrity High

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

May 31, 2022 CVE published
April 23, 2025 Record updated