CVE-2022-31013

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:chat_server_project:chat_server:*:*:*:*:*:*:*:*

History

14 Jun 2022, 22:33

Type Values Removed Values Added
CWE CWE-287 CWE-20
CPE cpe:2.3:a:chat_server_project:chat_server:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : 7.5
v3 : 9.8
References (MISC) https://github.com/ramank775/chat-server/discussions/78 - (MISC) https://github.com/ramank775/chat-server/discussions/78 - Issue Tracking, Third Party Advisory
References (MISC) https://github.com/ramank775/chat-server/releases/tag/v2.6.0 - (MISC) https://github.com/ramank775/chat-server/releases/tag/v2.6.0 - Release Notes, Third Party Advisory
References (CONFIRM) https://github.com/ramank775/chat-server/security/advisories/GHSA-xx4j-qqpp-v277 - (CONFIRM) https://github.com/ramank775/chat-server/security/advisories/GHSA-xx4j-qqpp-v277 - Patch, Third Party Advisory

31 May 2022, 23:15

Type Values Removed Values Added
New CVE

Information

Published : 2022-05-31 23:15

Updated : 2024-02-04 22:29


NVD link : CVE-2022-31013

Mitre link : CVE-2022-31013

CVE.ORG link : CVE-2022-31013


JSON object : View

Products Affected

chat_server_project

  • chat_server
CWE
CWE-20

Improper Input Validation

CWE-287

Improper Authentication