GHSA-v3wr-67px-44xg: @advanced rest client/base Execution With Unnecessary Privileges Vulnerability

HIGH
Published
Advisory Summary

GHSA-v3wr-67px-44xg is a HIGH execution with unnecessary privileges vulnerability (General Security Weakness) affecting @advanced rest client/base libraries in the npm ecosystem. The issue involves execution with unnecessary privileges in arc-electron. Remediation is available by upgrading affected packages to version 0.1.10.

GHSA-v3wr-67px-44xg at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-v3wr-67px-44xg
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product @advanced rest client/base
Package Ecosystem npm
Published Date
Last Updated

How to Fix GHSA-v3wr-67px-44xg

To remediate this vulnerability, upgrade all affected @advanced rest client/base dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

@advanced-rest-client/base fixed: 0.1.10
npm install @advanced-rest-client/base@0.1.10
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls @advanced-rest-client/base

How to Check if You Are Affected

To determine whether your Node.js application is affected by GHSA-v3wr-67px-44xg, inspect your project dependencies using npm:

npm ls @advanced-rest-client/base

Analyze the terminal output to locate any version of @advanced rest client/base in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.1.10), your application is affected.

Note: The npm ls @advanced-rest-client/base command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under General Security Weakness. In @advanced rest client/base, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Impact When the end-user click on the response header that contains a link the target will be opened in ARC new window. This window will have the default preload script loaded which allows the scripts embedded in the link target to execute any logic that ARC has access to from the renderer process, which includes file system access, data store access (which may contain sensitive information), and some additional processes that only ARC should have access to. ### Patches This is patched in version 17.0.9. ### Workarounds Do not click onto any link in the response headers view. ### For more information If you have any questions or comments about this advisory: * Open an issue in [advanced-rest-client/arc-electron](https://github.com/advanced-rest-client/arc-electron) * Email us at [Salesforce Security](mailto:security@salesforce.com)

GHSA-v3wr-67px-44xg Affected @advanced rest client/base Versions

1 component(s)
Fixed Versions:
0.1.10
Product / Package Ecosystem Affected Versions Fixed Version
@advanced-rest-client/base
npm
< 0.1.10
0.1.10

References

Frequently Asked Questions

What is GHSA-v3wr-67px-44xg?
GHSA-v3wr-67px-44xg is a security vulnerability in @advanced rest client/base involving Execution with Unnecessary Privileges in arc-electron under General Security Weakness.
Which @advanced rest client/base versions are affected?
Affected versions include releases prior to 0.1.10 across affected packages: @advanced-rest-client/base.
What version fixes GHSA-v3wr-67px-44xg?
Upgrading to 0.1.10 (or the latest patched release for your respective branch) resolves the vulnerability.
Is @advanced-rest-client/base affected?
Yes, @advanced-rest-client/base is affected in releases prior to 0.1.10. Upgrade your dependency to 0.1.10 or later.
What CWE is associated with GHSA-v3wr-67px-44xg?
GHSA-v3wr-67px-44xg is classified under General Security Weakness.
How can I check npm dependencies for GHSA-v3wr-67px-44xg?
Run the dependency tree command: 'npm ls @advanced-rest-client/base'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-v3wr-67px-44xg",
  "modified" : "2022-03-03T19:11:14Z",
  "published" : "2022-03-03T19:11:14Z",
  "aliases" : [ ],
  "summary" : "Execution with Unnecessary Privileges in arc-electron",
  "details" : "### Impact\n\nWhen the end-user click on the response header that contains a link the target will be opened in ARC new window. This window will have the default preload script loaded which allows the scripts embedded in the link target to execute any logic that ARC has access to from the renderer process, which includes file system access, data store access (which may contain sensitive information), and some additional processes that only ARC should have access to.\n\n### Patches\n\nThis is patched in version 17.0.9.\n\n### Workarounds\n\nDo not click onto any link in the response headers view.\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n* Open an issue in [advanced-rest-client/arc-electron](https://github.com/advanced-rest-client/arc-electron)\n* Email us at [Salesforce Security](mailto:security@salesforce.com)\n",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "@advanced-rest-client/base"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.1.10"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/advanced-rest-client/arc-electron/security/advisories/GHSA-v3wr-67px-44xg"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/advanced-rest-client/arc-electron"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2022-03-03T19:11:14Z",
    "nvd_published_at" : null
  }
}