GHSA-wrw9-m778-g6mc: Bl Memory Exposure Vulnerability
MODERATEGHSA-wrw9-m778-g6mc is a MODERATE memory exposure vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Bl libraries in the npm ecosystem. The issue involves memory exposure in bl. Remediation is available by upgrading affected packages to version 0.9.5, 1.0.1.
GHSA-wrw9-m778-g6mc at a Glance
How to Fix GHSA-wrw9-m778-g6mc
To remediate this vulnerability, upgrade all affected Bl 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 bl@0.9.5
npm install bl@1.0.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls bl
How to Check if You Are Affected
To determine whether your Node.js application is affected by GHSA-wrw9-m778-g6mc, inspect your project dependencies using npm:
npm ls bl
Analyze the terminal output to locate any version of Bl in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.9.5), your application is affected.
Note: The npm ls bl 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 Bl, 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-wrw9-m778-g6mc Affected Bl Versions
2 component(s)References
Frequently Asked Questions
What is GHSA-wrw9-m778-g6mc?
Which Bl versions are affected?
What version fixes GHSA-wrw9-m778-g6mc?
Is bl affected?
What CWE is associated with GHSA-wrw9-m778-g6mc?
How can I check npm dependencies for GHSA-wrw9-m778-g6mc?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-wrw9-m778-g6mc",
"modified" : "2020-08-31T18:29:15Z",
"published" : "2019-06-03T17:27:57Z",
"aliases" : [ ],
"summary" : "Memory Exposure in bl",
"details" : "Versions of `bl` before 0.9.5 and 1.0.1 are vulnerable to memory exposure.\n\n`bl.append(number)` in the affected `bl` versions passes a number to Buffer constructor, appending a chunk of uninitialized memory\n\n\n## Recommendation\n\nUpdate to version 0.9.5, 1.0.1 or later.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "bl"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.9.5"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "bl"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.0.0"
}, {
"fixed" : "1.0.1"
} ]
} ],
"versions" : [ "1.0.0" ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/rvagg/bl/pull/22"
}, {
"type" : "WEB",
"url" : "https://www.npmjs.com/advisories/596"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-200" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2019-06-03T17:23:00Z",
"nvd_published_at" : null
}
}