Skip to content
Heist/ feed
Back to feed
High

ansys-geometry-core OS Command Injection vulnerability

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-29189
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 15:52 UTC · Revision 1

Source evidence

ansys-geometry-core OS Command Injection vulnerability

core-osv · Original source

Published 26 Mar 2024, 02:50 UTC

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.

osv:CVE-2024-29189
Complete source record
{
  "id": "3ec851222777c11607e63b2784f93b4dc6573786341ef5f7921e51c6f7a057f2",
  "url": "https://osv.dev/vulnerability/CVE-2024-29189",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "ansys-geometry-core OS Command Injection vulnerability",
    "summary": "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.",
    "evidence": "osv:CVE-2024-29189",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2024-29189",
      "aliases": [
        "CVE-2024-29189",
        "GHSA-38jr-29fh-w9vm",
        "PYSEC-2026-1127"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/ansys/pyansys-geometry",
              "type": "GIT",
              "events": [
                {
                  "introduced": "3df28eac4dc03ba3ba6da5d1c33b9fe5d80cd3ee"
                },
                {
                  "fixed": "e3614a812bda246e46f47564241056429430d494"
                },
                {
                  "introduced": "1d73f96ad58946588a260969dcd360de12db7453"
                },
                {
                  "fixed": "a9c29d9d87656ec75778db94749f6359d2165d21"
                },
                {
                  "fixed": "902071701c4f3a8258cbaa46c28dc0a65442d1bc"
                },
                {
                  "fixed": "f82346b9432b06532e84f3278125f5879b4e9f3f"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:ansys:pyansys_geometry:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0.3.0"
                      },
                      {
                        "fixed": "0.3.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:ansys:pyansys_geometry:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0.4.0"
                      },
                      {
                        "fixed": "0.4.12"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "902071701c4f3a8258cbaa46c28dc0a65442d1bc"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "f82346b9432b06532e84f3278125f5879b4e9f3f"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v0.3.2",
            "v0.4.11",
            "v0.4.10",
            "v0.4.9",
            "v0.4.8",
            "v0.4.7",
            "v0.4.6",
            "v0.4.5",
            "v0.4.4",
            "v0.4.3",
            "v0.4.2",
            "v0.4.1",
            "v0.4.0",
            "v0.3.1",
            "v0.3.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-29189.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:30.182181759Z",
      "provider": "osv",
      "references": [
        "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/CVEProject/cvelistV5/tree/main/cves/2024/29xxx/CVE-2024-29189.json",
        "https://github.com/ansys/pyansys-geometry/security/advisories/GHSA-38jr-29fh-w9vm",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-29189",
        "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"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-78"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/29xxx/CVE-2024-29189.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-29189",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 497024,
  "published_at": "2024-03-26T02:50:34.984+00:00"
}