Bug 2293524 (CVE-2024-28397)

Summary: CVE-2024-28397 js2py: command injection via a crafted API call
Product: [Other] Security Response Reporter: Robb Gatica <rgatica>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: kaycoth
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in Js2Py. In certain circumstances, an attacker can obtain a reference to a Python object in the js2py environment via js2py.disable_pyimport(), allowing the attacker to escape the JavaScript environment and execute arbitrary commands on the host.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2293526    

Description Robb Gatica 2024-06-21 00:34:45 UTC
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.

References:
https://github.com/advisories/GHSA-h95x-26f3-88hr
https://github.com/Marven11/CVE-2024-28397-js2py-Sandbox-Escape