Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

249
Views
Vulnerability in NestJS 8.4.5

Recently, when I run npm audit in my npm package, I receive the following error:

npm audit report

The problem seems to be in the dicer package which is a very popular package used by NestJS.

I searched the web for possible solutions but can't find any fixes. Has anyone been able to fix this yet?

Thanks in advance.

about 4 years ago · Juan Pablo Isaza
3 answers
Answer question

0

Has anyone been able to fix this yet?

No, or at least not in a published form. A fix for the dicer bug is not available. The URL in the picture of the text you included says that.

NPM is offering to downgrade nestjs/core to a version that doesn't depend on it. That will fix the issue (although probably create others).

Looking at the Github page for dice shows a bug report where you can get upto date information about the state of any fix.

about 4 years ago · Juan Pablo Isaza Report

0

Found a temporary solution until it will be fixed by devs, by using overrides - all honors to @hiagodotme

  1. Delete package-lock.json & node_modules
  2. Provide overrides for multer in package.json ( npm 8.x )
  "overrides": {
        "multer": "^1.4.4-lts.1"
    }, 
  1. Re-install modules
about 4 years ago · Juan Pablo Isaza Report

0

It seems that NestJS has fixed it by removing dicer from their packages. I fixed the issue just by deleting the package-lock.json and node_modules folder and running npm install again.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!