GHSA-3p92-886g-qxpq Remote Memory Exposure in floody
Remote attackers can expose uninitialized memory by passing a number to the write method, potentially leaking sensitive data.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is GHSA-3p92-886g-qxpq?
GHSA-3p92-886g-qxpq is a vulnerability in floody, published on 4 Jun 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Which versions are affected by GHSA-3p92-886g-qxpq?
2 open source packages ship an affected version, including floody.
| Package | Affected | Fixed in |
|---|---|---|
floody npm | All versions | 0.1.1 |
floody npm | All versions | 0.1.1 |
How do I fix GHSA-3p92-886g-qxpq?
Upgrade floody to 0.1.1 or later.
Is GHSA-3p92-886g-qxpq being exploited?
There is no known exploitation of GHSA-3p92-886g-qxpq in the wild and no public exploit code.