Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

250
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar

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 Denunciar

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda