app-builder-lib@21.0.3 vulnerabilities

electron-builder lib

  • latest version

    25.1.8

  • latest non vulnerable version

  • first published

    6 years ago

  • latest version published

    2 months ago

  • licenses detected

  • Direct Vulnerabilities

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

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    Fix for free
    VulnerabilityVulnerable 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