Advisory Details

September 14th, 2022

(0Day) Ansys SpaceClaim X_B File Parsing Out-Of-Bounds Read Remote Code Execution Vulnerability

ZDI-22-1196
ZDI-CAN-17308

CVE ID CVE-2022-40640
CVSS SCORE 7.8, AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
AFFECTED VENDORS Ansys
AFFECTED PRODUCTS SpaceClaim
VULNERABILITY DETAILS

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Ansys SpaceClaim. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.

The specific flaw exists within the parsing of X_B files. The issue results from the lack of proper validation of user-supplied data, which can result in a read before the start of an allocated data structure. An attacker can leverage this vulnerability to execute code in the context of the current process.

ADDITIONAL DETAILS

Fixed in Ansys SpaceClaim 2023 R2.


DISCLOSURE TIMELINE
  • 2022-07-07 - Vulnerability reported to vendor
  • 2022-09-14 - Coordinated public release of advisory
  • 2023-09-07 - Advisory Updated
CREDIT Anonymous
BACK TO ADVISORIES