Vulnerabilities in pkg:npm/aegir
PACKAGECVE-2020-11059 is a CRITICAL (CVSS 9.6) exposure of sensitive information to vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Aegir libraries in the npm ecosystem. The issue involves exposure of sensitive information to an unauthorized actor in aegir. Remediation is available by upgrading affected packages to version 21.10.1.
pkg:npm/aegir
Vulnerability advisories affecting package pkg:npm/aegir. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-qfcv-5whw-7pcw | CVE-2020-11059 | CRITICAL | Exposure of Sensitive Information to an Unauthorized Actor in AEgir |
| GHSA-6xhf-x49c-m5m6 | CVE-2017-16225 | HIGH | Github Token Leak in aegir |
CVE-2020-11059 at a Glance
Security Impact
CVSS: 9.6
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H).
How to Fix CVE-2020-11059
To remediate this vulnerability, upgrade all affected Aegir 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 aegir@21.10.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls aegir
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2020-11059, inspect your project dependencies using npm:
npm ls aegir
Analyze the terminal output to locate any version of Aegir in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 21.10.1), your application is affected.
Note: The npm ls aegir 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 CWE-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. In Aegir, 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
CVE-2020-11059 Affected Aegir Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
aegir
|
npm |
≥ 21.7.0
< 21.10.1
|
21.10.1
|
References
Frequently Asked Questions
What is CVE-2020-11059?
Which Aegir versions are affected?
What version fixes CVE-2020-11059?
Is aegir affected?
What is the CVSS score of CVE-2020-11059?
What CWE is associated with CVE-2020-11059?
How can I check npm dependencies for CVE-2020-11059?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-qfcv-5whw-7pcw",
"modified" : "2021-10-08T19:56:28Z",
"published" : "2020-05-27T21:09:15Z",
"aliases" : [ "CVE-2020-11059" ],
"summary" : "Exposure of Sensitive Information to an Unauthorized Actor in AEgir",
"details" : "### Impact\n`aegir publish` and `aegir build` may leak secrets from environmental variables in the browser bundle published to npm.\n\n### Patches\nThe code has been patched, users should upgrade to >= 21.10.1\n\n### Workarounds\nRun `printenv` to check your environment variables and revoke any secrets.\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [aegir](https://github.com/ipfs/aegir)",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "aegir"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "21.7.0"
}, {
"fixed" : "21.10.1"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/ipfs/aegir/security/advisories/GHSA-qfcv-5whw-7pcw"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-11059"
}, {
"type" : "WEB",
"url" : "https://github.com/ipfs/aegir/commit/e36e1def57b2dc1e4b7a5beba964c5924e87f8d8"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/ipfs/aegir"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-200" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2020-05-27T21:08:38Z",
"nvd_published_at" : "2020-05-27T21:15:00Z"
}
}