CVE-2024-50636 Code injection in n/a
Attackers can execute arbitrary Python code via malicious .PYM files in PyMOL, leading to remote command execution on the user's system.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-50636?
CVE-2024-50636 is a critical code injection vulnerability in n/a, published on 11 Nov 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
PyMOL 2.5.0 contains a vulnerability in its "Run Script" function, which allows the execution of arbitrary Python code embedded within .PYM files. Attackers can craft a malicious .PYM file containing a Python reverse shell payload and exploit the function to achieve Remote Command Execution (RCE). This vulnerability arises because PyMOL treats .PYM files as Python scripts without properly validating or restricting the commands within the script, enabling attackers to run unauthorized commands in the context of the user running the application.
Weakness: CWE-94
Which versions are affected by CVE-2024-50636?
How do I fix CVE-2024-50636?
No fix has been published for CVE-2024-50636 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2024-50636 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-50636 exists.
Sources
Also known as GHSA-wq8w-m2g8-mv57, UBUNTU-CVE-2024-50636.