Vulnerabilities

4 via 4 paths

Dependencies

77

Source

GitHub

Find, fix and prevent vulnerabilities in your code.

Severity
  • 2
  • 2
Status
  • 4
  • 0
  • 0

high severity

Insertion of Sensitive Information Into Sent Data

  • Vulnerable module: builder-util-runtime
  • Introduced through: electron-updater@3.2.3

Detailed paths

  • Introduced through: lanflow@TPessanha/Lanflow › electron-updater@3.2.3 › builder-util-runtime@7.1.0
    Remediation: Upgrade to electron-updater@6.8.9.

Overview

Affected versions of this package are vulnerable to Insertion of Sensitive Information Into Sent Data via the HttpExecutor.prepareRedirectUrlOptions process. An attacker can obtain sensitive credentials, such as GitLab's PRIVATE-TOKEN or mixed-case Authorization headers, by leveraging a cross-origin redirect to an attacker-controlled destination.

Remediation

Upgrade builder-util-runtime to version 9.7.0 or higher.

References

high severity

Improper Verification of Cryptographic Signature

  • Vulnerable module: electron-updater
  • Introduced through: electron-updater@3.2.3

Detailed paths

  • Introduced through: lanflow@TPessanha/Lanflow › electron-updater@3.2.3
    Remediation: Upgrade to electron-updater@6.3.0.

Overview

electron-updater is a module allowing applications to implement auto-update functionality.

Affected versions of this package are vulnerable to Improper Verification of Cryptographic Signature through the windowsExecutableCodeSignatureVerifier process. An attacker in control of an update manifest - via server compromise or other exploitation - can bypass signature verification of a downloaded file by tricking the application into verifying the signature on a different file instead.

Note: This is only exploitable on Windows.

Remediation

Upgrade electron-updater to version 6.3.0-alpha.6 or higher.

References

medium severity

Signature Validation Bypass

  • Vulnerable module: electron-updater
  • Introduced through: electron-updater@3.2.3

Detailed paths

  • Introduced through: lanflow@TPessanha/Lanflow › electron-updater@3.2.3
    Remediation: Upgrade to electron-updater@4.2.2.

Overview

electron-updater is a module allowing applications to implement auto-update functionality.

Affected versions of this package are vulnerable to Signature Validation Bypass. The signature verification check is based on a string comparison between the installed binary’s publisherName and the certificate’s Common Name attribute of the update binary. During a software update, the application will request a file named latest.yml from the update server, which contains the definition of the new release - including the binary filename and hashes.

Using a filename containing a single quote and a matching hash, an attacker could bypass the entire signature verification by triggering a parse error in the script.

This can be leveraged to force a malicious update on Windows clients, effectively gaining code execution and persistence capabilities.

Exploitation of this vulnerability requires the attacker to also have control over the update server, or alternatively a man-in-the-middle.

Remediation

Upgrade electron-updater to version 4.2.2 or higher.

References

medium severity

Signature Validation Bypass

  • Vulnerable module: electron-updater
  • Introduced through: electron-updater@3.2.3

Detailed paths

  • Introduced through: lanflow@TPessanha/Lanflow › electron-updater@3.2.3
    Remediation: Upgrade to electron-updater@4.3.1.

Overview

electron-updater is a module allowing applications to implement auto-update functionality.

Affected versions of this package are vulnerable to Signature Validation Bypass. The signature verification check is based on a string comparison between the installed binary’s publisherName and the certificate’s Common Name attribute of the update binary. During a software update, the application will request a file named latest.yml from the update server, which contains the definition of the new release - including the binary filename and hashes.

Using a filename containing a backtick (`), among other symbols and a matching hash, an attacker could bypass the entire signature verification by triggering a parse error in the script.

This can be leveraged to force a malicious update on Windows clients, effectively gaining code execution and persistence capabilities.

Exploitation of this vulnerability requires the attacker to also have control over the update server, or alternatively a man-in-the-middle.

A partial fix has been made available, blacklisting a small set of characters, but there are additional characters that can be used to exploit this vulnerability.

Remediation

Upgrade electron-updater to version 4.3.1 or higher.

References