NetSight
medium6.1

CVE-2023-44402

ASAR Integrity bypass via filetype confusion in electron

Impact

### 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)

Affected packages

EcosystemPackageAffectedFixed in
npmelectron< 22.3.2422.3.24

Affected products

VendorProductAffected versions
ElectronjsElectron
through 22.3.24
from 23.0.0 through 23.3.14
from 24.0.0 through 24.8.3
from 25.0.0 through 25.8.1
from 26.0.0 through 26.2.1
Version 27.0.0

Weakness classification

References