NBISweden / theherdbook

The Herd Book
GNU Affero General Public License v3.0
1 stars 1 forks source link

[Snyk] Security upgrade react-pdf from 6.2.2 to 7.7.3 #700

Open viklund opened 4 months ago

viklund commented 4 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: - frontend/package.json - frontend/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") | **641/1000**
**Why?** Recently disclosed, Has a fix available, CVSS 7.1 | Arbitrary Code Injection
[SNYK-JS-REACTPDF-6814518](https://snyk.io/vuln/SNYK-JS-REACTPDF-6814518) | Yes | No Known Exploit (*) Note that the real score may have changed since the PR was raised.
Commit messages
Package name: react-pdf The new version differs by 250 commits.
  • 1a69776 v7.7.3
  • 208f28d Force isEvalSupported to false
  • 8ca4d07 v7.7.2
  • 260295b Force isEvalSupported to true
  • 93b09c3 v7.7.1
  • 95b240d Bump ip from 2.0.0 to 2.0.1 in /sample/webpack5 (#1727)
  • 3b6a290 Bump ip from 2.0.0 to 2.0.1 in /sample/vite (#1730)
  • 18b78c5 Bump ip from 2.0.0 to 2.0.1 in /sample/parcel2 (#1725)
  • 1c3ce0a Bump ip from 2.0.0 to 2.0.1 in /sample/next-pages (#1728)
  • cdc04fc Bump ip from 2.0.0 to 2.0.1 in /sample/next-app (#1729)
  • 88409e5 Bump ip from 2.0.0 to 2.0.1 in /sample/create-react-app-5 (#1726)
  • 01d30b0 Bump ip from 2.0.0 to 2.0.1 (#1731)
  • f01d41e Bump eslint-config-wojtekmaj from 0.9.0 to 0.11.0
  • a9d0b52 Bump eslint from 8.37.0 to 8.56.0
  • d4b781a Update Yarn to 4.1.0
  • 2706679 Bump vite from 5.0.12 to 5.1.1
  • 46aecb9 Bump node-gyp from 9.3.1 to 10.0.1
  • 8629bb3 Update @ yarnpkg/plugin-nolyfill
  • 57eaaf7 Bump jsdom from 21.1.1 to 24.0.0
  • e339525 Fix Outline, Page and Thumbnail components crashing when placed outside Document
  • cf5327b Add missing linkService in DocumentContext in unit tests
  • aa8c564 Update husky to 9.0.0
  • 5895876 Update GitHub Actions actions
  • 4e77ef3 Bump vite from 5.0.9 to 5.0.12
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/nbisweden/project/fbbaabae-1ae1-443a-94da-eede49257619?utm_source=github&utm_medium=referral&page=fix-pr) 🛠 [Adjust project settings](https://app.snyk.io/org/nbisweden/project/fbbaabae-1ae1-443a-94da-eede49257619?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":"baf34be8-b328-474f-afbf-b5a61ad28054","prPublicId":"baf34be8-b328-474f-afbf-b5a61ad28054","dependencies":[{"name":"react-pdf","from":"6.2.2","to":"7.7.3"}],"packageManager":"npm","projectPublicId":"fbbaabae-1ae1-443a-94da-eede49257619","projectUrl":"https://app.snyk.io/org/nbisweden/project/fbbaabae-1ae1-443a-94da-eede49257619?utm_source=github&utm_medium=referral&page=fix-pr","type":"auto","patch":[],"vulns":["SNYK-JS-REACTPDF-6814518"],"upgrade":["SNYK-JS-REACTPDF-6814518"],"isBreakingChange":true,"env":"prod","prType":"fix","templateVariants":["updated-fix-title","priorityScore"],"priorityScoreList":[641],"remediationStrategy":"vuln"}) --- **Learn how to fix vulnerabilities with free interactive lessons:** 🦉 [Arbitrary Code Injection](https://learn.snyk.io/lesson/malicious-code-injection/?loc=fix-pr)