CVE-2023-0297:
Code Injection in pyload-ng
9.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.99871%
CWE
Published
1/14/2023
Updated
6/16/2023
KEV Status
No
Technology
Python
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
pyload-ng | pip | < 0.5.0b3.dev31 | 0.5.0b3.dev31 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The key evidence comes from the patch commit which adds 'js2py.disable_pyimport()'
in misc.py
. This indicates the vulnerability stemmed from js2py
's ability to execute Python code via JavaScript evaluation. The CVE description and external references confirm this was exploitable for RCE through crafted JS inputs. While the exact consumer function isn't shown, the core vulnerability exists in how js2py
was initialized at the module level before the patch.