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

21 Nov 2024, 07:03

Type Values Removed Values Added
References () https://github.com/ramank775/chat-server/discussions/78 - Issue Tracking, Third Party Advisory () https://github.com/ramank775/chat-server/discussions/78 - Issue Tracking, Third Party Advisory
References () https://github.com/ramank775/chat-server/releases/tag/v2.6.0 - Release Notes, Third Party Advisory () https://github.com/ramank775/chat-server/releases/tag/v2.6.0 - Release Notes, Third Party Advisory
References () https://github.com/ramank775/chat-server/security/advisories/GHSA-xx4j-qqpp-v277 - Patch, Third Party Advisory () https://github.com/ramank775/chat-server/security/advisories/GHSA-xx4j-qqpp-v277 - Patch, Third Party Advisory
CVSS v2 : 7.5
v3 : 9.8
v2 : 7.5
v3 : 9.1

Information

Published : 2022-05-31 23:15

Updated : 2024-11-21 07:03


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-287

Improper Authentication

CWE-20

Improper Input Validation