Intel

AIKIDO-2024-10094

electron is vulnerable to Improper Privilege Management

Improper Privilege ManagementCVE-2024-22017 Published May 16, 2024

70

High Risk

This Affects:

JSelectron
29.0.0 - 29.3.3
Fixed in 29.4.0
Are you affected? Scan for Free

TL;DR

setuid() does not affect libuv's internal io_uring operations if it is initialized before the call to setuid(). This allows the process to perform privileged operations despite presumably having dropped such privileges through the setuid() call.

Who does this affect?

You are affected if you are using a electron version which is within vulnerability ranges and a version greater or equal than Node.js 18.18.0, Node.js 20.4.0 and Node.js 21.

Background info

electron is vulnerable to Improper Privilege Management in versions 29.0.0 - 29.3.3.

How to fix this

Upgrade the electron library to the patch version.