CVE-2023-44402
ASAR Integrity bypass via filetype confusion in electron
Auswirkung
### Impact This 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 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](mailto:security@electronjs.org)
Ein Angreifer kann die Lücke mit lokalem Zugriff auf das System ausnutzen, mit einem normalen Benutzerkonto, allerdings muss ein Nutzer etwas tun, etwa eine Datei oder einen Link öffnen. Bei Erfolg: geringes Risiko, dass Daten ausgelesen werden, hohes Risiko, dass Daten oder Systeme verändert werden, geringes Risiko für Ausfälle.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| npm | electron | < 22.3.24 | 22.3.24 |
Betroffene Produkte · Electronjs
| Produkt | Betroffene Versionen |
|---|---|
| Electron | bis einschließlich 22.3.24 ab 23.0.0 bis einschließlich 23.3.14 ab 24.0.0 bis einschließlich 24.8.3 ab 25.0.0 bis einschließlich 25.8.1 ab 26.0.0 bis einschließlich 26.2.1 Version 27.0.0 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://github.com/electron/electron/pull/39788
- https://github.com/electron/electron/security/advisories/GHSA-7m48-wc93-9g85
- https://www.electronjs.org/docs/latest/tutorial/fuses
- https://github.com/advisories/GHSA-7m48-wc93-9g85
- https://nvd.nist.gov/vuln/detail/CVE-2023-44402