Vulnerabilities in pkg:npm/rails-session-decoder

PACKAGE
Advisory Summary

GHSA-44vf-8ffm-v2qh is a HIGH sensitive data exposure vulnerability (General Security Weakness) affecting Rails session decoder libraries in the npm ecosystem. The issue involves sensitive data exposure in rails-session-decoder. Remediation is available in the latest vendor maintenance releases.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:npm/rails-session-decoder

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:npm/rails-session-decoder. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-44vf-8ffm-v2qh - HIGH Sensitive Data Exposure in rails-session-decoder

GHSA-44vf-8ffm-v2qh at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-44vf-8ffm-v2qh
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Rails session decoder
Package Ecosystem npm
Published Date
Last Updated

How to Fix GHSA-44vf-8ffm-v2qh

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

rails-session-decoder fixed: Latest secure release
npm install rails-session-decoder@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 rails-session-decoder

How to Check if You Are Affected

To determine whether your Node.js application is affected by GHSA-44vf-8ffm-v2qh, inspect your project dependencies using npm:

npm ls rails-session-decoder

Analyze the terminal output to locate any version of Rails session decoder 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 rails-session-decoder 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 Rails session decoder, 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 `rails-session-decoder` are missing verification of the Message Authentication Code appended to the cookies. This may lead to decryption of cipher text thus exposing encrypted information. ## Recommendation No fix is currently available. Consider using an alternative module until a fix is made available.

GHSA-44vf-8ffm-v2qh Affected Rails session decoder Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
rails-session-decoder
npm
≥ 0.0.0

References

Frequently Asked Questions

What is GHSA-44vf-8ffm-v2qh?
GHSA-44vf-8ffm-v2qh is a security vulnerability in Rails session decoder involving Sensitive Data Exposure in rails-session-decoder under General Security Weakness.
Which Rails session decoder versions are affected?
Affected versions include releases prior to current release patches across affected packages: rails-session-decoder.
What version fixes GHSA-44vf-8ffm-v2qh?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is rails-session-decoder affected?
Yes, rails-session-decoder is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What CWE is associated with GHSA-44vf-8ffm-v2qh?
GHSA-44vf-8ffm-v2qh is classified under General Security Weakness.
How can I check npm dependencies for GHSA-44vf-8ffm-v2qh?
Run the dependency tree command: 'npm ls rails-session-decoder'. 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-44vf-8ffm-v2qh",
  "modified" : "2020-08-31T18:34:35Z",
  "published" : "2020-09-02T15:42:47Z",
  "aliases" : [ ],
  "summary" : "Sensitive Data Exposure in rails-session-decoder",
  "details" : "All versions of `rails-session-decoder` are missing verification of the Message Authentication Code appended to the cookies. This may lead to decryption of cipher text thus exposing encrypted information.\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" : "rails-session-decoder"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.0.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://www.npmjs.com/advisories/753"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2020-08-31T18:34:35Z",
    "nvd_published_at" : null
  }
}