Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

💣 deps: Upgrade dependency pdfjs-dist to v4 [SECURITY]. #928

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 7, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
pdfjs-dist (source) ~3.4.120 -> ~4.2.0 age adoption passing confidence

GitHub Vulnerability Alerts

CVE-2024-4367

Impact

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

The patch removes the use of eval:
https://github.com/mozilla/pdf.js/pull/18015

Workarounds

Set the option isEvalSupported to false.

References

https://bugzilla.mozilla.org/show_bug.cgi?id=1893645


Release Notes

mozilla/pdf.js (pdfjs-dist)

v4.2.67

Compare Source

This release includes a new JPX decoder, based on OpenJPEG, which improves JPX image rendering performance and correctness. Moreover, this release contains improvements for the annotation editor, font conversion and the viewer.

Note that text selection boxes for some PDF files may overlap visually. This is a known issue that we currently track in https://github.com/mozilla/pdf.js/issues/17561.

Changes since v4.1.392

v4.1.392

Compare Source

This release features improvements, bugfixes and optimizations for accessibility, annotation rendering, annotation editing, font rendering, form handling, image rendering, text selection and the viewer.

Note that text selection boxes for some PDF files may overlap visually. This is a known issue that we currently track in #​17561.

Changes since v4.0.379

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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the security This issue is about the overall security of the application label May 7, 2024
@renovate renovate bot force-pushed the renovate/npm-pdfjs-dist-vulnerability branch from 764d731 to a0fb753 Compare May 11, 2024 13:50
@renovate renovate bot force-pushed the renovate/npm-pdfjs-dist-vulnerability branch from a0fb753 to 875aa62 Compare May 14, 2024 01:03
@make-github-pseudonymous-again make-github-pseudonymous-again added technology/pdf This has to do with leveraging the portable document format. dependencies Pull requests that update a dependency file deps This issue has to do with dependencies labels May 14, 2024
@renovate renovate bot force-pushed the renovate/npm-pdfjs-dist-vulnerability branch from 875aa62 to 9c37f22 Compare May 14, 2024 02:37
@renovate renovate bot force-pushed the renovate/npm-pdfjs-dist-vulnerability branch from 9c37f22 to b0c1c0a Compare May 14, 2024 08:11
@renovate renovate bot force-pushed the renovate/npm-pdfjs-dist-vulnerability branch from b0c1c0a to f92a98e Compare May 14, 2024 08:54
@make-github-pseudonymous-again make-github-pseudonymous-again added the waiting-for-upstream This issues needs an update from upstream before it can be resolved. label May 22, 2024
@renovate renovate bot force-pushed the renovate/npm-pdfjs-dist-vulnerability branch from f92a98e to f55bcc8 Compare June 4, 2024 23:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file deps This issue has to do with dependencies security This issue is about the overall security of the application technology/pdf This has to do with leveraging the portable document format. waiting-for-upstream This issues needs an update from upstream before it can be resolved.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant