ghsa-xw5q-g62x-2qjc
Vulnerability from github
Published
2025-06-30 17:54
Modified
2025-07-01 13:13
Severity ?
Summary
electron ASAR Integrity bypass by just modifying the content
Details
electron's ASAR Integrity can be bypass by modifying the content.
Impact
This only impacts apps that have the embeddedAsarIntegrityValidation
and onlyLoadAppFromAsar
fuses enabled. Apps without these fuses enabled are not impacted. This issue is specific to Windows, apps using these fuses on macOS are unimpacted.
Specifically this issue can only be exploited if your app is launched from a filesystem the attacker has write access too. i.e. the ability to edit files inside the .app bundle on macOS which these fuses are supposed to protect against.
Workarounds
There are no app side workarounds, you must update to a patched version of Electron.
Fixed Versions
30.0.5
31.0.0-beta.1
For more information
If you have any questions or comments about this advisory, email us at security@electronjs.org
{ "affected": [ { "package": { "ecosystem": "npm", "name": "electron" }, "ranges": [ { "events": [ { "introduced": "30.0.0-alpha.1" }, { "fixed": "30.0.5" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "npm", "name": "electron" }, "ranges": [ { "events": [ { "introduced": "31.0.0-alpha.1" }, { "fixed": "31.0.0-beta.1" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2024-46992" ], "database_specific": { "cwe_ids": [ "CWE-354" ], "github_reviewed": true, "github_reviewed_at": "2025-06-30T17:54:11Z", "nvd_published_at": "2025-07-01T02:15:20Z", "severity": "HIGH" }, "details": "electron\u0027s ASAR Integrity can be bypass by modifying the content.\n\n### Impact\nThis only impacts apps that have the `embeddedAsarIntegrityValidation` and `onlyLoadAppFromAsar` [fuses](https://www.electronjs.org/docs/latest/tutorial/fuses) enabled. Apps without these fuses enabled are not impacted. This issue is specific to Windows, apps using these fuses on macOS are unimpacted.\n\nSpecifically this issue can only be exploited if your app is launched from a filesystem the attacker has write access too. i.e. the ability to edit files inside the .app bundle on macOS which these fuses are supposed to protect against.\n\n### Workarounds\nThere are no app side workarounds, you must update to a patched version of Electron.\n\n### Fixed Versions\n* `30.0.5`\n* `31.0.0-beta.1`\n\n### For more information\nIf you have any questions or comments about this advisory, email us at [security@electronjs.org](mailto:security@electronjs.org)", "id": "GHSA-xw5q-g62x-2qjc", "modified": "2025-07-01T13:13:18Z", "published": "2025-06-30T17:54:11Z", "references": [ { "type": "WEB", "url": "https://github.com/electron/electron/security/advisories/GHSA-xw5q-g62x-2qjc" }, { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-46992" }, { "type": "PACKAGE", "url": "https://github.com/electron/electron" }, { "type": "WEB", "url": "https://www.electronjs.org/docs/latest/tutorial/fuses" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "type": "CVSS_V3" } ], "summary": "electron ASAR Integrity bypass by just modifying the content" }
Loading...
Loading...
- 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.