ministryofjustice / moj-frontend

Use the MoJ Design System to design, build, and deliver accessible and consistent services.
https://design-patterns.service.justice.gov.uk/
MIT License
32 stars 19 forks source link

[Snyk] Security upgrade gulp from 4.0.2 to 5.0.0 #585

Open sixdaysandy opened 7 months ago

sixdaysandy commented 7 months ago

This PR was automatically created by Snyk using the credentials of a real user.


Snyk has created this PR to fix one or more vulnerable packages in the `npm` dependencies of this project.

#### Changes included in this PR - Changes to the following files to upgrade the vulnerable dependencies to a fixed version: - package.json
⚠️ Warning ``` Failed to update the package-lock.json, please update manually before merging. ```
#### Vulnerabilities that will be fixed ##### With an upgrade: Severity | Priority Score (*) | Issue | Breaking Change | Exploit Maturity :-------------------------:|-------------------------|:-------------------------|:-------------------------|:------------------------- ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png "high severity") | **696/1000**
**Why?** Proof of Concept exploit, Has a fix available, CVSS 7.5 | Regular Expression Denial of Service (ReDoS)
[SNYK-JS-ANSIREGEX-1583908](https://snyk.io/vuln/SNYK-JS-ANSIREGEX-1583908) | Yes | Proof of Concept ![medium severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png "medium severity") | **586/1000**
**Why?** Proof of Concept exploit, Has a fix available, CVSS 5.3 | Regular Expression Denial of Service (ReDoS)
[SNYK-JS-GLOBPARENT-1016905](https://snyk.io/vuln/SNYK-JS-GLOBPARENT-1016905) | Yes | Proof of Concept ![medium severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png "medium severity") | **631/1000**
**Why?** Proof of Concept exploit, Has a fix available, CVSS 6.2 | Missing Release of Resource after Effective Lifetime
[SNYK-JS-INFLIGHT-6095116](https://snyk.io/vuln/SNYK-JS-INFLIGHT-6095116) | Yes | Proof of Concept ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png "high severity") | **589/1000**
**Why?** Has a fix available, CVSS 7.5 | Prototype Pollution
[SNYK-JS-UNSETVALUE-2400660](https://snyk.io/vuln/SNYK-JS-UNSETVALUE-2400660) | Yes | No Known Exploit (*) Note that the real score may have changed since the PR was raised.
Commit messages
Package name: gulp The new version differs by 45 commits.
  • 5c4c547 chore: Release 5.0.0 (#2762)
  • bf72116 chore: Add index.mjs to files list
  • b00de68 feat: Provide an ESM export (#2760)
  • 72668c6 chore!: Normalize repository, dropping node <10.13 support (#2758)
  • 85896d4 chore(docs): Update stream handbook link (#2711)
  • 818bd73 Docs: Remove gulp-sourcemaps because it is built-in (#2592)
  • 598f971 Docs: Fix broken link in recipe (#2571)
  • 9877de0 Docs: Guide CustomRegistries to maintain properties on tasks (fixes #2561) (#2565)
  • f91c388 Docs: Remove typo in custom registry docs (#2543)
  • df25250 Docs: Fix typo in task docs (#2524)
  • b6d6d7c Docs: fix recipe link (#2526)
  • c26ebcb Docs: Cleanup registry error message subtitles
  • d51c6eb Docs: Rename the automate releases recipe file
  • 4c1bead Docs: Add subtitles for registry error messages (#2502)
  • 6e56ed8 Docs: Update and refactor release workflow recipe (#2498)
  • 131b702 Docs: Remove recipe for using a config file
  • c5ff7e0 Docs: Remove recipe for splitting tasks in files
  • 147327c Docs: Remove recipe for specifying a CWD
  • 1a653a9 Docs: Remove recipe for running shell commands
  • e1190ea Docs: Remove recipe for exporting tasks
  • c4305df Docs: Remove recipe for running tasks in series
  • 486f927 Docs: Remove recipes for selecting changed files
  • b7b70b8 Docs: Fix some links
  • 93564bd Docs: Add advanced section for creation of custom registries (#2479)
See the full diff
Check the changes in this PR to ensure they won't cause issues with your project. ------------ **Note:** *You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.* For more information: 🧐 [View latest project report](https://app.snyk.io/org/office-of-the-public-guardian/project/7edfa355-4408-4265-af99-89f7079b1ef5?utm_source=github&utm_medium=referral&page=fix-pr) 🛠 [Adjust project settings](https://app.snyk.io/org/office-of-the-public-guardian/project/7edfa355-4408-4265-af99-89f7079b1ef5?utm_source=github&utm_medium=referral&page=fix-pr/settings) 📚 [Read more about Snyk's upgrade and patch logic](https://support.snyk.io/hc/en-us/articles/360003891078-Snyk-patches-to-fix-vulnerabilities) [//]: # (snyk:metadata:{"prId":"8397fdef-033b-4cfb-8ac1-d6ba7a25ec75","prPublicId":"8397fdef-033b-4cfb-8ac1-d6ba7a25ec75","dependencies":[{"name":"gulp","from":"4.0.2","to":"5.0.0"}],"packageManager":"npm","projectPublicId":"7edfa355-4408-4265-af99-89f7079b1ef5","projectUrl":"https://app.snyk.io/org/office-of-the-public-guardian/project/7edfa355-4408-4265-af99-89f7079b1ef5?utm_source=github&utm_medium=referral&page=fix-pr","type":"auto","patch":[],"vulns":["SNYK-JS-ANSIREGEX-1583908","SNYK-JS-GLOBPARENT-1016905","SNYK-JS-INFLIGHT-6095116","SNYK-JS-UNSETVALUE-2400660"],"upgrade":["SNYK-JS-ANSIREGEX-1583908","SNYK-JS-GLOBPARENT-1016905","SNYK-JS-INFLIGHT-6095116","SNYK-JS-UNSETVALUE-2400660"],"isBreakingChange":true,"env":"prod","prType":"fix","templateVariants":["updated-fix-title","pr-warning-shown","priorityScore"],"priorityScoreList":[696,586,631,589],"remediationStrategy":"vuln"}) --- **Learn how to fix vulnerabilities with free interactive lessons:** 🦉 [Regular Expression Denial of Service (ReDoS)](https://learn.snyk.io/lesson/redos/?loc=fix-pr) 🦉 [Prototype Pollution](https://learn.snyk.io/lesson/prototype-pollution/?loc=fix-pr)
gregtyler commented 7 months ago

Outstanding work on this: