ghsa-xc7v-wxcw-j472
Vulnerability from github
Published
2019-06-03 17:08
Modified
2020-08-31 18:29
VLAI Severity ?
Summary
Memory Exposure in tunnel-agent
Details
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:
js
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": [
{
"package": {
"ecosystem": "npm",
"name": "tunnel-agent"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "0.6.0"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [],
"database_specific": {
"cwe_ids": [
"CWE-200"
],
"github_reviewed": true,
"github_reviewed_at": "2019-06-03T17:08:06Z",
"nvd_published_at": null,
"severity": "MODERATE"
},
"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(\u0027request\u0027)({\n method: \u0027GET\u0027,\n uri: \u0027http://www.example.com\u0027,\n tunnel: true,\n proxy:{\n protocol: \u0027http:\u0027,\n host:\u0027127.0.0.1\u0027,\n port:8080,\n auth:USERSUPPLIEDINPUT // number\n }\n});\n```\n\n\n## Recommendation\n\nUpdate to version 0.6.0 or later.",
"id": "GHSA-xc7v-wxcw-j472",
"modified": "2020-08-31T18:29:19Z",
"published": "2019-06-03T17:08:26Z",
"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"
}
],
"schema_version": "1.4.0",
"severity": [],
"summary": "Memory Exposure in tunnel-agent"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…