mailgun/mailgun-js-boland

[SECURITY] Machine-In-The-Middle

Opened this issue · 0 comments

1) What version of the module is the issue happening on? Does the issue happen on latest version?

Version: 0.22.0

2) What platform and Node.js version? (For example Node.js 6.9.1 on Mac OS X)

  • Node v13.7.0
  • npm v6.14.6
  • Linux Ubuntu 20.04*

3) Does the action work when you manually perform request against mailgun using curl (or other means)?

Not apply

4) Sample source code or steps to reproduce

npm audit
# Run  npm update https-proxy-agent --depth 4  to resolve 2 vulnerabilities
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ High          │ Machine-In-The-Middle                                        │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package       │ https-proxy-agent                                            │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ mailgun-js                                                   │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path          │ mailgun-js > proxy-agent > https-proxy-agent                 │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info     │ https://npmjs.com/advisories/1184                            │
└───────────────┴──────────────────────────────────────────────────────────────┘


┌───────────────┬──────────────────────────────────────────────────────────────┐
│ High          │ Machine-In-The-Middle                                        │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package       │ https-proxy-agent                                            │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ mailgun-js                                                   │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path          │ mailgun-js > proxy-agent > pac-proxy-agent >                 │
│               │ https-proxy-agent                                            │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info     │ https://npmjs.com/advisories/1184                            │
└───────────────┴──────────────────────────────────────────────────────────────┘

Solution

Update dependencies:

"https-proxy-agent": "^3.0.0"