Skip to content
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

Patch npm package 'tough-cookie' version #99

Merged
merged 1 commit into from
Jul 24, 2023

Conversation

edavey
Copy link
Contributor

@edavey edavey commented Jul 24, 2023

The recently upgraded cypress installation (12.7.1 -> 12.7.2) has resulted in a vulnerability warning

This is CWE 1321:

tough-cookie Prototype Pollution vulnerability

and comes from cypress' @cypress/request package

This has not yet been fixed in cypress though there's a PR waiting to be merged:

cypress-io/request#32

We declare a temporary 'override' in package.json to force this upgrade.

The recently upgraded cypress installation (`12.7.1` ->
`12.7.2`) has resulted in a vulnerability warning:

https://app.circleci.com/pipelines/github/ministryofjustice/hmpps-community-accommodation-tier-2-ui/519/workflows/4ea28190-5859-4266-87de-6c4ff38d402d/jobs/1381

This is [CWE 1321](https://github.com/advisories?query=cwe%3A1321)

[tough-cookie Prototype Pollution vulnerability](GHSA-72xf-g2v4-qvf3)

and comes from cypress' `@cypress/request package`

This has not yet been fixed in cypress though there's a PR
waiting to be merged:

cypress-io/request#32

We declare a temporary 'override' in `package.json` to force
this upgrade.
@edavey edavey force-pushed the fix/tough-cookie-vuln-in-cypress-request branch from 374d452 to e944a16 Compare July 24, 2023 11:00
@edavey edavey requested a review from patrickjfl July 24, 2023 11:00
@edavey edavey merged commit 1e9379f into main Jul 24, 2023
7 checks passed
@edavey edavey deleted the fix/tough-cookie-vuln-in-cypress-request branch July 24, 2023 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants