fix(security): upgrade embedded Tomcat to 9.0.86 to remediate CVE-2024-24549 HTTP/2 DoS#45
Draft
pagarwal-dev with Copilot wants to merge 2 commits into
Draft
fix(security): upgrade embedded Tomcat to 9.0.86 to remediate CVE-2024-24549 HTTP/2 DoS#45pagarwal-dev with Copilot wants to merge 2 commits into
pagarwal-dev with Copilot wants to merge 2 commits into
Conversation
…E-2024-24549 Agent-Logs-Url: https://github.com/newrelic-copilot/AuthenticationService/sessions/ab0ce2cb-0f95-49d3-8dd4-ee915c41bf27 Co-authored-by: pagarwal-dev <224537592+pagarwal-dev@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Upgrade Tomcat HTTP/2 implementation to fix DoS vulnerability
fix(security): upgrade embedded Tomcat to 9.0.86 to remediate CVE-2024-24549 HTTP/2 DoS
Apr 21, 2026
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.
CVE-2024-24549 allows an attacker to trigger resource exhaustion via malformed HTTP/2 headers against Tomcat < 9.0.86, potentially causing service unavailability. The project was pinned to Tomcat 9.0.58 via Spring Boot 2.5.10.
Changes
build.gradle.kts— pinsextra["tomcat.version"] = "9.0.86", overriding the Spring Boot BOM for all threetomcat-embed-*components (core / el / websocket: 9.0.58 → 9.0.86)application.properties(new) — explicitly enables HTTP/2 and caps header size at 8 KB:TomcatHttp2Config.java(new) —@Configurationbean that registersHttp2Protocolon the embedded connector with hardened limits not exposed via Spring Boot properties:These ensure malformed/oversized HTTP/2 headers are rejected at the protocol level before reaching application code.