Skip to content
Fencer Intel
medium 5.3

CVE-2024-28397 json

js2py allows remote code execution

published 2y ago modified 2mo ago also GHSA-h95x-26f3-88hr , PYSEC-2026-1476 , EUVD-2024-2066

cvss
5.3
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
4.8%
EPSS 4.8% chance of exploitation in 30 days, percentile 92%
public exploits
2
Metasploit and Exploit-DB

Summary

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.

Patch / fix

  • python-Js2Py openSUSE Leap 15.6 0.74-150400.9.6.1

suse advisories SUSE-SU-2024:2272-1

  • python-Js2Py openSUSE Tumbleweed 0.74-6.1
  • python-Js2Py openSUSE Tumbleweed 0.74-3.1

opensuse advisories openSUSE-SU-2026:11322-1openSUSE-SU-2024:14086-1

Is CVE-2024-28397 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2024-28397 updated cvss 8.8

js2py: command injection via a crafted API call

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Timeline

  1. Published
  2. First public exploit (Metasploit exploit/linux/http/pyload_js2py_cve_2024_39205)

CISA SSVC

Exploitation
Proof of concept is public
Automatable
no
Technical impact
partial
Assessed
2y ago

Exploit prediction

4.82% chance of exploitation in the next 30 days, higher than 92% of all scored CVEs (FIRST EPSS, 2026-11-11).

Exploits and checks

CVSS scores

assigned by version score vector
CISA ADP 3.1 5.3 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
CNA 3.1 5.3 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
OSV 3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
GitHub 3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
pypi js2py
<=0.74
no fix listed

Affected products

  • js2py js2py_disable_pyimport

Classification

Weakness
  • CWE-94 Improper Control of Generation of Code

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.