CVE-2024-29189
published high CVSS 3.1 · 7.4ansys-geometry-core OS Command Injection vulnerability
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| ansys | — | pyansys-geometry>= 0.3.0, < 0.3.3 · >= 0.4.0, < 0.4.12 | Affected | Not stated | GitHub_M |
| ansys | — | pyansys-geometry0.3.0 to < 0.3.3 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| ansys | — | pyansys-geometry0.4.0 to < 0.4.12 · Other versions: unknown | Affected | Not stated | CISA-ADP |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.4 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| ansys | pyansys-geometry | >= 0.3.0, < 0.3.3 (affected)>= 0.4.0, < 0.4.12 (affected) | GitHub_M · cna |
| ansys | pyansys-geometry | 0.3.0 to < 0.3.3 (affected · custom)Default: unknown | CISA-ADP · adp |
| ansys | pyansys-geometry | 0.4.0 to < 0.4.12 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-78 CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
References
7- https://bandit.readthedocs.io/en/1.7.8/plugins/b602_subprocess_popen_with_shell_equals_true.html
- https://github.com/ansys/pyansys-geometry/blob/52cba1737a8a7812e5430099f715fa2160ec007b/src/ansys/geometry/core/connection/product_instance.py#L403-L428
- https://github.com/ansys/pyansys-geometry/commit/902071701c4f3a8258cbaa46c28dc0a65442d1bc
- https://github.com/ansys/pyansys-geometry/commit/f82346b9432b06532e84f3278125f5879b4e9f3f
- https://github.com/ansys/pyansys-geometry/pull/1076
- https://github.com/ansys/pyansys-geometry/pull/1077
- https://github.com/ansys/pyansys-geometry/security/advisories/GHSA-38jr-29fh-w9vm
Provider assertions
3GitHub_M · cna
ansys-geometry-core OS Command Injection vulnerability
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- dc28493d96f0268c56e04ea017cec903ea8dd5597530852363b764d2126344d6
- Ingested
- 23 Sep 2026, 08:21:14 UTC
- Source record
- Official CVE record