ansu5555 / pdf-viewer-reactjs

A simple PDF viewer for React js
https://ansu5555.github.io/pdf-viewer-reactjs/
MIT License
140 stars 65 forks source link

[Snyk] Security upgrade pdfjs-dist from 2.6.347 to 4.2.67 #118

Open ansu5555 opened 4 months ago

ansu5555 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: - package.json - 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") | **726/1000**
**Why?** Recently disclosed, Has a fix available, CVSS 8.8 | Arbitrary Code Injection
[SNYK-JS-PDFJSDIST-6810403](https://snyk.io/vuln/SNYK-JS-PDFJSDIST-6810403) | Yes | No Known Exploit (*) Note that the real score may have changed since the PR was raised. 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/ansu5555/project/a2458025-6bd5-4d2c-a498-9806b6ede295?utm_source=github&utm_medium=referral&page=fix-pr) 🛠 [Adjust project settings](https://app.snyk.io/org/ansu5555/project/a2458025-6bd5-4d2c-a498-9806b6ede295?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":"ccb0c844-b1d3-4ba8-b943-5d6eff8b4fe6","prPublicId":"ccb0c844-b1d3-4ba8-b943-5d6eff8b4fe6","dependencies":[{"name":"pdfjs-dist","from":"2.6.347","to":"4.2.67"}],"packageManager":"npm","projectPublicId":"a2458025-6bd5-4d2c-a498-9806b6ede295","projectUrl":"https://app.snyk.io/org/ansu5555/project/a2458025-6bd5-4d2c-a498-9806b6ede295?utm_source=github&utm_medium=referral&page=fix-pr","type":"auto","patch":[],"vulns":["SNYK-JS-PDFJSDIST-6810403"],"upgrade":["SNYK-JS-PDFJSDIST-6810403"],"isBreakingChange":true,"env":"prod","prType":"fix","templateVariants":["updated-fix-title","priorityScore"],"priorityScoreList":[726],"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)
codecov[bot] commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (3907cc4) to head (8d30759).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #118 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 12 12 Lines 75 75 Branches 25 25 ========================================= Hits 75 75 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.