GHSA-3p92-886g-qxpq

Suggest an improvement
Source
https://github.com/advisories/GHSA-3p92-886g-qxpq
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/06/GHSA-3p92-886g-qxpq/GHSA-3p92-886g-qxpq.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-3p92-886g-qxpq
Published
2019-06-04T15:42:32Z
Modified
2021-08-04T21:27:04Z
Severity
  • 5.1 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
Remote Memory Exposure in floody
Details

Versions of floody before 0.1.1 are vulnerable to remote memory exposure.

.write(number)in the affectedfloody` 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.
Database specific
{
    "cwe_ids":  [
        "CWE-201"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2019-06-04T15:40:44Z",
    "nvd_published_at":  null,
    "severity":  "MODERATE"
}
References

Affected packages

npm / floody

Package

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0.1.1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/06/GHSA-3p92-886g-qxpq/GHSA-3p92-886g-qxpq.json"