node-modules/urllib

Vulnerability netmask npm package vulnerable to octal input data

jialinNEU opened this issue · 4 comments

When running npm audit command, found this high severity vulnerability (same as issue title) in urllib package. Any further plan to fix this issue? Thx

https://snyk.io/vuln/SNYK-JS-NETMASK-1089716 is the vulnerability, which suggests updating to 2.0.1 will resolve the issue.

┌───────────────┬──────────────────────────────────────────────────────────────┐
│ High          │ netmask npm package vulnerable to octal input data           │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package       │ netmask                                                      │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ proxy-agent                                                  │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path          │ proxy-agent > pac-proxy-agent > pac-resolver > netmask       │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info     │ https://npmjs.com/advisories/1658                            │
└───────────────┴──────────────────────────────────────────────────────────────┘

Follow this ticket and this library can be updated when proxy-agent is resolved TooTallNate/node-proxy-agent#61

Actually looks like all we need to do is upgrade proxy-agent to v4 and it should pull in the security fix.