GHSA-724c-6vrf-99rq: Loopback Sensitive Data Exposure Vulnerability
LOWGHSA-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
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.
npm install loopback@2.42.0
npm install loopback@3.26.0
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
GHSA-724c-6vrf-99rq Affected Loopback Versions
2 component(s)| 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?
Which Loopback versions are affected?
What version fixes GHSA-724c-6vrf-99rq?
Is loopback affected?
What CWE is associated with GHSA-724c-6vrf-99rq?
How can I check npm dependencies for GHSA-724c-6vrf-99rq?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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
}
}