tunnel-agent@0.5.0 vulnerabilities

HTTP proxy tunneling agent. Formerly part of mikeal/request, now a standalone module.

Direct Vulnerabilities

Known vulnerabilities in the tunnel-agent package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • M
Uninitialized Memory Exposure

tunnel-agent is HTTP proxy tunneling agent. Affected versions of the package are vulnerable to Uninitialized Memory Exposure.

A possible memory disclosure vulnerability exists when a value of type number is used to set the proxy.auth option of a request request and results in a possible uninitialized memory exposures in the request body.

This is a result of unobstructed use of the Buffer constructor, whose insecure default constructor increases the odds of memory leakage.

How to fix Uninitialized Memory Exposure?

Upgrade tunnel-agent to version 0.6.0 or higher. Note This is vulnerable only for Node <=4

<0.6.0