{"id":"GHSA-xc7v-wxcw-j472","summary":"Memory Exposure in tunnel-agent","details":"Versions of `tunnel-agent` before 0.6.0 are vulnerable to memory exposure.\n\nThis is exploitable if user supplied input is provided to the auth value and is a number.\n\nProof-of-concept:\n```js\nrequire('request')({\n  method: 'GET',\n  uri: 'http://www.example.com',\n  tunnel: true,\n  proxy:{\n    protocol: 'http:',\n    host:'127.0.0.1',\n    port:8080,\n    auth:USERSUPPLIEDINPUT // number\n  }\n});\n```\n\n\n## Recommendation\n\nUpdate to version 0.6.0 or later.","modified":"2020-08-31T18:29:19Z","published":"2019-06-03T17:08:26Z","database_specific":{"cwe_ids":["CWE-200"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2019-06-03T17:08:06Z","nvd_published_at":null},"references":[{"type":"WEB","url":"https://github.com/request/tunnel-agent/commit/9ca95ec7219daface8a6fc2674000653de0922c0"},{"type":"WEB","url":"https://gist.github.com/ChALkeR/fd6b2c445834244e7d440a043f9d2ff4"},{"type":"WEB","url":"https://www.npmjs.com/advisories/598"}],"affected":[{"package":{"name":"tunnel-agent","ecosystem":"npm","purl":"pkg:npm/tunnel-agent"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.6.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/06/GHSA-xc7v-wxcw-j472/GHSA-xc7v-wxcw-j472.json"}}],"schema_version":"1.9.0"}