GHSA-724c-6vrf-99rq: Loopback Sensitive Data Exposure Vulnerability

LOW
CWE-200
Published
Advisory Summary

GHSA-724c-6vrf-99rq is a LOW sensitive data exposure vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Loopback libraries in the npm ecosystem. The issue involves sensitive data exposure in loopback. Remediation is available by upgrading affected packages to version 2.42.0, 3.26.0.

GHSA-724c-6vrf-99rq at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-724c-6vrf-99rq
Severity LOW
CVSS v3.1 Base Score N/A
CWE Classification CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
Affected Product Loopback
Package Ecosystem npm
Published Date
Last Updated

How to Fix GHSA-724c-6vrf-99rq

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

loopback fixed: 2.42.0
npm install loopback@2.42.0
loopback fixed: 3.26.0
npm install loopback@3.26.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 loopback

How to Check if You Are Affected

To determine whether your Node.js application is affected by GHSA-724c-6vrf-99rq, inspect your project dependencies using npm:

npm ls loopback

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

Note: The npm ls loopback 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-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. In Loopback, 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 `loopback` prior to 3.26.0 (3.x) and 2.42.0 (2.x) are vulnerable to Sensitive Data Exposure. Invalid API requests to the login endpoint may return information about the first user in the database. This can be used alongside other attacks for credential theft. ## Recommendation If you're using `loopback` 3.x upgrade to version 3.26.0 or later. If you're using `loopback` 2.x upgrade to version 2.42.0 or later.

GHSA-724c-6vrf-99rq Affected Loopback Versions

2 component(s)
Fixed Versions:
2.42.03.26.0
Product / Package Ecosystem Affected Versions Fixed Version
loopback
npm
< 2.42.0
2.42.0
loopback
npm
≥ 3.0.0
< 3.26.0
3.26.0

References

Frequently Asked Questions

What is GHSA-724c-6vrf-99rq?
GHSA-724c-6vrf-99rq is a security vulnerability in Loopback involving Sensitive Data Exposure in loopback under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor.
Which Loopback versions are affected?
Affected versions include releases prior to 2.42.0, 3.26.0 across affected packages: loopback.
What version fixes GHSA-724c-6vrf-99rq?
Upgrading to 2.42.0, 3.26.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is loopback affected?
Yes, loopback is affected in releases prior to 2.42.0, 3.26.0. Upgrade your dependency to 2.42.0, 3.26.0 or later.
What CWE is associated with GHSA-724c-6vrf-99rq?
GHSA-724c-6vrf-99rq is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor (The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.).
How can I check npm dependencies for GHSA-724c-6vrf-99rq?
Run the dependency tree command: 'npm ls loopback'. 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-724c-6vrf-99rq",
  "modified" : "2021-09-27T22:31:27Z",
  "published" : "2020-09-02T21:49:48Z",
  "aliases" : [ ],
  "summary" : "Sensitive Data Exposure in loopback",
  "details" : "Versions of `loopback` prior to 3.26.0 (3.x) and 2.42.0 (2.x) are vulnerable to Sensitive Data Exposure. Invalid API requests to the login endpoint may return information about the first user in the database. This can be used alongside other attacks for credential theft.\n\n\n## Recommendation\n\nIf you're using `loopback` 3.x upgrade to version 3.26.0 or later.\nIf you're using `loopback` 2.x upgrade to version 2.42.0 or later.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "loopback"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.42.0"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 2.41.0"
    }
  }, {
    "package" : {
      "ecosystem" : "npm",
      "name" : "loopback"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.0.0"
      }, {
        "fixed" : "3.26.0"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 3.25.0"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/strongloop/loopback/issues/4195"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/strongloop/loopback"
  }, {
    "type" : "WEB",
    "url" : "https://loopback.io/doc/en/sec/Security-advisory-06-17-2019.html"
  }, {
    "type" : "WEB",
    "url" : "https://www.npmjs.com/advisories/915"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-200" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2020-08-31T18:40:25Z",
    "nvd_published_at" : null
  }
}