{ "CVE_data_meta": { "ASSIGNER": "security-advisories@github.com", "ID": "CVE-2022-31013", "STATE": "PUBLIC", "TITLE": "Authentication bypass in Vartalap chat-server" }, "affects": { "vendor": { "vendor_data": [ { "product": { "product_data": [ { "product_name": "chat-server", "version": { "version_data": [ { "version_value": ">= 2.3.2, < 2.6.0" } ] } } ] }, "vendor_name": "ramank775" } ] } }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "eng", "value": "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." } ] }, "impact": { "cvss": { "attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "NONE", "baseScore": 9.1, "baseSeverity": "CRITICAL", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "NONE", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N", "version": "3.1" } }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "CWE-287: Improper Authentication" } ] } ] }, "references": { "reference_data": [ { "name": "https://github.com/ramank775/chat-server/security/advisories/GHSA-xx4j-qqpp-v277", "refsource": "CONFIRM", "url": "https://github.com/ramank775/chat-server/security/advisories/GHSA-xx4j-qqpp-v277" }, { "name": "https://github.com/ramank775/chat-server/discussions/78", "refsource": "MISC", "url": "https://github.com/ramank775/chat-server/discussions/78" }, { "name": "https://github.com/ramank775/chat-server/releases/tag/v2.6.0", "refsource": "MISC", "url": "https://github.com/ramank775/chat-server/releases/tag/v2.6.0" } ] }, "source": { "advisory": "GHSA-xx4j-qqpp-v277", "discovery": "UNKNOWN" } }