CVE-2024-27303
Last modified
CVE-2024-27303 is a high-severity vulnerability rated 7.3/10 on the CVSS scale. 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. EPSS estimates a 0.28% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Electron | Electron-Builder | < 24.13.2 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2024-27303?
How severe is CVE-2024-27303?
How do I fix CVE-2024-27303?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-27298parse-server is a Parse Server for Node.js / Express. This v…10
- CVE-2024-27299phpMyFAQ is an open source FAQ web application for PHP 8.1+ …8.8
- CVE-2024-2730Mautic uses predictable page indices for unpublished landing…5.3
- CVE-2024-27300phpMyFAQ is an open source FAQ web application for PHP 8.1+ …5.4
- CVE-2024-27301Support App is an opensource application specialized in mana…7.3
- CVE-2024-27302go-zero is a web and rpc framework. Go-zero allows user to s…9.1
- CVE-2024-27304pgx is a PostgreSQL driver and toolkit for Go. SQL injection…9.8
- CVE-2024-27305aiosmtpd is a reimplementation of the Python stdlib smtpd.py…5.3
- CVE-2024-27306aiohttp is an asynchronous HTTP client/server framework for …6.1
- CVE-2024-27307JSONata is a JSON query and transformation language. Startin…9.8
- CVE-2024-27308Mio is a Metal I/O library for Rust. When using named pipes …9.1
- CVE-2024-27309While an Apache Kafka cluster is being migrated from ZooKeep…7.4
Are you affected by CVE-2024-27303?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
