Update dependency msgpack to v1.2.1 [SECURITY]#69
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
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:
==1.0.8→==1.2.1MessagePack for Python: Out-of-bounds read / crash on Unpacker reuse after a caught error
GHSA-6v7p-g79w-8964
More information
Details
Impact
If the Unpacker is used repeatedly after an error occurs, the process may crash with a SEGV.
If the Unpacker is used repeatedly to unpack untrusted input from external sources, it may be vulnerable to a DoS attack.
Patches
v1.2.1
Workarounds
Users should create a new Unpacker instead of reusing the same Unpacker after an error occurs.
Applying the above patch can prevent SEGV, but reusing the Streaming Unpacker after it has encountered an error will not yield correct data. If an error occurs during Streaming Unpacking, the Stream and Streaming Unpacker should be discarded.
Therefore, this is not just a workaround but the correct solution. The above patch only prevents crashes from incorrect usage.
Severity
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HReferences
This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).
Release Notes
msgpack/msgpack-python (msgpack)
v1.2.1Compare Source
Release Date: 2026-06-19
Fix a segfault when calling
Unpacker.unpack()orUnpacker.skip()after an unpacking failure.But note that reusing the same
Unpackerinstance after an unpacking failure is not supported.Please create a new
Unpackerinstance instead. GHSA-6v7p-g79w-8964v1.2.0Compare Source
Release Date: 2026-06-11
strict_map_keyoption didn't work forobject_pairs_hook. #673Packer.pack_ext_type()ignoredautoresetoption. #663Timestamp.from_datetime()returning wrong value for pre-epoch datetimes. #662unpackb()andUnpacker.unpack()for non-contiguous input. #677Unpacker.__init__()several times. #687v1.1.2Compare Source
=====
Release Date: 2025-10-08
This release does not change source code. It updates only building wheels:
v1.1.1Compare Source
=====
Release Date: 2025-06-13
v1.1.0Compare Source
=====
Release Date: 2024-09-10
PyLong_*instead ofPyInt_*for compatibility withfuture Cython. (#620)
Configuration
📅 Schedule: (in timezone America/Toronto)
🚦 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.