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

Backport for CVE-2023-46589 #36

Conversation

cesarhernandezgt
Copy link
Member

No description provided.

markt-asf and others added 14 commits December 7, 2023 20:08
No functional change as trailer headers are read after the body.
Introduce BadRequestException as a sub-class of IOException and the
super class of ClientAbortException. This allows Tomcat to differentiate
between an invalid request (e.g. invalid HTTP headers) and a request
that the user cancelled before it completed.
The primary benefit is that the standard error page mechanism is
invoked.
This makes the exception accessible to the ChunkedInputFilter which is
step 1 in improving handling of bad requests while parsing parameters in
chunked requests.
@cesarhernandezgt cesarhernandezgt changed the title Backport for CVE-2023-42795 Backport for CVE-2023-46589 Dec 8, 2023
@cesarhernandezgt cesarhernandezgt merged commit 96521f5 into tomitribe:tomcat-10.0.x-TT.x Dec 8, 2023
1 check passed
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.

2 participants