UBUNTU-CVE-2024-50636

Source
https://ubuntu.com/security/CVE-2024-50636
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-50636.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2024-50636
Related
  • CVE-2024-50636
Published
2024-11-11T23:15:00Z
Modified
2025-01-13T10:26:42Z
Summary
[none]
Details

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.

References

Affected packages

Ubuntu:Pro:16.04:LTS / pymol

Package

Name
pymol
Purl
pkg:deb/ubuntu/pymol@1.7.2.1-2.2?arch=source&distro=esm-apps/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.7.2.1-2
1.7.2.1-2.1
1.7.2.1-2.1build1
1.7.2.1-2.2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:18.04:LTS / pymol

Package

Name
pymol
Purl
pkg:deb/ubuntu/pymol@1.8.4.0+dfsg-1build1?arch=source&distro=esm-apps/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.8.4.0+dfsg-1build1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:20.04:LTS / pymol

Package

Name
pymol
Purl
pkg:deb/ubuntu/pymol@2.3.0+dfsg-1build1?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*

2.2.0+dfsg-4
2.2.0+dfsg-4build1
2.3.0+dfsg-1
2.3.0+dfsg-1build1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:22.04:LTS / pymol

Package

Name
pymol
Purl
pkg:deb/ubuntu/pymol@2.5.0+dfsg-1build1?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*

2.4.0+dfsg-3
2.4.0+dfsg-3build2
2.5.0+dfsg-1
2.5.0+dfsg-1build1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.10 / pymol

Package

Name
pymol
Purl
pkg:deb/ubuntu/pymol@3.0.0+dfsg-1?arch=source&distro=oracular

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*

2.5.0+dfsg-1build6

3.*

3.0.0+dfsg-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.04:LTS / pymol

Package

Name
pymol
Purl
pkg:deb/ubuntu/pymol@2.5.0+dfsg-1build6?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*

2.5.0+dfsg-1build3
2.5.0+dfsg-1build4
2.5.0+dfsg-1build5
2.5.0+dfsg-1build6

Ecosystem specific

{
    "ubuntu_priority": "medium"
}