{"id":"CVE-2022-31013","published":"2022-05-31T22:35:11Z","modified":"2025-04-23T18:20:50Z","title":"Authentication bypass in Vartalap chat-server","vendor":"ramank775","product":"chat-server","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01502,"percentile":0.74935,"provenance":"source"},"cwes":[{"id":"CWE-287","name":"Improper Authentication"}],"references":[{"url":"https://github.com/ramank775/chat-server/security/advisories/GHSA-xx4j-qqpp-v277","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/ramank775/chat-server/discussions/78","tags":["x_refsource_MISC"]},{"url":"https://github.com/ramank775/chat-server/releases/tag/v2.6.0","tags":["x_refsource_MISC"]}],"priority":{"score":21.4,"factors":[{"name":"EPSS percentile","points":14.99},{"name":"CVSS severity","points":6.37}]},"vendorSlug":"ramank775","affectedVersions":[{"vendor":"ramank775","product":"chat-server","versions":[">= 2.3.2, < 2.6.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2025-04-23T15:49:27.259379Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2022-52716","exploited":false,"provenance":"source"}}