GHSA-77xc-hjv8-ww97

Suggest an improvement
Source
https://github.com/advisories/GHSA-77xc-hjv8-ww97
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/06/GHSA-77xc-hjv8-ww97/GHSA-77xc-hjv8-ww97.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-77xc-hjv8-ww97
Aliases
Published
2022-06-16T23:18:47Z
Modified
2023-11-08T04:09:12Z
Severity
  • 6.6 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
AutoUpdater module fails to validate certain nested components of the bundle
Details

Impact

This vulnerability allows attackers who have control over a given apps update server / update storage to serve maliciously crafted update packages that pass the code signing validation check but contain malicious code in some components.

Please note that this kind of attack would require significant privileges in your own auto updating infrastructure and the ease of that attack entirely depends on your infrastructure security.

Patches

This has been patched and the following Electron versions contain the fix:

  • 18.0.0-beta.6
  • 17.2.0
  • 16.2.0
  • 15.5.0

Workarounds

There are no workarounds for this issue, please update to a patched version of Electron.

For more information

If you have any questions or comments about this advisory, email us at security@electronjs.org

Database specific
{
    "cwe_ids":  [
        "CWE-20"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2022-06-16T23:18:47Z",
    "nvd_published_at":  "2022-06-13T22:15:00Z",
    "severity":  "MODERATE"
}
References

Affected packages

npm / electron

Package

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
15.5.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/06/GHSA-77xc-hjv8-ww97/GHSA-77xc-hjv8-ww97.json"

npm / electron

Package

Affected ranges

Type
SEMVER
Events
Introduced
16.0.0
Fixed
16.2.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/06/GHSA-77xc-hjv8-ww97/GHSA-77xc-hjv8-ww97.json"

npm / electron

Package

Affected ranges

Type
SEMVER
Events
Introduced
17.0.0
Fixed
17.2.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/06/GHSA-77xc-hjv8-ww97/GHSA-77xc-hjv8-ww97.json"

npm / electron

Package

Affected ranges

Type
SEMVER
Events
Introduced
18.0.0-beta.1
Fixed
18.0.0-beta.6

Database specific

last_known_affected_version_range
"<= 18.0.0-beta.5"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/06/GHSA-77xc-hjv8-ww97/GHSA-77xc-hjv8-ww97.json"