GHSA-v6gv-fg46-h89j: Put Sensitive Data Exposure Vulnerability
LOWGHSA-v6gv-fg46-h89j is a LOW sensitive data exposure vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Put libraries in the npm ecosystem. The issue involves sensitive data exposure in put. Remediation is available in the latest vendor maintenance releases.
GHSA-v6gv-fg46-h89j at a Glance
How to Fix GHSA-v6gv-fg46-h89j
To remediate this vulnerability, upgrade all affected Put 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 put@Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls put
How to Check if You Are Affected
To determine whether your Node.js application is affected by GHSA-v6gv-fg46-h89j, inspect your project dependencies using npm:
npm ls put
Analyze the terminal output to locate any version of Put 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 put 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 Put, 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-v6gv-fg46-h89j Affected Put Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
put
|
npm |
|
|
References
Frequently Asked Questions
What is GHSA-v6gv-fg46-h89j?
Which Put versions are affected?
What version fixes GHSA-v6gv-fg46-h89j?
Is put affected?
What CWE is associated with GHSA-v6gv-fg46-h89j?
How can I check npm dependencies for GHSA-v6gv-fg46-h89j?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-v6gv-fg46-h89j",
"modified" : "2020-08-31T18:43:51Z",
"published" : "2020-09-03T16:48:36Z",
"aliases" : [ ],
"summary" : "Sensitive Data Exposure in put",
"details" : "All versions of `put` are vulnerable to Uninitialized Memory Exposure. The package incorrectly calculates the allocated Buffer size and does not trim the bytes written, which may allow attackers to access uninitialized memory containing sensitive data. This vulnerability only affects versions of Node.js <=6.x.\n\n\n## Recommendation\n\nUpgrade your Node.js version or consider using an alternative package.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "put"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://hackerone.com/reports/321702"
}, {
"type" : "WEB",
"url" : "https://www.npmjs.com/advisories/1007"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-200" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2020-08-31T18:43:51Z",
"nvd_published_at" : null
}
}