Description
PyAnsys Geometry is a Python client library for the Ansys Geometry service and other CAD Ansys products. On file src/ansys/geometry/core/connection/product_instance.py, upon calling this method _start_program directly, users could exploit its usage to perform malicious operations on the current machine where the script is ran. This vulnerability is fixed in 0.3.3 and 0.4.12.
References (7)
Core 7
Core References
Exploit, Vendor Advisory x_refsource_confirm
https://github.com/ansys/pyansys-geometry/security/advisories/GHSA-38jr-29fh-w9vm
Issue Tracking x_refsource_misc
https://github.com/ansys/pyansys-geometry/pull/1076
Issue Tracking x_refsource_misc
https://github.com/ansys/pyansys-geometry/pull/1077
Patch x_refsource_misc
https://github.com/ansys/pyansys-geometry/commit/902071701c4f3a8258cbaa46c28dc0a65442d1bc
Patch x_refsource_misc
https://github.com/ansys/pyansys-geometry/commit/f82346b9432b06532e84f3278125f5879b4e9f3f
Technical Description x_refsource_misc
https://bandit.readthedocs.io/en/1.7.8/plugins/b602_subprocess_popen_with_shell_equals_true.html
Scores
CVSS v3
7.4
EPSS
0.0012
EPSS Percentile
30.1%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
no
Technical Impact
total
Details
CWE
CWE-78
Status
published
Products (2)
ansys/pyansys_geometry
0.3.0 - 0.3.3
pypi/ansys-geometry-core
0.3.0 - 0.3.3PyPI
Published
Mar 26, 2024
Tracked Since
Feb 18, 2026