GHSA-v3wr-67px-44xg: @advanced rest client/base Execution With Unnecessary Privileges Vulnerability
HIGHGHSA-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
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.
npm install @advanced-rest-client/base@0.1.10
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
GHSA-v3wr-67px-44xg Affected @advanced rest client/base Versions
1 component(s)| 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?
Which @advanced rest client/base versions are affected?
What version fixes GHSA-v3wr-67px-44xg?
Is @advanced-rest-client/base affected?
What CWE is associated with GHSA-v3wr-67px-44xg?
How can I check npm dependencies for GHSA-v3wr-67px-44xg?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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
}
}