GHSA-5hx7-77g4-wqx3: Aedes Incorrect Authorization Vulnerability
MODERATEGHSA-5hx7-77g4-wqx3 is a MODERATE incorrect authorization vulnerability (General Security Weakness) affecting Aedes libraries in the npm ecosystem. The issue involves incorrect authorization. Remediation is available by upgrading affected packages to version 0.35.1.
GHSA-5hx7-77g4-wqx3 at a Glance
How to Fix GHSA-5hx7-77g4-wqx3
To remediate this vulnerability, upgrade all affected Aedes 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 aedes@0.35.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls aedes
How to Check if You Are Affected
To determine whether your Node.js application is affected by GHSA-5hx7-77g4-wqx3, inspect your project dependencies using npm:
npm ls aedes
Analyze the terminal output to locate any version of Aedes in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.35.1), your application is affected.
Note: The npm ls aedes 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 Aedes, 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-5hx7-77g4-wqx3 Affected Aedes Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
aedes
|
npm |
≥ 0.1.0
< 0.35.1
|
0.35.1
|
References
Frequently Asked Questions
What is GHSA-5hx7-77g4-wqx3?
Which Aedes versions are affected?
What version fixes GHSA-5hx7-77g4-wqx3?
Is aedes affected?
What CWE is associated with GHSA-5hx7-77g4-wqx3?
How can I check npm dependencies for GHSA-5hx7-77g4-wqx3?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-5hx7-77g4-wqx3",
"modified" : "2021-02-23T21:30:56Z",
"published" : "2021-02-23T21:30:56Z",
"withdrawn" : "2021-02-23T21:30:56Z",
"aliases" : [ ],
"summary" : "Incorrect Authorization",
"details" : "Versions of aedes before 0.35.1 does not respect its own authorization rules when a client sets a Last Will.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "aedes"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.1.0"
}, {
"fixed" : "0.35.1"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/mcollina/aedes/issues/211"
}, {
"type" : "WEB",
"url" : "https://github.com/mcollina/aedes/commit/ffbc1702bb24b596afbb96407cc6db234a4044a8"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2019-05-29T19:18:50Z",
"nvd_published_at" : null
}
}