# CVE-2023-2158: Impersonation through User-Controlled Token

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.62%, higher than 51% of CVEs (2026-12-01)
- Published: 2023-04-27T17:04:22.879Z
- Modified: 2026-06-17T05:51:52.990Z
- Weaknesses: CWE-321, CWE-798
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: SNPS

## Description

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

(As written by CVE List.)

## Affected

- Synopsys Code Dx: up to 2023.4.1
- synopsys code_dx: before 2023.4.2

## Every score

- CISA-ADP: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://community.synopsys.com/s/question/0D5Hr00006VdZblKAF/announcement-changelog-code-dx-202342> (release-notes, vendor-advisory)

## Sources

- CVE List: [CVE-2023-2158](https://www.cve.org/CVERecord?id=CVE-2023-2158), CVE Terms of Use, modified 2025-01-31
- NVD: [CVE-2023-2158](https://nvd.nist.gov/vuln/detail/CVE-2023-2158), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-2158 · Whole record: https://cve.day/CVE-2023-2158.json · Rebuilt by cve.day 2026-11-25T22:58:23.789Z
