{"id":"CVE-2022-2306","published":"2022-07-05T08:30:11Z","modified":"2024-08-03T00:32:09Z","title":"Insufficient Session Expiration in heroiclabs/nakama","vendor":"heroiclabs","product":"heroiclabs/nakama","tier":"tail","description":{"text":"Old session tokens can be used to authenticate to the application and send authenticated requests.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.2,"severity":"HIGH","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00881,"percentile":0.59885,"provenance":"source"},"cwes":[{"id":"CWE-613","name":"DEPRECATED: Insufficient Session Expiration"}],"references":[{"url":"https://huntr.dev/bounties/35acf263-6db4-4310-ab27-4c3c3a53f796","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/heroiclabs/nakama/commit/ce8d3921e2acd44ef8b5e6edfe595b6df067b166","tags":["x_refsource_MISC"]}],"priority":{"score":17.7,"factors":[{"name":"EPSS percentile","points":11.98},{"name":"CVSS severity","points":5.74}]},"vendorSlug":"heroiclabs","affectedVersions":[{"vendor":"heroiclabs","product":"heroiclabs/nakama","versions":[">= unspecified, < 3.13.0"]}],"affected":[{"ecosystem":"Go","package":"github.com/heroiclabs/nakama","vulnerableRanges":["<=3.12.0"],"patched":[],"from":["GHSA-xv59-gc3r-rf92"],"provenance":"source"}],"euvd":{"id":"EUVD-2022-6454","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-heroiclabs-nakama-cve-2022-2306","children":[{"from":"CVE-2022-2306","to":"CVE-2022-2321","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["main.go","server/console.go","server/console_authenticate.go"],"commits":["https://github.com/heroiclabs/nakama/commit/ce8d3921e2acd44ef8b5e6edfe595b6df067b166","https://github.com/heroiclabs/nakama/commit/e2e02fce80ff33ce45f8a6ebc0b7a99ee0b03824"],"basis":"shared function","functions":["Authenticate","StartConsoleServer","main","parseConsoleToken"]}]}]}}