Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 415 Bytes

README.md

File metadata and controls

12 lines (9 loc) · 415 Bytes

Repo demonstrating CVE-2021-43616 / npm/cli#2701

Remove the node_modules folder and run npx npm@8 ci, you can see how npm will install version 2.2.x (2.2.16 at the time of this commit) even though package-lock.json requires 2.0.0

cat node_modules/shortid/package.json

I've commited the node_modules from the original install so the issue is obvious after running npm ci