-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CVE-2020-36632 reported in Trivy scan for flat
dependency
#27763
Comments
This issue has not had any activity in 180 days. Cypress evolves quickly and the reported behavior should be tested on the latest version of Cypress to verify the behavior is still occurring. It will be closed in 14 days if no updates are provided. |
This issue has been closed due to inactivity. |
To reproduce report use for example: trivy image --ignore-unfixed --vuln-type library --severity CRITICAL cypress/included:13.11.0 |
|
[email protected] depends on [email protected] which depends on CVE-2020-36632 requires [email protected] updated to [email protected] which in turn depends on on Therefore an update to >= [email protected] is required to resolve the critical severity vulnerability CVE-2020-36632. |
flat
dependency
On Ubuntu mkdir cy-test
cd cy-test
npm init -y
npm install https://cdn.cypress.io/beta/npm/13.15.2/linux-x64/develop-b0b28d3b0d3cd7977d7d6377d318a603868d11f9/cypress.tgz
cd ~/.cache/Cypress/beta-13.15.2-develop-b0b28d3b/Cypress/resources/app
npm ls flat
|
Yah, mocha. Not sure how I missed that. |
Current behavior
A vulnerability, which was classified as critical, was found in hughsk flat up to 5.0.0.
This affects the function unflatten of the file index.js. The manipulation leads to improperly controlled modification
of object prototype attributes ('prototype pollution'). It is possible to initiate the attack remotely.
Cypress uses version 4.1.1 of this library.
Desired behavior
Upgrading to version 5.0.1 is able to address this issue.
Test code to reproduce
none
Cypress Version
13.1 and earlier
Node version
18.17
Operating System
ubuntu:kinetic
Debug Logs
Other
No response
The text was updated successfully, but these errors were encountered: