GHSA-v6gv-fg46-h89j: Put Sensitive Data Exposure Vulnerability

LOW
CWE-200
Published
Advisory Summary

GHSA-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

CVE Identifier N/A
GHSA Identifier GHSA-v6gv-fg46-h89j
Severity LOW
CVSS v3.1 Base Score N/A
CWE Classification CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
Affected Product Put
Package Ecosystem npm
Published Date
Last Updated

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.

put fixed: Latest secure release
npm install put@Latest secure release
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 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

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. ## Recommendation Upgrade your Node.js version or consider using an alternative package.

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?
GHSA-v6gv-fg46-h89j is a security vulnerability in Put involving Sensitive Data Exposure in put under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor.
Which Put versions are affected?
Affected versions include releases prior to current release patches across affected packages: put.
What version fixes GHSA-v6gv-fg46-h89j?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is put affected?
Yes, put is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What CWE is associated with GHSA-v6gv-fg46-h89j?
GHSA-v6gv-fg46-h89j 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-v6gv-fg46-h89j?
Run the dependency tree command: 'npm ls put'. 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-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
  }
}