Cypress: Update lodash to > 4.17.12

Created on 16 Jul 2019  路  5Comments  路  Source: cypress-io/cypress


running npm audit shows a Prototype Pollution vulnerability, please update the lodash library to verions highter than 4.17.12

https://www.npmjs.com/advisories/1065

Current behavior:


Screen Shot 2019-07-16 at 9 08 44 AM

Desired behavior:

Steps to reproduce: (app code and test code)

Versions

cypress 3.4.0


cypress 3.4.0
Mac OSX
Chrome

duplicate

Most helpful comment

The code for this is done in https://github.com/cypress-io/cypress/pull/4709, but this has yet to be released. We'll update this issue and reference the changelog when it's released.

You can run npm audit fix to fix the 'vulnerable' dependencies.

But also Cypress is immune to most if not all security vulnerabilities because its locally run software - not a web server hosted in the cloud, so this security issue doesn't even apply and is low priority for us.

All 5 comments

fix already merged in develop, but not released yet :( https://github.com/cypress-io/cypress/pull/4684

Duplicate of #4699

The code for this is done in https://github.com/cypress-io/cypress/pull/4709, but this has yet to be released. We'll update this issue and reference the changelog when it's released.

You can run npm audit fix to fix the 'vulnerable' dependencies.

But also Cypress is immune to most if not all security vulnerabilities because its locally run software - not a web server hosted in the cloud, so this security issue doesn't even apply and is low priority for us.

Thanks for the prompt response :)

Released in 3.4.1.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

igorpavlov picture igorpavlov  路  3Comments

szabyg picture szabyg  路  3Comments

EirikBirkeland picture EirikBirkeland  路  3Comments

carloscheddar picture carloscheddar  路  3Comments

rbung picture rbung  路  3Comments