Logo
-

Byte Open Security

(ByteOS Network)

Log In

Sign Up

ByteOS

Security
Vulnerability Details
Registries
Custom Views
Weaknesses
Attack Patterns
Filters & Tools
CVE Vulnerability Details :
CVE-2024-27303
PUBLISHED
More InfoOfficial Page
Assigner-GitHub_M
Assigner Org ID-a0819718-46f1-4df5-94e2-005712e83aaa
View Known Exploited Vulnerability (KEV) details
Published At-06 Mar, 2024 | 18:35
Updated At-13 Aug, 2024 | 17:12
Rejected At-
▼CVE Numbering Authority (CNA)
electron-builder's NSIS installer - execute arbitrary code on the target machine (Windows only)

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.

Affected Products
Vendor
Electron Userlandelectron-userland
Product
electron-builder
Versions
Affected
  • < 24.13.2
Problem Types
TypeCWE IDDescription
CWECWE-426CWE-426: Untrusted Search Path
CWECWE-427CWE-427: Uncontrolled Search Path Element
Metrics
VersionBase scoreBase severityVector
3.17.3HIGH
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://github.com/electron-userland/electron-builder/security/advisories/GHSA-r4pf-3v7r-hh55
x_refsource_CONFIRM
https://github.com/electron-userland/electron-builder/pull/8059
x_refsource_MISC
https://github.com/electron-userland/electron-builder/commit/8f4acff3c2d45c1cb07779bb3fe79644408ee387
x_refsource_MISC
▼Authorized Data Publishers (ADP)
1. CVE Program Container
Affected Products
Metrics
VersionBase scoreBase severityVector
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://github.com/electron-userland/electron-builder/security/advisories/GHSA-r4pf-3v7r-hh55
x_refsource_CONFIRM
x_transferred
https://github.com/electron-userland/electron-builder/pull/8059
x_refsource_MISC
x_transferred
https://github.com/electron-userland/electron-builder/commit/8f4acff3c2d45c1cb07779bb3fe79644408ee387
x_refsource_MISC
x_transferred
2. CISA ADP Vulnrichment
Affected Products
Vendor
Electron Userlandelectron
Product
electron-builder
CPEs
  • cpe:2.3:a:electron:electron-builder:*:*:*:*:*:node.js:*:*
Default Status
unknown
Versions
Affected
  • From 0 before 24.13.2 (custom)
Metrics
VersionBase scoreBase severityVector
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
Details not found