SecurityContext

CVE-2024-29189: PyAnsys Geometry - Remote Code Execution

  • Cve: CVE-2024-29189
  • Name: PyAnsys Geometry - Remote Code Execution
  • 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.
  • Impact: Attackers can execute arbitrary malicious operations on the affected machine, potentially leading to remote code execution or system compromise.
  • Remediation: Update to version 0.3.3 or 0.4.12 to fix the vulnerability.
  • Vulnerability type: command_injection
  • Vulnerability impact: remote_code_execution
  • Requirement type: user_interaction
  • Requirements: User needs to call the _start_program method
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.8
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00337
  • Epss percentile: 0.27549
  • Assignee: [email protected]
  • Published at: 2024-03-26T03:15:13Z
  • Age in days: 973
  • Modified at: 2026-06-17T07:22:35Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 7
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-29189
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-78Improper Neutralization of Special Elements used in an OS Command

Public exploits

UrlSourceAdded date
https://github.com/ansys/pyansys-geometry/security/advisories/GHSA-38jr-29fh-w9vmnvd2024-03-26

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/ansys/pyansys-geometry/blob/52cba1737a8a7812e5430099f715fa2160ec007b/src/ansys/geometry/core/connection/product_instance.py#L403-L428Patch
https://github.com/ansys/pyansys-geometry/commit/902071701c4f3a8258cbaa46c28dc0a65442d1bcPatch
https://github.com/ansys/pyansys-geometry/commit/f82346b9432b06532e84f3278125f5879b4e9f3fPatch
https://github.com/ansys/pyansys-geometry/security/advisories/GHSA-38jr-29fh-w9vmExploit, Vendor Advisory
https://github.com/ansys/pyansys-geometry/pull/1076Issue Tracking
https://github.com/ansys/pyansys-geometry/pull/1077Issue Tracking
https://bandit.readthedocs.io/en/1.7.8/plugins/b602_subprocess_popen_with_shell_equals_true.htmlTechnical Description

Products

ProductAffectedPlatform boundSourcesUrl
ansys:pyansys_geometry>= 0.4.0, < 0.4.12; >= 0.3.0, < 0.3.3nonvd/v1/products/ansys/pyansys_geometry

Projects

RepositoryLink kindsIndexedUrl
ansys/pyansys-geometrycommit, fix, package, pull, security_advisoryyes/v1/repositories/ansys/pyansys-geometry

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2024-03-26
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts