GHSA-xc7v-wxcw-j472
MEDIUMMemory Exposure in tunnel-agent
Versions of tunnel-agent before 0.6.0 are vulnerable to memory exposure.
This is exploitable if user supplied input is provided to the auth value and is a number.
Proof-of-concept:
require('request')({
method: 'GET',
uri: 'http://www.example.com',
tunnel: true,
proxy:{
protocol: 'http:',
host:'127.0.0.1',
port:8080,
auth:USERSUPPLIEDINPUT // number
}
});
Recommendation
Update to version 0.6.0 or later.
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | tunnel-agent | < 0.6.0 | 0.6.0 |
References
- https://github.com/request/tunnel-agent/commit/9ca95ec7219daface8a6fc2674000653de0922c0 · WEB
- https://gist.github.com/ChALkeR/fd6b2c445834244e7d440a043f9d2ff4 · WEB
- https://www.npmjs.com/advisories/598 · WEB
History
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 3 Jun 2019)