GHSA-7m48-wc93-9g85

Suggest an improvement
Source
https://github.com/advisories/GHSA-7m48-wc93-9g85
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/12/GHSA-7m48-wc93-9g85/GHSA-7m48-wc93-9g85.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-7m48-wc93-9g85
Aliases
Related
Published
2023-12-01T21:32:06Z
Modified
2024-09-18T20:13:40Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:L CVSS Calculator
Summary
ASAR Integrity bypass via filetype confusion in electron
Details

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 macOS as these fuses are only currently supported on macOS.

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 resources folder in your app installation on Windows 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

  • 27.0.0-alpha.7
  • 26.2.1
  • 25.8.1
  • 24.8.3
  • 22.3.24

For more information

If you have any questions or comments about this advisory, email us at security@electronjs.org

Database specific
{
    "nvd_published_at": "2023-12-01T22:15:09Z",
    "cwe_ids": [
        "CWE-345"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2023-12-01T21:32:06Z"
}
References

Affected packages

npm / electron

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
22.3.24

npm / electron

Package

Affected ranges

Type
SEMVER
Events
Introduced
24.0.0-alpha.1
Fixed
24.8.3

npm / electron

Package

Affected ranges

Type
SEMVER
Events
Introduced
25.0.0-alpha.1
Fixed
25.8.1

npm / electron

Package

Affected ranges

Type
SEMVER
Events
Introduced
26.0.0-alpha.1
Fixed
26.2.1

npm / electron

Package

Affected ranges

Type
SEMVER
Events
Introduced
27.0.0-alpha.1
Fixed
27.0.0-alpha.7

npm / electron

Package

Affected ranges

Type
SEMVER
Events
Introduced
23.0.0-alpha.1
Last affected
23.3.13