Vulnerabilities in pkg:npm/seneca

PACKAGE
Advisory Identifier: GHSA-2xwv-3cc9-fp7c
Advisory Summary

CVE-2019-5483 is a LOW sensitive data exposure vulnerability (CWE-209: Generation of Error Message Containing Sensitive Information) affecting Seneca libraries in the npm ecosystem. The issue involves sensitive data exposure in seneca. Remediation is available by upgrading affected packages to version 3.9.0.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:npm/seneca

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:npm/seneca. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-2xwv-3cc9-fp7c CVE-2019-5483 LOW Sensitive Data Exposure in seneca

CVE-2019-5483 at a Glance

CVE Identifier CVE-2019-5483
GHSA Identifier GHSA-2xwv-3cc9-fp7c
Severity LOW
CVSS v3.1 Base Score N/A
CWE Classification CWE-209: Generation of Error Message Containing Sensitive Information
Affected Product Seneca
Package Ecosystem npm
Published Date
Last Updated

How to Fix CVE-2019-5483

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

seneca fixed: 3.9.0
npm install seneca@3.9.0
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 seneca

How to Check if You Are Affected

To determine whether your Node.js application is affected by CVE-2019-5483, inspect your project dependencies using npm:

npm ls seneca

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

Note: The npm ls seneca 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-209: Generation of Error Message Containing Sensitive Information, where the product generates an error message that includes sensitive information about its environment, users, or associated data. In Seneca, 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 `seneca` prior to 3.9.0 are vulnerable to Sensitive Data Exposure. When a process using the package crashes all environment variables are printed. This may leak sensitive data such as access keys, especially given scenarios when log-monitoring systems store the error output. ## Recommendation Upgrade to version 3.9.0 or later.

CVE-2019-5483 Affected Seneca Versions

1 component(s)
Fixed Versions:
3.9.0
Product / Package Ecosystem Affected Versions Fixed Version
seneca
npm
< 3.9.0
3.9.0

References

Frequently Asked Questions

What is CVE-2019-5483?
CVE-2019-5483 is a security vulnerability in Seneca involving Sensitive Data Exposure in seneca under CWE-209: Generation of Error Message Containing Sensitive Information.
Which Seneca versions are affected?
Affected versions include releases prior to 3.9.0 across affected packages: seneca.
What version fixes CVE-2019-5483?
Upgrading to 3.9.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is seneca affected?
Yes, seneca is affected in releases prior to 3.9.0. Upgrade your dependency to 3.9.0 or later.
What CWE is associated with CVE-2019-5483?
CVE-2019-5483 is classified under CWE-209: Generation of Error Message Containing Sensitive Information (The product generates an error message that includes sensitive information about its environment, users, or associated data.).
How can I check npm dependencies for CVE-2019-5483?
Run the dependency tree command: 'npm ls seneca'. 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-2xwv-3cc9-fp7c",
  "modified" : "2020-08-31T18:49:15Z",
  "published" : "2019-09-11T23:07:57Z",
  "aliases" : [ "CVE-2019-5483" ],
  "summary" : "Sensitive Data Exposure in seneca",
  "details" : "Versions of `seneca` prior to 3.9.0 are vulnerable to Sensitive Data Exposure. When a process using the package crashes all environment variables are printed. This may leak sensitive data such as access keys, especially given scenarios when log-monitoring systems store the error output.\n\n\n## Recommendation\n\nUpgrade to version 3.9.0 or later.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "seneca"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "3.9.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-5483"
  }, {
    "type" : "WEB",
    "url" : "https://hackerone.com/reports/526258"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/nodejs/security-wg/blob/master/vuln/npm/501.json"
  }, {
    "type" : "WEB",
    "url" : "https://www.npmjs.com/advisories/1155"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-209" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2019-09-11T22:45:13Z",
    "nvd_published_at" : null
  }
}