electron is vulnerable to Race Condition (TOCTOU)
67
CVE Score
Medium
Race Condition (TOCTOU)
Electron bundles the Squirrel.Mac auto-update framework on macOS, and its privileged ShipIt helper performs the final step of an update while running as root. A time-of-check to time-of-use race in that step lets a local process cause ShipIt to overwrite a different application's files as root instead of the app that started the update. Exploitation requires local access to the machine and only affects apps that ship Squirrel.Mac based auto-updates. The fix closes the race so ShipIt operates only on the application that initiated the update.
Upgrade the electron library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and you ship Squirrel.Mac based auto-updates on macOS.
0.0.1 - 39.8.9
Fixed in 39.8.1040.0.0 - 41.10.4
Fixed in 41.10.5electron is vulnerable to Race Condition (TOCTOU) in versions 0.0.1 - 39.8.9 and 40.0.0 - 41.10.4.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.