invokeai
Affected
- introduced
5.3.1, fixed5.4.3rc1(ecosystem)
Fixed versions
5.4.3rc1
Fix
- Fixed version
5.4.3rc1pip install --upgrade invokeai==5.4.3rc1
Advisory
Also known as: CVE-2024-12029, GHSA-mcrp-whpw-jp68
The record has no summary.
A remote code execution vulnerability exists in invoke-ai/invokeai versions 5.3.1 through 5.4.2 via the /api/v2/models/install API. The vulnerability arises from unsafe deserialization of model files using torch.load without proper validation. Attackers can exploit this by embedding malicious code in model files, which is executed upon loading. This issue is fixed in version 5.4.3.
Not rated by the source.
5.3.1, fixed 5.4.3rc1 (ecosystem)5.4.3rc1
5.4.3rc1pip install --upgrade invokeai==5.4.3rc1Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: PyPA Advisory Database · CC BY 4.0