Vulnerabilities in pkg:npm/floody
PACKAGEGHSA-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.
pkg:npm/floody
Vulnerability advisories affecting package pkg:npm/floody. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-3p92-886g-qxpq | - | MODERATE | Remote Memory Exposure in floody |
GHSA-3p92-886g-qxpq at a Glance
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).
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.
npm install floody@0.1.1
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
GHSA-3p92-886g-qxpq Affected Floody Versions
1 component(s)| 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?
Which Floody versions are affected?
What version fixes GHSA-3p92-886g-qxpq?
Is floody affected?
What is the CVSS score of GHSA-3p92-886g-qxpq?
What CWE is associated with GHSA-3p92-886g-qxpq?
How can I check npm dependencies for GHSA-3p92-886g-qxpq?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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
}
}