Exposure of Sensitive System Information to an Unauthorized Control Sphere Affecting @electron/packager package, versions >=18.3.0 <18.3.1


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.04% (11th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-JS-ELECTRONPACKAGER-6514819
  • published 31 Mar 2024
  • disclosed 29 Mar 2024
  • credit Unknown

How to fix?

Upgrade @electron/packager to version 18.3.1 or higher.

Overview

@electron/packager is a Customize and package your Electron app with OS-specific bundles (.app, .exe, etc.) via JS or CLI

Affected versions of this package are vulnerable to Exposure of Sensitive System Information to an Unauthorized Control Sphere via the resedit() function in resedit.ts, which can include a random segment of heap memory into the packaged executable. An attacker can access up to 10kb of memory adjacent to the integrity buffer.

References

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
7.5 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    None
  • Availability (A)
    None