GHSA-xw5q-g62x-2qjc

Suggest an improvement
Source
https://github.com/advisories/GHSA-xw5q-g62x-2qjc
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/06/GHSA-xw5q-g62x-2qjc/GHSA-xw5q-g62x-2qjc.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-xw5q-g62x-2qjc
Aliases
  • CVE-2024-46992
Published
2025-06-30T17:54:11Z
Modified
2025-07-01T13:13:18Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
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

Database specific
{
    "nvd_published_at": "2025-07-01T02:15:20Z",
    "github_reviewed_at": "2025-06-30T17:54:11Z",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-354"
    ],
    "severity": "HIGH"
}
References

Affected packages

npm / electron

Package

Affected ranges

Type
SEMVER
Events
Introduced
30.0.0-alpha.1
Fixed
30.0.5

npm / electron

Package

Affected ranges

Type
SEMVER
Events
Introduced
31.0.0-alpha.1
Fixed
31.0.0-beta.1