{ "schema_version": "1.4.0", "id": "GHSA-xc7v-wxcw-j472", "modified": "2020-08-31T18:29:19Z", "published": "2019-06-03T17:08:26Z", "aliases": [], "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.", "severity": [], "affected": [ { "package": { "ecosystem": "npm", "name": "tunnel-agent" }, "ranges": [ { "type": "ECOSYSTEM", "events": [ { "introduced": "0" }, { "fixed": "0.6.0" } ] } ] } ], "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" } ], "database_specific": { "cwe_ids": [ "CWE-200" ], "severity": "MODERATE", "github_reviewed": true, "github_reviewed_at": "2019-06-03T17:08:06Z", "nvd_published_at": null } }