GHSA-3p92-886g-qxpq: Floody Remote Memory Exposure Vulnerability

MODERATE
CVSS 5.1
CWE-201
Published
Advisory Summary

GHSA-3p92-886g-qxpq is a MODERATE (CVSS 5.1) remote memory exposure vulnerability (CWE-201: Insertion of Sensitive Information Into Sent Data) affecting Floody libraries in the npm ecosystem. The issue involves remote memory exposure in floody. Remediation is available by upgrading affected packages to version 0.1.1.

GHSA-3p92-886g-qxpq at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-3p92-886g-qxpq
Severity MODERATE
CVSS v3.1 Base Score 5.1
CWE Classification CWE-201: Insertion of Sensitive Information Into Sent Data
Affected Product Floody
Package Ecosystem npm
Published Date
Last Updated

Security Impact

CVSS: 5.1

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N).

Attack Vector Local (AV:L)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (A:N)

How to Fix GHSA-3p92-886g-qxpq

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

floody fixed: 0.1.1
npm install floody@0.1.1
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 floody

How to Check if You Are Affected

To determine whether your Node.js application is affected by GHSA-3p92-886g-qxpq, inspect your project dependencies using npm:

npm ls floody

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

Note: The npm ls floody 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-201: Insertion of Sensitive Information Into Sent Data, where the code transmits data to another actor, but a portion of the data includes sensitive information that should not be accessible to that actor. In Floody, 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 `floody` before 0.1.1 are vulnerable to remote memory exposure. .write(number)` in the affected `floody` versions passes a number to Buffer constructor, appending a chunk of uninitialized memory. Proof of Concept: ``` var f = require('floody')(process.stdout); f.write(USERSUPPLIEDINPUT); 'f.stop(); ## Recommendation Update to version 0.1.1 or later.

GHSA-3p92-886g-qxpq Affected Floody Versions

1 component(s)
Fixed Versions:
0.1.1
Product / Package Ecosystem Affected Versions Fixed Version
floody
npm
< 0.1.1
0.1.1

References

Frequently Asked Questions

What is GHSA-3p92-886g-qxpq?
GHSA-3p92-886g-qxpq is a security vulnerability in Floody involving Remote Memory Exposure in floody under CWE-201: Insertion of Sensitive Information Into Sent Data.
Which Floody versions are affected?
Affected versions include releases prior to 0.1.1 across affected packages: floody.
What version fixes GHSA-3p92-886g-qxpq?
Upgrading to 0.1.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is floody affected?
Yes, floody is affected in releases prior to 0.1.1. Upgrade your dependency to 0.1.1 or later.
What is the CVSS score of GHSA-3p92-886g-qxpq?
GHSA-3p92-886g-qxpq has a CVSS v3.1 base score of 5.1 (MODERATE) with vector string CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with GHSA-3p92-886g-qxpq?
GHSA-3p92-886g-qxpq is classified under CWE-201: Insertion of Sensitive Information Into Sent Data (The code transmits data to another actor, but a portion of the data includes sensitive information that should not be accessible to that actor.).
How can I check npm dependencies for GHSA-3p92-886g-qxpq?
Run the dependency tree command: 'npm ls floody'. 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-3p92-886g-qxpq",
  "modified" : "2021-08-04T21:27:04Z",
  "published" : "2019-06-04T15:42:32Z",
  "aliases" : [ ],
  "summary" : "Remote Memory Exposure in floody",
  "details" : "Versions of `floody` before 0.1.1 are vulnerable to remote memory exposure.\n\n.write(number)` in the affected `floody` versions passes a number to Buffer constructor, appending a chunk of uninitialized memory.\n\nProof of Concept: \n\n```\nvar f = require('floody')(process.stdout); \nf.write(USERSUPPLIEDINPUT); \n'f.stop();\n\n\n## Recommendation\n\nUpdate to version 0.1.1 or later.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "floody"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.1.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/soldair/node-floody/commit/6c44722312131f4ac8a1af40f0f861c85efe01b0"
  }, {
    "type" : "WEB",
    "url" : "https://snyk.io/vuln/npm:floody:20160115"
  }, {
    "type" : "WEB",
    "url" : "https://www.npmjs.com/advisories/601"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-201" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2019-06-04T15:40:44Z",
    "nvd_published_at" : null
  }
}