CVE-2024-29189 ansys-geometry-core OS Command Injection vulnerability
HighCVSS 7.8
EPSS 0.34%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
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.
Upgrade path
3 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| Ansys pyansys geometry | >= 0.3.0, < 0.3.3; >= 0.4.0, < 0.4.12 | 0.3.3, 0.4.12 | Fixed |
| Ansys pyansys-geometry | = >= 0.3.0, < 0.3.3; = >= 0.4.0, < 0.4.12; >= 0.3.0, < 0.3.3; >= 0.4.0, < 0.4.12 | 0.3.3, 0.4.12 | Fixed |
| pypi ansys-geometry-core(PyPI) | = 0.3.0; = 0.3.1; = 0.3.2; = 0.4.0 +13 more | 0.3.3, 0.4.12 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi ansys-geometry-core(PyPI) | >= 0.3.0, < 0.3.3 | 0.3.3 |
| pypi ansys-geometry-core(PyPI) | = 0.3.0 | No fix listed |
| pypi ansys-geometry-core(PyPI) | = 0.3.1 | No fix listed |
| pypi ansys-geometry-core(PyPI) | = 0.3.2 | No fix listed |
| pypi ansys-geometry-core(PyPI) | >= 0.4.0, < 0.4.12 | 0.4.12 |
| pypi ansys-geometry-core(PyPI) | = 0.4.0 | No fix listed |
| pypi ansys-geometry-core(PyPI) | = 0.4.1 | No fix listed |
| pypi ansys-geometry-core(PyPI) | = 0.4.10 | No fix listed |
| pypi ansys-geometry-core(PyPI) | = 0.4.11 | No fix listed |
| pypi ansys-geometry-core(PyPI) | = 0.4.2 | No fix listed |
| pypi ansys-geometry-core(PyPI) | = 0.4.3 | No fix listed |
| pypi ansys-geometry-core(PyPI) | = 0.4.4 | No fix listed |
| pypi ansys-geometry-core(PyPI) | = 0.4.5 | No fix listed |
| pypi ansys-geometry-core(PyPI) | = 0.4.6 | No fix listed |
| pypi ansys-geometry-core(PyPI) | = 0.4.7 | No fix listed |
| pypi ansys-geometry-core(PyPI) | = 0.4.8 | No fix listed |
| pypi ansys-geometry-core(PyPI) | = 0.4.9 | No fix listed |
| Ansys pyansys-geometry | = >= 0.3.0, < 0.3.3 | No fix listed |
| Ansys pyansys-geometry | = >= 0.4.0, < 0.4.12 | No fix listed |
| Ansys pyansys-geometry | >= 0.3.0, < 0.3.3 | 0.3.3 |
| Ansys pyansys-geometry | >= 0.4.0, < 0.4.12 | 0.4.12 |
| Ansys pyansys geometry | >= 0.3.0, < 0.3.3 | 0.3.3 |
| Ansys pyansys geometry | >= 0.4.0, < 0.4.12 | 0.4.12 |
References
- https://github.com/ansys/pyansys-geometry/security/advisories/GHSA-38jr-29fh-w9vm exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/ansys/pyansys-geometry/pull/1076 issue-tracking patch
- https://github.com/ansys/pyansys-geometry/pull/1077 issue-tracking patch
- https://github.com/ansys/pyansys-geometry/commit/902071701c4f3a8258cbaa46c28dc0a65442d1bc patch
- https://github.com/ansys/pyansys-geometry/commit/f82346b9432b06532e84f3278125f5879b4e9f3f patch
- https://bandit.readthedocs.io/en/1.7.8/plugins/b602_subprocess_popen_with_shell_equals_true.html technical-description
- github.com product
- https://github.com/ansys/pyansys-geometry/blob/52cba1737a8a7812e5430099f715fa2160ec007b/src/ansys/geometry/core/connection/product_instance.py#L403-L428 patch
- pypi.org product
- github.com vendor-advisory