CVE-2024-29189
HIGH 7.8CVSS 3.1ansys-geometry-core OS Command Injection vulnerability
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.
- Published
- 26 Mar 2024
- Last modified
- 7 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-78
- Also known as
- GHSA-38jr-29fh-w9vmPYSEC-2026-1127
- Sources
- NVDJSONOSV GHSA-38jr-29fh-w9vmJSONOSV PYSEC-2026-1127JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.4 | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.4 | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | PyPA | CVSS 3.1 | HIGH 7.4 | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | ansys | pyansys_geometrycpe:2.3:a:ansys:pyansys_geometry:*:*:*:*:*:*:*:* |
>= 0.3.0, < 0.3.3 | 0.3.3 |
| NVD | ansys | pyansys_geometrycpe:2.3:a:ansys:pyansys_geometry:*:*:*:*:*:*:*:* |
>= 0.4.0, < 0.4.12 | 0.4.12 |
| OSV | PyPI | ansys-geometry-core | >= 0.3.0, < 0.3.3 | 0.3.3 |
| OSV | PyPI | ansys-geometry-core | >= 0.4.0, < 0.4.12 | 0.4.12 |
| OSV | PyPI | ansys-geometry-core | >= 0.3.0, < 0.3.3; >= 0.4.0, < 0.4.12 | 0.3.3, 0.4.12 |
References
- https://bandit.readthedocs.io/en/1.7.8/plugins/b602_subprocess_popen_with_shell_equals_true.html · Technical Description, WEB
- https://github.com/ansys/pyansys-geometry/blob/52cba1737a8a7812e5430099f715fa2160ec007b/src/ansys/geometry/core/connection/product_instance.py#L403-L428 · Patch, WEB
- https://github.com/ansys/pyansys-geometry/commit/902071701c4f3a8258cbaa46c28dc0a65442d1bc · Patch, WEB
- https://github.com/ansys/pyansys-geometry/commit/f82346b9432b06532e84f3278125f5879b4e9f3f · Patch, WEB
- https://github.com/ansys/pyansys-geometry/pull/1076 · Issue Tracking, WEB
- https://github.com/ansys/pyansys-geometry/pull/1077 · Issue Tracking, WEB
- https://github.com/ansys/pyansys-geometry/security/advisories/GHSA-38jr-29fh-w9vm · Exploit, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-29189 · ADVISORY
- https://github.com/ansys/pyansys-geometry · PACKAGE
- https://pypi.org/project/ansys-geometry-core · PACKAGE
- https://github.com/advisories/GHSA-38jr-29fh-w9vm · ADVISORY
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 26 Mar 2024)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 25 Mar 2024)