bcgov / quickstart-openshift

QuickStart template targeted for OpenShift.
https://quickstart-openshift-test-frontend.apps.silver.devops.gov.bc.ca/
Apache License 2.0
28 stars 4 forks source link

chore(ci): [Snyk] Security upgrade lint-staged from 15.2.2 to 15.2.4 #1983

Closed bcgov-devops closed 1 month ago

bcgov-devops commented 1 month 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: - backend/package.json - backend/package-lock.json #### 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') | **124/1000**
**Why?** Confidentiality impact: None, Integrity impact: None, Availability impact: High, Scope: Unchanged, Exploit Maturity: No data, User Interaction (UI): None, Privileges Required (PR): None, Attack Complexity: Low, Attack Vector: Network, EPSS: 0.00045, Social Trends: No, Days since published: 9, Reachable: No, Transitive dependency: Yes, Is Malicious: No, Business Criticality: High, Provider Urgency: High, Package Popularity Score: 99, Impact: 5.99, Likelihood: 2.06, Score Version: V5 | Inefficient Regular Expression Complexity
[SNYK-JS-MICROMATCH-6838728](https://snyk.io/vuln/SNYK-JS-MICROMATCH-6838728) | No | No Known Exploit (\*) Note that the real score may have changed since the PR was raised.
Commit messages
Package name: lint-staged The new version differs by 11 commits.
  • 8be6c8e chore(changeset): release (#1419)
  • 4f4537a build(husky): fix release issue with Husky
  • 95d096d chore(changeset): release (#1411)
  • 72483cb docs: fix typo (#1417)
  • 86fba6f build(deps): update dependencies (#1418)
  • 1353320 test: add e2e test for linting difficult filename with ESLint + Prettier (#1413)
  • 28cc901 ci(release): disable Husky hooks in release action
  • d698162 build(deps): update dependencies
  • ab263ba docs: fix typo (#1408)
  • 6a14c53 chore(release): add empty changeset
  • 738021b docs: add example avoid globs overlap & tasks edit files (#1405)
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/bcgov/project/450f1d6b-c7cf-413d-a49d-d2998e0bce0e?utm_source=github&utm_medium=referral&page=fix-pr) 🛠 [Adjust project settings](https://app.snyk.io/org/bcgov/project/450f1d6b-c7cf-413d-a49d-d2998e0bce0e?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:{"customTemplate":{"variablesUsed":[],"fieldsUsed":[]},"dependencies":[{"name":"lint-staged","from":"15.2.2","to":"15.2.4"}],"env":"prod","issuesToFix":[{"exploit_maturity":"No Known Exploit","id":"SNYK-JS-MICROMATCH-6838728","priority_score":124,"priority_score_factors":[{"name":"confidentiality","value":"none"},{"name":"integrity","value":"none"},{"name":"availability","value":"high"},{"name":"scope","value":"unchanged"},{"name":"exploitCodeMaturity"},{"name":"userInteraction","value":"none"},{"name":"privilegesRequired","value":"none"},{"name":"attackComplexity","value":"low"},{"name":"attackVector","value":"network"},{"name":"epss","value":0.00045},{"name":"isTrending","value":false},{"name":"publicationDate","value":"Mon May 13 2024 14:42:05 GMT+0000 (Coordinated Universal Time)"},{"name":"isReachable","value":false},{"name":"isTransitive","value":true},{"name":"isMalicious","value":false},{"name":"businessCriticality","value":"high"},{"name":"relativeImportance","value":"high"},{"name":"relativePopularityRank","value":99},{"name":"impact","value":5.99},{"name":"likelihood","value":2.06},{"name":"scoreVersion","value":"V5"}],"severity":"high","title":"Inefficient Regular Expression Complexity"}],"prId":"4c68dc75-3fc7-4305-adff-f0c1605e3838","prPublicId":"4c68dc75-3fc7-4305-adff-f0c1605e3838","packageManager":"npm","priorityScoreList":[124],"projectPublicId":"450f1d6b-c7cf-413d-a49d-d2998e0bce0e","projectUrl":"https://app.snyk.io/org/bcgov/project/450f1d6b-c7cf-413d-a49d-d2998e0bce0e?utm_source=github&utm_medium=referral&page=fix-pr","prType":"fix","templateFieldSources":{"branchName":"default","commitMessage":"default","description":"default","title":"default"},"templateVariants":["updated-fix-title","priorityScore"],"type":"auto","upgrade":["SNYK-JS-MICROMATCH-6838728"],"vulns":["SNYK-JS-MICROMATCH-6838728"],"patch":[],"isBreakingChange":false,"remediationStrategy":"vuln"}' --- **Note:** _This is a default PR template raised by Snyk. Find out more about how you can customise Snyk PRs in our [documentation.](https://docs.snyk.io/scan-using-snyk/snyk-open-source/automatic-and-manual-prs-with-snyk-open-source/customize-pr-templates-closed-beta)_ **Learn how to fix vulnerabilities with free interactive lessons:** 🦉 [Inefficient Regular Expression Complexity](https://learn.snyk.io/lesson/redos/?loc=fix-pr) --- Thanks for the PR! Deployments, as required, will be available below: - [Frontend](https://quickstart-openshift-1983-frontend.apps.silver.devops.gov.bc.ca) - [Backend](https://quickstart-openshift-1983-frontend.apps.silver.devops.gov.bc.ca/api) Please create PRs in draft mode. Mark as ready to enable: - [Analysis Workflow](https://github.com/bcgov/quickstart-openshift/actions/workflows/analysis.yml) After merge, new images are deployed in: - [Merge Workflow](https://github.com/bcgov/quickstart-openshift/actions/workflows/merge.yml)