chore(deps): update dependency pypdf to v3.17.0 [security]#24
Open
renovate[bot] wants to merge 1 commit intodevfrom
Open
chore(deps): update dependency pypdf to v3.17.0 [security]#24renovate[bot] wants to merge 1 commit intodevfrom
renovate[bot] wants to merge 1 commit intodevfrom
Conversation
|
Seems you are using me but didn't get OPENAI_API_KEY seted in Variables/Secrets for this repo. you could follow readme for more information |
5d2d989 to
5b4633c
Compare
|
Seems you are using me but didn't get OPENAI_API_KEY seted in Variables/Secrets for this repo. you could follow readme for more information |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.8.1→3.17.0GitHub Vulnerability Alerts
CVE-2023-36464
Impact
An attacker who uses this vulnerability can craft a PDF which leads to an infinite loop if
__parse_content_streamis executed. This infinite loop blocks the current process and can utilize a single core of the CPU by 100%. It does not affect memory usage. That is, for example, the case if the user extracted text from such a PDF.Example Code and a PDF that causes the issue:
The issue was introduced with https://github.com/py-pdf/pypdf/pull/969
Patches
The issue was fixed with https://github.com/py-pdf/pypdf/pull/1828
Workarounds
It is recommended to upgrade to
pypdf>=3.9.0. PyPDF2 users should migrate to pypdf.If you cannot update your version of pypdf, you should modify
pypdf/generic/_data_structures.py:CVE-2023-46250
Impact
An attacker who uses this vulnerability can craft a PDF which leads to an infinite loop.
This infinite loop blocks the current process and can utilize a single core of the CPU by 100%. It does not affect memory usage.
That is, for example, the case when the pypdf-user manipulates an incoming malicious PDF e.g. by merging it with another PDF or by adding annotations.
Patches
The issue was fixed with #2264
Workarounds
If you cannot update your version of pypdf, you should modify
pypdf/generic/_data_structures.pyjust like #2264 did.Release Notes
py-pdf/pypdf (pypdf)
v3.17.0Compare Source
Bug Fixes (BUG)
Robustness (ROB)
Full Changelog
v3.16.4Compare Source
Security (SEC)
New Features (ENH)
Bug Fixes (BUG)
Full Changelog
v3.16.3Compare Source
Bug Fixes (BUG)
Full Changelog
v3.16.2Compare Source
Bug Fixes (BUG)
Developer Experience (DEV)
Full Changelog
v3.16.1Compare Source
Bug Fixes (BUG)
Full Changelog
v3.16.0Compare Source
PdfWriter.create_viewer_preferences (#2190)' could be a breaking change for you,
if you use it. As it was only introduced last week I'm confident enough that
nobody will be affected though. Hence only the patch update.
Bug Fixes (BUG)
Maintenance (MAINT)
Full Changelog
v3.15.5Compare Source
Security (SEC)
New Features (ENH)
Bug Fixes (BUG)
Robustness (ROB)
Full Changelog
v3.15.4Compare Source
Bug Fixes (BUG)
Robustness (ROB)
Full Changelog
v3.15.3Compare Source
Performance Improvements (PI)
Maintenance (MAINT)
Full Changelog
v3.15.2Compare Source
Bug Fixes (BUG)
Full Changelog
v3.15.1Compare Source
Security (SEC)
Performance Improvements (PI)
Maintenance (MAINT)
Full Changelog
v3.15.0Compare Source
Performance Improvements (PI)
Bug Fixes (BUG)
Robustness (ROB)
Full Changelog
v3.14.0Compare Source
New Features (ENH)
levelparameter to compress_content_streams (#2044)Bug Fixes (BUG)
Maintenance (MAINT)
Full Changelog
v3.13.0Compare Source
New Features (ENH)
cryptographyfor encryption/decryption as a fallback for PyCryptodome (#2000)Bug Fixes (BUG)
Robustness (ROB)
Maintenance (MAINT)
Full Changelog
v3.12.2Compare Source
New Features (ENH)
Bug Fixes (BUG)
Developer Experience (DEV)
Full Changelog
v3.12.1Compare Source
Bug Fixes (BUG)
Developer Experience (DEV)
Full Changelog
v3.12.0Compare Source
Bug Fixes (BUG)
Full Changelog
v3.11.1Compare Source
New Features (ENH)
Bug Fixes (BUG)
Full Changelog
v3.11.0Compare Source
Bug Fixes (BUG)
Full Changelog
v3.10.0Compare Source
New Features (ENH)
Bug Fixes (BUG)
Full Changelog
v3.9.1Compare Source
New Features (ENH)
Bug Fixes (BUG)
Full Changelog
v3.9.0Compare Source
Deprecations (DEP)
Bug Fixes (BUG)
Robustness (ROB)
Full Changelog
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 was generated by Mend Renovate. View the repository job log.