# GHSA-g74r-ffvr-5q9f: Memory Exposure in concat-stream

- Severity: Medium (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2019-06-03T17:26:44.000Z
- Modified: 2020-08-31T18:29:17.000Z
- Weaknesses: CWE-200

## Description

Versions of `concat-stream` before 1.5.2 are vulnerable to memory exposure if userp provided input is passed into `write()`

Versions <1.3.0 are not affected due to not using unguarded Buffer constructor.



## Recommendation

Update to version 1.5.2, 1.4.11, 1.3.2 or later.

If you are unable to update make sure user provided input into the `write()` function is not a number.

(As written by GitHub Advisory Database.)

## Affected

- concat-stream (npm): from 1.5.0 before 1.5.2; from 1.4.0 before 1.4.11; from 1.3.0 before 1.3.2

## References

- <https://github.com/maxogden/concat-stream/pull/47> (web)
- <https://github.com/maxogden/concat-stream/pull/47/commits/3e285ba5e5b10b7c98552217f5c1023829efe69e> (web)
- <https://gist.github.com/ChALkeR/c2d2fd3f1d72d51ad883df195be03a85> (web)
- <https://www.npmjs.com/advisories/597> (web)

## Sources

- GitHub Advisory Database: [GHSA-g74r-ffvr-5q9f](https://github.com/advisories/GHSA-g74r-ffvr-5q9f), CC-BY-4.0, modified 2020-08-31

---

Page: https://cve.day/GHSA-g74r-ffvr-5q9f · Whole record: https://cve.day/GHSA-g74r-ffvr-5q9f.json · Rebuilt by cve.day 2026-11-25T22:56:45.384Z
