# GHSA-v6gv-fg46-h89j: Sensitive Data Exposure in put

- Severity: Low (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2020-09-03T16:48:36.000Z
- Modified: 2020-08-31T18:43:51.000Z
- Weaknesses: CWE-200

## Description

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.

(As written by GitHub Advisory Database.)

## Affected

- put (npm): all versions

## References

- <https://hackerone.com/reports/321702> (web)
- <https://www.npmjs.com/advisories/1007> (web)

## Sources

- GitHub Advisory Database: [GHSA-v6gv-fg46-h89j](https://github.com/advisories/GHSA-v6gv-fg46-h89j), CC-BY-4.0, modified 2020-08-31

---

Page: https://cve.day/GHSA-v6gv-fg46-h89j · Whole record: https://cve.day/GHSA-v6gv-fg46-h89j.json · Rebuilt by cve.day 2026-11-25T22:56:46.589Z
