ghsa-mcrp-whpw-jp68
Vulnerability from github
Published
2025-03-21 15:32
Modified
2025-03-21 15:32
Severity ?
Summary
InvokeAI Deserialization of Untrusted Data vulnerability
Details
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.
{ affected: [ { package: { ecosystem: "PyPI", name: "InvokeAI", }, ranges: [ { events: [ { introduced: "5.3.1", }, { fixed: "5.4.3rc1", }, ], type: "ECOSYSTEM", }, ], }, ], aliases: [ "CVE-2024-12029", ], database_specific: { cwe_ids: [ "CWE-502", ], github_reviewed: true, github_reviewed_at: "2025-03-21T15:32:15Z", nvd_published_at: "2025-03-20T10:15:26Z", severity: "CRITICAL", }, details: "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.", id: "GHSA-mcrp-whpw-jp68", modified: "2025-03-21T15:32:15Z", published: "2025-03-21T15:32:15Z", references: [ { type: "ADVISORY", url: "https://nvd.nist.gov/vuln/detail/CVE-2024-12029", }, { type: "WEB", url: "https://github.com/invoke-ai/invokeai/commit/756008dc5899081c5aa51e5bd8f24c1b3975a59e", }, { type: "PACKAGE", url: "https://github.com/invoke-ai/InvokeAI", }, { type: "WEB", url: "https://github.com/pypa/advisory-database/tree/main/vulns/invokeai/PYSEC-2025-9.yaml", }, { type: "WEB", url: "https://huntr.com/bounties/9b790f94-1b1b-4071-bc27-78445d1a87a3", }, ], schema_version: "1.4.0", severity: [ { score: "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", type: "CVSS_V3", }, ], summary: "InvokeAI Deserialization of Untrusted Data vulnerability", }
Log in or create an account to share your comment.
Security Advisory comment format.
This schema specifies the format of a comment related to a security advisory.
Title of the comment
Description of the comment
Loading…
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.