csi-lk / aws-ses-local

Local Amazon Simple Email Service Server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Security Vulnerability: Prototype Pollution

RohanNagar opened this issue · comments

There is a vulnerability in lodash version 4.17.4. It looks like babel-core uses this dependency, and the version of babel-core that this library uses is still on version 4.17.4.

babel-core should be upgraded so that lodash is at least 4.17.5 which fixes the vulnerability. I believe babel-core version 6.26.3 will fix it.

Also see: https://nodesecurity.io/advisories/577

Result of npm audit on a project that uses this library:

# Run  npm update babel-core --depth 3  to resolve 14 vulnerabilities
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Low           │ Prototype Pollution                                          │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package       │ lodash                                                       │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ aws-ses-local                                                │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path          │ aws-ses-local > babel-register > babel-core > babel-helpers  │
│               │ > babel-template > babel-traverse > lodash                   │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info     │ https://nodesecurity.io/advisories/577                       │
└───────────────┴──────────────────────────────────────────────────────────────┘


┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Low           │ Prototype Pollution                                          │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package       │ lodash                                                       │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ aws-ses-local                                                │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path          │ aws-ses-local > babel-register > babel-core > babel-template │
│               │ > babel-traverse > lodash                                    │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info     │ https://nodesecurity.io/advisories/577                       │
└───────────────┴──────────────────────────────────────────────────────────────┘


┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Low           │ Prototype Pollution                                          │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package       │ lodash                                                       │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ aws-ses-local                                                │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path          │ aws-ses-local > babel-register > babel-core >                │
│               │ babel-generator > babel-types > lodash                       │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info     │ https://nodesecurity.io/advisories/577                       │
└───────────────┴──────────────────────────────────────────────────────────────┘


┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Low           │ Prototype Pollution                                          │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package       │ lodash                                                       │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ aws-ses-local                                                │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path          │ aws-ses-local > babel-register > babel-core > babel-template │
│               │ > babel-types > lodash                                       │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info     │ https://nodesecurity.io/advisories/577                       │
└───────────────┴──────────────────────────────────────────────────────────────┘


┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Low           │ Prototype Pollution                                          │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package       │ lodash                                                       │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ aws-ses-local                                                │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path          │ aws-ses-local > babel-register > babel-core > babel-helpers  │
│               │ > babel-template > babel-types > lodash                      │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info     │ https://nodesecurity.io/advisories/577                       │
└───────────────┴──────────────────────────────────────────────────────────────┘


┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Low           │ Prototype Pollution                                          │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package       │ lodash                                                       │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ aws-ses-local                                                │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path          │ aws-ses-local > babel-register > babel-core > babel-template │
│               │ > lodash                                                     │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info     │ https://nodesecurity.io/advisories/577                       │
└───────────────┴──────────────────────────────────────────────────────────────┘


┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Low           │ Prototype Pollution                                          │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package       │ lodash                                                       │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ aws-ses-local                                                │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path          │ aws-ses-local > babel-register > babel-core >                │
│               │ babel-generator > lodash                                     │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info     │ https://nodesecurity.io/advisories/577                       │
└───────────────┴──────────────────────────────────────────────────────────────┘


┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Low           │ Prototype Pollution                                          │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package       │ lodash                                                       │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ aws-ses-local                                                │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path          │ aws-ses-local > babel-register > babel-core > babel-traverse │
│               │ > babel-types > lodash                                       │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info     │ https://nodesecurity.io/advisories/577                       │
└───────────────┴──────────────────────────────────────────────────────────────┘


┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Low           │ Prototype Pollution                                          │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package       │ lodash                                                       │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ aws-ses-local                                                │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path          │ aws-ses-local > babel-register > babel-core > babel-helpers  │
│               │ > babel-template > lodash                                    │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info     │ https://nodesecurity.io/advisories/577                       │
└───────────────┴──────────────────────────────────────────────────────────────┘


┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Low           │ Prototype Pollution                                          │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package       │ lodash                                                       │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ aws-ses-local                                                │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path          │ aws-ses-local > babel-register > babel-core > babel-traverse │
│               │ > lodash                                                     │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info     │ https://nodesecurity.io/advisories/577                       │
└───────────────┴──────────────────────────────────────────────────────────────┘


┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Low           │ Prototype Pollution                                          │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package       │ lodash                                                       │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ aws-ses-local                                                │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path          │ aws-ses-local > babel-register > babel-core > babel-helpers  │
│               │ > babel-template > babel-traverse > babel-types > lodash     │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info     │ https://nodesecurity.io/advisories/577                       │
└───────────────┴──────────────────────────────────────────────────────────────┘


┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Low           │ Prototype Pollution                                          │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package       │ lodash                                                       │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ aws-ses-local                                                │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path          │ aws-ses-local > babel-register > babel-core > babel-types >  │
│               │ lodash                                                       │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info     │ https://nodesecurity.io/advisories/577                       │
└───────────────┴──────────────────────────────────────────────────────────────┘


┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Low           │ Prototype Pollution                                          │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package       │ lodash                                                       │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ aws-ses-local                                                │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path          │ aws-ses-local > babel-register > babel-core > babel-template │
│               │ > babel-traverse > babel-types > lodash                      │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info     │ https://nodesecurity.io/advisories/577                       │
└───────────────┴──────────────────────────────────────────────────────────────┘


┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Low           │ Prototype Pollution                                          │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package       │ lodash                                                       │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ aws-ses-local                                                │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path          │ aws-ses-local > babel-register > babel-core > lodash         │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info     │ https://nodesecurity.io/advisories/577                       │
└───────────────┴──────────────────────────────────────────────────────────────┘