Repository navigation
Closed
Description
Blocking CI/CD in company project using @nestjs/cli
Prototype Pollution in minimist
> pnpm audit
┌─────────────────────┬───────────────────────────────────────────────────┐
│ high │ Prototype Pollution in minimist │
├─────────────────────┼───────────────────────────────────────────────────┤
│ Package │ minimist │
├─────────────────────┼───────────────────────────────────────────────────┤
│ Vulnerable versions │ <=1.2.5 │
├─────────────────────┼───────────────────────────────────────────────────┤
│ Patched versions │ <0.0.0 │
├─────────────────────┼───────────────────────────────────────────────────┤
│ More info │ https://github.com/advisories/GHSA-xvch-5gv4-984h │
└─────────────────────┴───────────────────────────────────────────────────┘
1 vulnerabilities found
Severity: 1 high> pnpm why minimist
Legend: production dependency, optional only, dev only
dependencies:
@nestjs/apollo 10.0.7
├─┬ @nestjs/core 8.4.2 peer
│ └─┬ @nestjs/platform-express 8.4.2 peer
│ └─┬ multer 1.4.4
│ └─┬ mkdirp 0.5.5
│ └── minimist 1.2.6
└─┬ @nestjs/graphql 10.0.7 peer
└─┬ @nestjs/core 8.4.2 peer
└─┬ @nestjs/platform-express 8.4.2 peer
└─┬ multer 1.4.4
└─┬ mkdirp 0.5.5
└── minimist 1.2.6
@nestjs/core 8.4.2
└─┬ @nestjs/platform-express 8.4.2 peer
└─┬ multer 1.4.4
└─┬ mkdirp 0.5.5
└── minimist 1.2.6
@nestjs/graphql 10.0.7
└─┬ @nestjs/core 8.4.2 peer
└─┬ @nestjs/platform-express 8.4.2 peer
└─┬ multer 1.4.4
└─┬ mkdirp 0.5.5
└── minimist 1.2.6
@nestjs/platform-express 8.4.2
└─┬ multer 1.4.4
└─┬ mkdirp 0.5.5
└── minimist 1.2.6
devDependencies:
@nestjs/cli 8.2.4
├─┬ @angular-devkit/schematics-cli 13.3.0
│ └── minimist 1.2.5
├─┬ tsconfig-paths 3.14.0
│ ├─┬ json5 1.0.1
│ │ └── minimist 1.2.6
│ └── minimist 1.2.6
└─┬ tsconfig-paths-webpack-plugin 3.5.2
└─┬ tsconfig-paths 3.14.0
├─┬ json5 1.0.1
│ └── minimist 1.2.6
└── minimist 1.2.6
@nestjs/testing 8.4.2
├─┬ @nestjs/core 8.4.2 peer
│ └─┬ @nestjs/platform-express 8.4.2 peer
│ └─┬ multer 1.4.4
│ └─┬ mkdirp 0.5.5
│ └── minimist 1.2.6
└─┬ @nestjs/platform-express 8.4.2 peer
└─┬ multer 1.4.4
└─┬ mkdirp 0.5.5
└── minimist 1.2.6
tsconfig-paths 3.14.0
├─┬ json5 1.0.1
│ └── minimist 1.2.6
└── minimist 1.2.6Reacted by Karim El Asli, Trykers, Thomas Ruiz, Ollie Davies, Rémi Sormain, RolfDramdal, Semaphor, Todor, code4break, Najeeb and 1 more
Activity
Shinigami92 commentedon Mar 22, 2022
Temporary workaround => add this to
package.json:So at least this unblocks my CI
alan-agius4 commentedon Mar 22, 2022
It appears that 1.2.6 is still vulnerable https://snyk.io/test/npm/minimist/1.2.6
That said, it is important to point out that we don't expect the CLI to run in production environments where this vulnerability can be exploited.
zackdotcomputer commentedon Mar 23, 2022
Filed with them: https://github.com/substack/minimist/issues/168
Agreed that this isn't a must-fix-right-away issue because its in a CLI, my main concern over on my project is that someone runs
npm audit fix --forceand winds up downgrading our use of@nestjs/cli(which depends on this repo) back a few years.fix(@angular-devkit/architect-cli): update `minimist` to `1.2.6`
fix(@angular-devkit/schematics-cli): update `minimist` to `1.2.6`
fix(@angular-devkit/benchmark): update `minimist` to `1.2.6`
fix(@angular-devkit/architect-cli): update `minimist` to `1.2.6`
fix(@angular-devkit/schematics-cli): update `minimist` to `1.2.6`
fix(@angular-devkit/benchmark): update `minimist` to `1.2.6`
fix(@angular-devkit/architect-cli): update `minimist` to `1.2.6`
fix(@angular-devkit/schematics-cli): update `minimist` to `1.2.6`
fix(@angular-devkit/benchmark): update `minimist` to `1.2.6`
alan-agius4 commentedon Mar 23, 2022
Closed via #22873
angular-automatic-lock-bot commentedon Apr 26, 2022
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.