Closed
Description
From May 14, 2020,
NPM raised the "http-proxy" package's security vulnerability warning to HighLevel.
As a result, the "http-proxy" package was blocked warned by npm-audit.
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ High │ Denial of Service │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package │ http-proxy │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in │ No patch available │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ react-scripts │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path │ react-scripts > webpack-dev-server > http-proxy-middleware > │
│ │ http-proxy │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info │ https://npmjs.com/advisories/1486 │
└───────────────┴──────────────────────────────────────────────────────────────┘
I know that this package is used in the CRA's "react-scripts" package.
Thus, node-package-management attempts are blocked at root of all CRA-based projects
found 2 bannerabilities (1 low, 1 high)
Run 'npm audit fix' to fix them, or 'npm audit' for details
I can't analyze security issues in detail. but according to two references - (a)where "http-proxy" is referenced in the CRA and (b)"npm audit log"
react-scripts > webpack-dev-server > http-proxy-middleware > http-proxy
I thought only "webpack-dev-server" was directly affected by this issue.
Based on these,
- "npm build" is not affected. Is this right?
- When opening the dev server through "npm start." If this is localhost or private network.. It seems irrelevant to this security issue. Is this right?
I was just wondering before using the npm-install "-- no-audit" option.
npm install [package-name] --no-audit
Please give me any comment on this.