Vulnerability record
MONAI before 1.6.2 Code Execution via algo_from_json State Expressions
MONAI before 1.6.2 contains a code injection vulnerability in monai.auto3dseg.utils.algo_from_json(), which copies state.template_path from an algo JSON file into a ConfigParser that evaluates '$' expressions with eval(). Attackers can supply a crafted algo_object.json with a legitimate BundleAlgo target to bypass the Algo subclass check and execute arbitrary Python code when it is loaded.
8.5/CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitability
AV:LAC:LAT:NPR:NUI:PImpact
VC:HVI:HVA:HSC:NSI:NSA:NRemediation
No fixed version has been published for this vulnerability yet. Check the references below for vendor advisories, workarounds and mitigation guidance.
Sources