Vulnerability · Published Jun 20, 2024 · Assigned by mitre

CVE-2024-28397

Medium 5.3

In plain English

A medium-severity code injection in the js2py package (PyPI). Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 4.5% (higher than 92% of all known vulnerabilities). Ready-made attack tooling exists: Metasploit, Nuclei, public proof-of-concept code.

Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)4.5%top 8.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack tooling3Metasploit, Nuclei, Public PoC

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIjs2pyno fix listedGHSA-h95x-26f3-88hr
PyPIjs2pyno fix listedPYSEC-2026-1476
Ubuntu:24.04:LTSpython-cloudscraperno fix listedUBUNTU-CVE-2024-28397
Ubuntu:25.10python-cloudscraperno fix listedUBUNTU-CVE-2024-28397
Ubuntu:26.04:LTSpython-cloudscraperno fix listedUBUNTU-CVE-2024-28397
Ubuntu:26.10python-cloudscraperno fix listedUBUNTU-CVE-2024-28397

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-94 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

References