-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CVE-2023-42282 An issue in NPM IP Package when scanning with trivy #2030
Comments
That needs to be fixed in ip, then adopted in npm, then npm must be updated in node. At that point the fix will trickle down to the docker image |
But it looks like the IP project is not maintained anymore. Last commit was 2 years ago. You need to remove/replace the package. |
npm is a separate product and not maintained by Node.js, much less the Node.js Docker folks. You need to raise this with npm Inc. |
Hi @SimenB @meyfa. I am still facing this issue and would appreciate your help and guidance. |
Environment
node:20.11-alpine3.18
node:20.11-alpine3.19
node:21.6.1-alpine3.19
Expected Behavior
trivy image scan should pass
Current Behavior
trivy reports a high Severity CVE-2023-42282 for ip (package.json).
/usr/local/lib/node_modules/npm/node_modules/ip/package.json
This breaks our build.
Possible Solution
Steps to Reproduce
trivy image --format json node:20.11-alpine3.18
Additional Information
The text was updated successfully, but these errors were encountered: