{"id":"CVE-2023-2158","aliases":["CVE-2023-2158"],"related":[],"kind":"vulnerability","state":"published","title":"Impersonation through User-Controlled Token","summary":"Code Dx versions prior to 2023.4.2 are vulnerable to user impersonation attack where a malicious actor is able to gain access to another user's account by crafting a custom \"Remember Me\" token. This is possible due to the use of a hard-coded cipher which was used when generating the token. A malicious actor who creates this token can supply it to a separate Code Dx system, provided they know the username they want to impersonate, and impersonate the user.  Score 6.7 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N/E:P/RL:O/RC:C","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Code Dx versions prior to 2023.4.2 are vulnerable to user impersonation attack where a malicious actor is able to gain access to another user's account by crafting a custom \"Remember Me\" token. This is possible due to the use of a hard-coded cipher which was used when generating the token. A malicious actor who creates this token can supply it to a separate Code Dx system, provided they know the username they want to impersonate, and impersonate the user.  Score 6.7 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N/E:P/RL:O/RC:C","source":"cvelist"}],"published":"2023-04-27T17:04:22.879Z","modified":"2026-06-17T05:51:52.990Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-321","CWE-798"],"affected":[{"ranges":[{"type":"custom","introduced":"0","lastAffected":"2023.4.1","status":"affected"}],"vendor":"Synopsys","product":"Code Dx","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"2023.4.2"}],"vendor":"synopsys","product":"code_dx","cpe":"cpe:2.3:a:synopsys:code_dx:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://community.synopsys.com/s/question/0D5Hr00006VdZblKAF/announcement-changelog-code-dx-202342","tags":["release-notes","vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"SNPS","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2025-01-31T18:16:43.307Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-2158","url":"https://www.cve.org/CVERecord?id=CVE-2023-2158","licence":"CVE Terms of Use","modified":"2025-01-31T18:16:46.890Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-2158","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-2158","licence":"Public domain","modified":"2026-06-17T05:51:52.990Z"}],"updatedAt":"2026-11-25T22:58:23.789Z","epss":{"score":0.00621,"percentile":0.5111,"date":"2026-12-01T12:00:22.000Z"}}