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

fix redos in preprocessRFC2822 regex #1

Merged
merged 1 commit into from Jun 7, 2022

Conversation

vovikhangcdv
Copy link
Owner

Fixes: #2936

Directly match the comment tokens in preprocessRFC2822 regex to resolve the problem Regular Expression Denial of Service (ReDoS)#6012

Fixes: [moment#2936](moment#6012)

Directly match the comment tokens in preprocessRFC2822 regex to resolve the problem [Regular Expression Denial of Service (ReDoS)moment#6012](moment#6012)
@vovikhangcdv
Copy link
Owner Author

Test summary
image

@vovikhangcdv vovikhangcdv merged commit 2efdc32 into develop Jun 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant