CVE-2024-28397: js2py - Remote Code Execution
- Cve: CVE-2024-28397
- Name: js2py - Remote Code Execution
- Description: An issue in the component js2py.disable_pyimport() of js2py up to v0.74 allows attackers to execute arbitrary code via a crafted API call.
- Impact: Attackers can execute arbitrary code on the server, leading to full system compromise.
- Remediation: Update js2py to the latest version where the issue is fixed.
- Vulnerability type: insecure_deserialization
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.3
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
- Epss score: 0.04815
- Epss percentile: 0.92189
- Assignee: [email protected]
- Published at: 2024-06-20T17:15:50Z
- Age in days: 887
- Modified at: 2026-06-17T07:21:24Z
- Public exploits total: 17
- References total: 3
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-28397
- Nvd status: deferred
- Checked, none or zero: patch available, known exploited entries, public exploits capped, products total, products, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-94 | Improper Control of Generation of Code |
Nuclei templates
| Id | Url |
|---|---|
| CVE-2024-28397 | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-28397.yaml |
Public exploits
Same in every row:
- Source: poc-in-github
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-28397.yaml | nuclei_template | Nuclei Template |
| https://github.com/Marven11 | nvd | |
| https://github.com/Marven11/CVE-2024-28397-js2py-Sandbox-Escape | nvd |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| PiotrDabkowski/Js2Py | package, pull | yes | /v1/repositories/PiotrDabkowski/Js2Py |
Index
- Repositories: 5
- Repositories high signal: 4
- Packages: 1
Exploitation
- Exploitation seen: yes
- Public exploit: yes
- Public exploit count: 17
- Public exploit first date: 2024-06-19
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, initial access since, hackerone reports, exposed hosts