{"id":"GHSA-pc5p-h8pf-mvwp","aliases":["GHSA-pc5p-h8pf-mvwp"],"related":[],"kind":"vulnerability","state":"published","title":"Machine-In-The-Middle in https-proxy-agent","summary":"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.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"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.","format":"markdown","source":"ghsa"}],"published":"2020-04-16T03:14:56.000Z","modified":"2023-11-01T20:54:11.000Z","severity":{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-300"],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.2.3"}],"ecosystem":"npm","package":"https-proxy-agent","purl":"pkg:npm/https-proxy-agent","source":"ghsa"}],"references":[{"url":"https://github.com/TooTallNate/node-https-proxy-agent/commit/36d8cf509f877fa44f4404fce57ebaf9410fe51b","tags":["web"],"sources":["ghsa"]},{"url":"https://hackerone.com/reports/541502","tags":["web"],"sources":["ghsa"]},{"url":"https://snyk.io/vuln/SNYK-JS-HTTPSPROXYAGENT-469131","tags":["web"],"sources":["ghsa"]},{"url":"https://www.npmjs.com/advisories/1184","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-pc5p-h8pf-mvwp","url":"https://github.com/advisories/GHSA-pc5p-h8pf-mvwp","licence":"CC-BY-4.0","modified":"2023-11-01T20:54:11.000Z"}],"updatedAt":"2026-11-25T22:56:46.112Z"}