app-builder-lib@20.38.1 vulnerabilities

electron-builder lib

Direct Vulnerabilities

Known vulnerabilities in the app-builder-lib package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • H
Untrusted Search Path

app-builder-lib is an electron-builder lib

Affected versions of this package are vulnerable to Untrusted Search Path due to the NSIS installer making a system call to open cmd.exe via NSExec in the .nsh installer script. 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.

Notes:

  1. This is only exploitable on Windows machines.

  2. NSExec by default searches the current directory of where the installer is located before searching PATH.

How to fix Untrusted Search Path?

Upgrade app-builder-lib to version 24.13.2 or higher.

<24.13.2