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

CVE-2025-27144: vendor: don't allow unbounded amounts of splits #3

Merged
merged 1 commit into from
Mar 3, 2025

Conversation

danishprakash
Copy link
Member

@danishprakash danishprakash commented Feb 28, 2025

In compact JWS/JWE, don't allow unbounded number of splits. Count to make sure there's the right number, then use SplitN.

This fixes CVE-2025-27144
This fixes bsc#1237681

Cherry-picked from
go-jose/go-jose@99b346c

Copy link
Collaborator

@dcermak dcermak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but wrong bugref, it should be bsc#1237681

In compact JWS/JWE, don't allow unbounded number of splits.
Count to make sure there's the right number, then use SplitN.

This fixes CVE-2025-27144
This fixes bsc#1237681

Cherry-picked from
go-jose/go-jose@99b346c

Co-authored-by: Matthew McPherrin <mattm@letsencrypt.org>
Signed-off-by: Danish Prakash <contact@danishpraka.sh>
@danishprakash danishprakash force-pushed the suse-v1.35.5-CVE-2025-27144 branch from eae7975 to f728e5e Compare February 28, 2025 09:13
@dcermak dcermak merged commit dd8e8c9 into suse-v1.35.5 Mar 3, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants