GHSA-5hx7-77g4-wqx3: Aedes Incorrect Authorization Vulnerability

MODERATE
Published
Advisory Summary

GHSA-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

CVE Identifier N/A
GHSA Identifier GHSA-5hx7-77g4-wqx3
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Aedes
Package Ecosystem npm
Published Date
Last Updated

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.

aedes fixed: 0.35.1
npm install aedes@0.35.1
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 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

Versions of aedes before 0.35.1 does not respect its own authorization rules when a client sets a Last Will.

GHSA-5hx7-77g4-wqx3 Affected Aedes Versions

1 component(s)
Fixed Versions:
0.35.1
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?
GHSA-5hx7-77g4-wqx3 is a security vulnerability in Aedes involving Incorrect Authorization under General Security Weakness.
Which Aedes versions are affected?
Affected versions include releases prior to 0.35.1 across affected packages: aedes.
What version fixes GHSA-5hx7-77g4-wqx3?
Upgrading to 0.35.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is aedes affected?
Yes, aedes is affected in releases prior to 0.35.1. Upgrade your dependency to 0.35.1 or later.
What CWE is associated with GHSA-5hx7-77g4-wqx3?
GHSA-5hx7-77g4-wqx3 is classified under General Security Weakness.
How can I check npm dependencies for GHSA-5hx7-77g4-wqx3?
Run the dependency tree command: 'npm ls aedes'. 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-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
  }
}