{"id":"GHSA-g74r-ffvr-5q9f","aliases":["GHSA-g74r-ffvr-5q9f"],"related":[],"kind":"vulnerability","state":"published","title":"Memory Exposure in concat-stream","summary":"Versions of `concat-stream` before 1.5.2 are vulnerable to memory exposure if userp provided input is passed into `write()`\n\nVersions <1.3.0 are not affected due to not using unguarded Buffer constructor.\n\n\n\n## Recommendation\n\nUpdate to version 1.5.2, 1.4.11, 1.3.2 or later.\n\nIf you are unable to update make sure user provided input into the `write()` function is not a number.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"Versions of `concat-stream` before 1.5.2 are vulnerable to memory exposure if userp provided input is passed into `write()`\n\nVersions <1.3.0 are not affected due to not using unguarded Buffer constructor.\n\n\n\n## Recommendation\n\nUpdate to version 1.5.2, 1.4.11, 1.3.2 or later.\n\nIf you are unable to update make sure user provided input into the `write()` function is not a number.","format":"markdown","source":"ghsa"}],"published":"2019-06-03T17:26:44.000Z","modified":"2020-08-31T18:29:17.000Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-200"],"affected":[{"ranges":[{"type":"semver","introduced":"1.5.0","status":"affected","fixed":"1.5.2"}],"ecosystem":"npm","package":"concat-stream","purl":"pkg:npm/concat-stream","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"1.4.0","status":"affected","fixed":"1.4.11"}],"ecosystem":"npm","package":"concat-stream","purl":"pkg:npm/concat-stream","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"1.3.0","status":"affected","fixed":"1.3.2"}],"ecosystem":"npm","package":"concat-stream","purl":"pkg:npm/concat-stream","source":"ghsa"}],"references":[{"url":"https://github.com/maxogden/concat-stream/pull/47","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/maxogden/concat-stream/pull/47/commits/3e285ba5e5b10b7c98552217f5c1023829efe69e","tags":["web"],"sources":["ghsa"]},{"url":"https://gist.github.com/ChALkeR/c2d2fd3f1d72d51ad883df195be03a85","tags":["web"],"sources":["ghsa"]},{"url":"https://www.npmjs.com/advisories/597","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-g74r-ffvr-5q9f","url":"https://github.com/advisories/GHSA-g74r-ffvr-5q9f","licence":"CC-BY-4.0","modified":"2020-08-31T18:29:17.000Z"}],"updatedAt":"2026-11-25T22:56:45.384Z"}