Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2024-27303

7.3 · HIGH
Published Mar 6, 2024 electron CWE-426 EPSS 0.28% (20th pctl)

Overview

CVE-2024-27303 is a high-severity vulnerability affecting electron electron-builder. It was published on March 6, 2024 and has a CVSS 3.1 base score of 7.3 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.3, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical Description

electron-builder is a solution to package and build a ready for distribution Electron, Proton Native app for macOS, Windows and Linux. A vulnerability that only affects eletron-builder prior to 24.13.2 in Windows, the NSIS installer makes a system call to open cmd.exe via NSExec in the `.nsh` installer script. NSExec by default searches the current directory of where the installer is located before searching `PATH`. This means that if an attacker can place a malicious executable file named cmd.exe in the same folder as the installer, the installer will run the malicious file. Version 24.13.2 fixes this issue. No known workaround exists. The code executes at the installer-level before the app is present on the system, so there's no way to check if it exists in a current installer.

Remediation

Check the references section for vendor advisories and patches from electron. Update electron-builder to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
electron electron-builder >= 0, < 24.13.2 Affected

Frequently Asked Questions

What is CVE-2024-27303?

CVE-2024-27303 is a high-severity vulnerability affecting electron electron-builder. It was published on March 6, 2024 and has a CVSS 3.1 base score of 7.3 (HIGH).

How severe is CVE-2024-27303?

This vulnerability has a CVSS 3.1 base score of 7.3, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2024-27303?

Check the references section for vendor advisories and patches from electron. Update electron-builder to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-27303?

CyberStrike's AI-powered security agents can automatically detect CVE-2024-27303 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.