Skip to content

Memory Exposure in tunnel-agent

Moderate severity GitHub Reviewed Published Jun 3, 2019 to the GitHub Advisory Database • Updated Jan 9, 2023

Package

npm tunnel-agent (npm)

Affected versions

< 0.6.0

Patched versions

0.6.0

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.

References

Reviewed Jun 3, 2019
Published to the GitHub Advisory Database Jun 3, 2019
Last updated Jan 9, 2023

Severity

Moderate

Weaknesses

CVE ID

No known CVE

GHSA ID

GHSA-xc7v-wxcw-j472

Source code

No known source code
Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.