FleetAdmiralJakob / Portfolio

My self-coded personal website builds with ReactJS
https://www.roessner.tech/
Apache License 2.0
19 stars 0 forks source link

fix(deps): update dependency react-pdf to v7.7.3 [security] #503

Closed renovate[bot] closed 5 months ago

renovate[bot] commented 6 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
react-pdf (source) 7.7.1 -> 7.7.3 age adoption passing confidence

GitHub Vulnerability Alerts

CVE-2024-34342

Summary

If PDF.js is used to load a malicious PDF, and PDF.js is configured with isEvalSupported set to true (which is the default value), unrestricted attacker-controlled JavaScript will be executed in the context of the hosting domain.

Patches

This patch forces isEvalSupported to false, removing the attack vector.

Workarounds

Set options.isEvalSupported to false, where options is Document component prop.

References


Release Notes

wojtekmaj/react-pdf (react-pdf) ### [`v7.7.3`](https://togithub.com/wojtekmaj/react-pdf/releases/tag/v7.7.3) [Compare Source](https://togithub.com/wojtekmaj/react-pdf/compare/v7.7.2...v7.7.3) #### Bug fixes - Force `isEvalSupported` to `false`. Fixes GHSA-87hq-q4gp-9wr4 (caused by GHSA-wgrm-67xf-hhpq). ### [`v7.7.2`](https://togithub.com/wojtekmaj/react-pdf/compare/v7.7.1...8ca4d07092e54cb4dc97f949c462ff149056d0d9) [Compare Source](https://togithub.com/wojtekmaj/react-pdf/compare/v7.7.1...v7.7.2)

Configuration

📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.

vercel[bot] commented 6 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
portfolio 🔄 Building (Inspect) May 9, 2024 9:02pm
renovate[bot] commented 6 months ago

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.