Skip to content

Fix regex in etag_matches? to prevent ReDoS#2121

Merged
dentarg merged 1 commit intosinatra:mainfrom
gecunps:main
Oct 8, 2025
Merged

Fix regex in etag_matches? to prevent ReDoS#2121
dentarg merged 1 commit intosinatra:mainfrom
gecunps:main

Conversation

@gecunps
Copy link
Copy Markdown
Contributor

@gecunps gecunps commented Oct 8, 2025

@dentarg dentarg changed the title Fix regex to prevent redos Fix regex in etag_matches? to prevent ReDoS Oct 8, 2025
@dentarg dentarg merged commit 3fe8c38 into sinatra:main Oct 8, 2025
28 checks passed
@dentarg
Copy link
Copy Markdown
Member

dentarg commented Oct 8, 2025

Please report issues like this privately in the future: https://github.com/sinatra/sinatra/blob/main/SECURITY.md

@ghost
Copy link
Copy Markdown

ghost commented Jan 25, 2026

#2120

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improvement suggestion

2 participants