{"id":"CVE-2018-3739","aliases":["CLSA-2026-1776904630","EUVD-2018-0249","GHSA-8g7p-74h8-hg48","GHSA-pc5p-h8pf-mvwp"],"status":"published","title":"Denial of Service in https-proxy-agent","description":"https-proxy-agent before 2.1.1 passes auth option to the Buffer constructor without proper sanitization, resulting in DoS and uninitialized memory leak in setups where an attacker could submit typed input to the 'auth' parameter (e.g. JSON).","severity":{"version":"3.0","score":9.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.01735,"percentile":0.77818,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-125","CWE-300","CWE-400"],"published":"2018-06-07T02:00:00Z","modified":"2026-10-24T10:30:37Z","fixes":[{"ecosystem":"npm","package":"https-proxy-agent","fixed_in":["2.2.0","2.2.3"],"sources":["ghsa","osv"]},{"ecosystem":"TuxCare:npm","package":"https-proxy-agent","fixed_in":["1.0.0-tuxcare.1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"https-proxy-agent","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.0"}]}]},{"source":"ghsa","ecosystem":"npm","package":"https-proxy-agent","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.3"}]}]},{"source":"osv","ecosystem":"TuxCare:npm","package":"https-proxy-agent","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0.0-tuxcare.0"},{"fixed":"1.0.0-tuxcare.1"}]}],"versions":["1.0.0"]},{"source":"osv","ecosystem":"npm","package":"https-proxy-agent","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.2.0"}]}]},{"source":"osv","ecosystem":"npm","package":"https-proxy-agent","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.2.3"}]}]}],"products":[{"vendor":"hackerone","product":"https-proxy-agent node module"},{"vendor":"https-proxy-agent_project","product":"https-proxy-agent"}],"references":[{"url":"https://hackerone.com/reports/319532","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-3736","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-8g7p-74h8-hg48","tags":["advisory"]},{"url":"https://www.npmjs.com/advisories/593","tags":["web"]},{"url":"https://github.com/TooTallNate/node-https-proxy-agent/commit/1c24219df87524e6ed973127e81f30801d658f07","tags":["web"]},{"url":"https://github.com/TooTallNate/node-https-proxy-agent/commit/36d8cf509f877fa44f4404fce57ebaf9410fe51b","tags":["web"]},{"url":"https://hackerone.com/reports/541502","tags":["web"]},{"url":"https://www.npmjs.com/advisories/1184","tags":["web"]},{"url":"https://snyk.io/vuln/SNYK-JS-HTTPSPROXYAGENT-469131","tags":["web"]},{"url":"https://github.com/advisories/GHSA-pc5p-h8pf-mvwp"},{"url":"https://github.com/TooTallNate/node-https-proxy-agent","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2018-3739","description":"https-proxy-agent before 2.1.1 passes auth option to the Buffer constructor without proper sanitization, resulting in DoS and uninitialized memory leak in setups where an attacker could submit typed input to the 'auth' parameter (e.g. JSON).","status":"published","published":"2018-06-07T02:00:00Z","modified":"2024-09-17T04:25:44.584Z","cwes":["CWE-400"],"updated_at":"2026-11-02T14:35:05.262903Z"}],"euvd":[{"id":"EUVD-2018-0249","description":"https-proxy-agent before 2.1.1 passes auth option to the Buffer constructor without proper sanitization, resulting in DoS and uninitialized memory leak in setups where an attacker could submit typed input to the 'auth' parameter (e.g. JSON).","status":"published","published":"2018-06-07T02:00:00Z","modified":"2024-09-17T04:25:44Z","updated_at":"2026-11-03T00:28:23.116921Z"}],"ghsa":[{"id":"GHSA-8g7p-74h8-hg48","title":"Denial of Service in https-proxy-agent","description":"Versions of `https-proxy-agent` before 2.2.0 are vulnerable to denial of service. This is due to unsanitized options (proxy.auth) being passed to `Buffer()`.\n\n\n## Recommendation\n\nUpdate to version 2.2.0 or later.","status":"published","published":"2018-07-27T17:04:52Z","modified":"2023-01-09T05:03:13Z","cvss":[{"version":"3.0","score":9.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","level":"critical"}],"cwes":["CWE-125","CWE-400"],"updated_at":"2026-11-02T14:36:04.396827Z"},{"id":"GHSA-pc5p-h8pf-mvwp","title":"Machine-In-The-Middle in https-proxy-agent","description":"Versions of `https-proxy-agent` prior to 2.2.3 are vulnerable to Machine-In-The-Middle. The package fails to enforce TLS on the socket if the proxy server responds the to the request with a HTTP status different than 200. This allows an attacker with access to the proxy server to intercept unencrypted communications, which may include sensitive information such as credentials.\n\n\n## Recommendation\n\nUpgrade to version 3.0.0 or 2.2.3.","status":"published","published":"2020-04-16T03:14:56Z","modified":"2023-11-01T20:54:13Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N","level":"medium"}],"cwes":["CWE-300"],"updated_at":"2026-11-02T14:37:11.48574Z"}],"nvd":[{"id":"CVE-2018-3739","description":"https-proxy-agent before 2.1.1 passes auth option to the Buffer constructor without proper sanitization, resulting in DoS and uninitialized memory leak in setups where an attacker could submit typed input to the 'auth' parameter (e.g. JSON).","status":"published","published":"2018-06-07T02:29:08.973Z","modified":"2026-06-17T01:57:45.08Z","cvss":[{"version":"3.0","score":9.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":6.4,"vector":"AV:N/AC:L/Au:N/C:P/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-400","CWE-125"],"updated_at":"2026-11-02T14:04:28.483469Z"}],"osv":[{"id":"CVE-2018-3739","description":"https-proxy-agent before 2.1.1 passes auth option to the Buffer constructor without proper sanitization, resulting in DoS and uninitialized memory leak in setups where an attacker could submit typed input to the 'auth' parameter (e.g. JSON).","status":"published","published":"2018-06-07T02:29:08.973Z","modified":"2026-10-24T10:30:37.390644593Z","cvss":[{"version":"3.0","score":9.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:09.442568Z"},{"id":"GHSA-8g7p-74h8-hg48","title":"Denial of Service in https-proxy-agent","description":"Versions of `https-proxy-agent` before 2.2.0 are vulnerable to denial of service. This is due to unsanitized options (proxy.auth) being passed to `Buffer()`.\n\n\n## Recommendation\n\nUpdate to version 2.2.0 or later.","status":"published","published":"2018-07-27T17:04:52Z","modified":"2026-09-10T03:46:37.019903328Z","cvss":[{"version":"3.0","score":9.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","level":"critical"}],"cwes":["CWE-125","CWE-400"],"updated_at":"2026-11-02T15:46:42.437513Z"},{"id":"GHSA-pc5p-h8pf-mvwp","title":"Machine-In-The-Middle in https-proxy-agent","description":"Versions of `https-proxy-agent` prior to 2.2.3 are vulnerable to Machine-In-The-Middle. The package fails to enforce TLS on the socket if the proxy server responds the to the request with a HTTP status different than 200. This allows an attacker with access to the proxy server to intercept unencrypted communications, which may include sensitive information such as credentials.\n\n\n## Recommendation\n\nUpgrade to version 3.0.0 or 2.2.3.","status":"published","published":"2020-04-16T03:14:56Z","modified":"2023-11-01T20:54:11Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N","level":"medium"}],"cwes":["CWE-300"],"updated_at":"2026-11-02T15:46:52.891208Z"},{"id":"CLSA-2026-1776904630","title":"TuxCare security update for https-proxy-agent (2 CVEs)","description":"TuxCare rebuilt https-proxy-agent to address 2 CVEs. Fixed in 1.0.0-tuxcare.1.","status":"published","published":"2026-08-04T14:52:27Z","modified":"2026-10-15T09:45:46.422708961Z","updated_at":"2026-11-02T15:43:44.384419Z"}]}}
