GHSA-5w65-6875-rhq8: Sailsjs cacheman Undefined Behavior Vulnerability

LOW
Published
Advisory Summary

GHSA-5w65-6875-rhq8 is a LOW undefined behavior vulnerability (General Security Weakness) affecting Sailsjs cacheman libraries in the npm ecosystem. The issue involves undefined behavior in sailsjs-cacheman. Remediation is available in the latest vendor maintenance releases.

GHSA-5w65-6875-rhq8 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-5w65-6875-rhq8
Severity LOW
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Sailsjs cacheman
Package Ecosystem npm
Published Date
Last Updated

How to Fix GHSA-5w65-6875-rhq8

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

sailsjs-cacheman fixed: Latest secure release
npm install sailsjs-cacheman@Latest secure release
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 sailsjs-cacheman

How to Check if You Are Affected

To determine whether your Node.js application is affected by GHSA-5w65-6875-rhq8, inspect your project dependencies using npm:

npm ls sailsjs-cacheman

Analyze the terminal output to locate any version of Sailsjs cacheman in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: The npm ls sailsjs-cacheman 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 Sailsjs cacheman, 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

All versions of `sailsjs-cacheman` have a vulnerability that may lead to Undefined Behavior. The config variable is exposing to the global scope which may overwrite other variables and cause the application to misbehave. ## Recommendation No fix is currently available. Consider using an alternative module until a fix is made available.

GHSA-5w65-6875-rhq8 Affected Sailsjs cacheman Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
sailsjs-cacheman
npm
≤ 1.0.0

References

Frequently Asked Questions

What is GHSA-5w65-6875-rhq8?
GHSA-5w65-6875-rhq8 is a security vulnerability in Sailsjs cacheman involving Undefined Behavior in sailsjs-cacheman under General Security Weakness.
Which Sailsjs cacheman versions are affected?
Affected versions include releases prior to current release patches across affected packages: sailsjs-cacheman.
What version fixes GHSA-5w65-6875-rhq8?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is sailsjs-cacheman affected?
Yes, sailsjs-cacheman is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What CWE is associated with GHSA-5w65-6875-rhq8?
GHSA-5w65-6875-rhq8 is classified under General Security Weakness.
How can I check npm dependencies for GHSA-5w65-6875-rhq8?
Run the dependency tree command: 'npm ls sailsjs-cacheman'. 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-5w65-6875-rhq8",
  "modified" : "2020-08-31T18:34:32Z",
  "published" : "2019-09-11T23:01:57Z",
  "aliases" : [ ],
  "summary" : "Undefined Behavior in sailsjs-cacheman",
  "details" : "All versions of `sailsjs-cacheman` have a vulnerability that may lead to Undefined Behavior. The config variable is exposing to the global scope which may overwrite other variables and cause the application to misbehave.\n\n\n## Recommendation\n\nNo fix is currently available. Consider using an alternative module until a fix is made available.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "sailsjs-cacheman"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "1.0.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/gayanhewa/sailsjs-cacheman/pull/10"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/gayanhewa/sailsjs-cacheman/commit/4a456f44141ae2d5aed8cb32a82063356dcc318f"
  }, {
    "type" : "WEB",
    "url" : "https://www.npmjs.com/advisories/752"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2019-09-03T23:31:41Z",
    "nvd_published_at" : null
  }
}