Vulnerability Details : 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.
Vulnerability category: Input validationBypassGain privilege
Products affected by CVE-2022-31013
- cpe:2.3:a:chat_server_project:chat_server:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2022-31013
0.19%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 57 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-31013
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | AV:N/AC:L/Au:N/C:P/I:P/A:P |
10.0
|
6.4
|
NIST | |
9.8
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
3.9
|
5.9
|
NIST | |
9.1
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
3.9
|
5.2
|
GitHub, Inc. |
CWE ids for CVE-2022-31013
-
The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.Assigned by: nvd@nist.gov (Primary)
-
When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.Assigned by: security-advisories@github.com (Secondary)
References for CVE-2022-31013
-
https://github.com/ramank775/chat-server/discussions/78
Authentication security vulnerability · Discussion #78 · ramank775/chat-server · GitHubIssue Tracking;Third Party Advisory
-
https://github.com/ramank775/chat-server/releases/tag/v2.6.0
Release v2.6.0 · ramank775/chat-server · GitHubRelease Notes;Third Party Advisory
-
https://github.com/ramank775/chat-server/security/advisories/GHSA-xx4j-qqpp-v277
Authentication bypass · Advisory · ramank775/chat-server · GitHubPatch;Third Party Advisory
Jump to