[Aikido] Fix 37 security issues in tomcat-embed-core, tomcat-coyote, tomcat-catalina and 5 more - #18
Open
aikido-autofix[bot] wants to merge 1 commit into
Conversation
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.
Upgrade Tomcat and Jackson dependencies to fix critical RCE, authentication bypass, and path traversal vulnerabilities in file uploads and JSP compilation.
✅ There are no breaking changes
✅ 47 CVEs resolved by this upgrade, including 7 critical 🚨 CVEs
This PR will resolve the following CVEs:
maxNumberLengthconstraints by streaming chunks without terminators, causing unbounded memory accumulation up tomaxStringLength(~20MB default) instead of the configured limit (~1KB default). This enables denial-of-service attacks against reactive frameworks through memory exhaustion.maxNumberLengthconstraint, allowing attackers to send arbitrarily long numbers that bypass validation and cause memory/CPU exhaustion (DoS). The synchronous parser correctly enforces this limit, but the async path skips the validation methods entirely.MappingContextproperty path resolution.@ProjectedPayloadallows attackers to trigger excessive memory allocation through specially crafted HTTP requests, causing Denial of Service.${random.value}, generating predictable values unsuitable for secrets. This can weaken tokens, passwords, and other security-sensitive data derived from these properties.🔗 Related Tasks
🤖 Remediation details
Bump
spring-boot-starter-parentto 3.5.16 to remediate transitive CVEs in Apache Tomcat, Jackson Core, Jackson Databind, Spring Core, Spring Data Commons, and Spring Boot itself indemos/archunit-guardrails/pom.xml.org.apache.tomcat.embed:tomcat-embed-core,org.apache.tomcat.embed:tomcat-embed-websocket,org.apache.tomcat:tomcat-coyote,org.apache.tomcat:tomcat-catalina,org.apache.tomcat:tomcat-util,com.fasterxml.jackson.core:jackson-core,com.fasterxml.jackson.core:jackson-databind,org.springframework:spring-core,org.springframework.data:spring-data-commons, and Spring Boot itself.spring-boot-starter-parentBOM chain; no direct version declarations ordependencyManagementoverrides existed in the project POM, so a single parent version bump is the correct and minimal fix.org.apache.tomcat.embed:tomcat-embed-core
This artifact is managed transitively via the
tomcat.versionproperty inspring-boot-dependencies. The old parent (3.4.0) resolved Tomcat to10.1.33, which is vulnerable to numerous CVEs spanning partial PUT handling, HTTP/2 header processing, session fixation, and other issues. Bumpingspring-boot-starter-parentto3.5.16advancestomcat.versionto10.1.55, satisfying the≥ 10.1.55patched-version floor required across all listed Tomcat advisories.org.apache.tomcat.embed:tomcat-embed-websocket
Managed by the same
tomcat.versionproperty inspring-boot-dependenciesastomcat-embed-core. The parent bump to3.5.16advances this artifact from10.1.33to10.1.55identically, resolving all applicable Tomcat CVEs for the WebSocket embed module.org.apache.tomcat:tomcat-coyote
Also governed by
tomcat.versioninspring-boot-dependencies. Resolved from10.1.33to10.1.55as a direct consequence of the parent bump to3.5.16, meeting the patched-version requirement for all listed Tomcat CVEs.org.apache.tomcat:tomcat-catalina
Governed by the same
tomcat.versionproperty. Resolved from10.1.33to10.1.55via the parent bump to3.5.16, remediating all applicable Tomcat CVEs for this module.org.apache.tomcat:tomcat-util
Governed by the same
tomcat.versionproperty. Resolved from10.1.33to10.1.55via the parent bump to3.5.16, remediating all applicable Tomcat CVEs for this utility module.com.fasterxml.jackson.core:jackson-core
Jackson artifacts are managed in
spring-boot-dependenciesvia thejackson-bom.versionproperty, which importscom.fasterxml.jackson:jackson-bom. The old parent setjackson-bom.versionto2.18.1, resolvingjackson-coreat2.18.1— below the≥ 2.18.8floor required by GHSA-r7wm-3cxj-wff9 and GHSA-72hv-8253-57qq. The parent bump to3.5.16advancesjackson-bom.versionto2.21.4, which resolvesjackson-coreat2.21.4, satisfying all patched-version requirements.com.fasterxml.jackson.core:jackson-databind
Managed through the same
jackson-bom.version/com.fasterxml.jackson:jackson-bomimport asjackson-core. The old parent resolvedjackson-databindat2.18.1, below the≥ 2.18.8floor required by CVE-2026-54512, CVE-2026-54513, CVE-2026-59888, and CVE-2026-54514. The parent bump to3.5.16resolvesjackson-databindat2.21.4via the updatedjackson-bom, satisfying all patched-version requirements.org.springframework:spring-core
Spring Framework artifacts are managed in
spring-boot-dependenciesvia thespring-framework.versionproperty, which importsorg.springframework:spring-framework-bom. The old parent setspring-framework.versionto6.2.0, placingspring-corein the vulnerable range[6.2.0, 6.2.17]for AIKIDO-2026-10571 and[6.2.0, 6.2.18]for AIKIDO-2026-11158. The parent bump to3.5.16advancesspring-framework.versionto6.2.19, satisfying the≥ 6.2.19patched-version floor for both advisories.org.springframework.data:spring-data-commons
Spring Data artifacts are managed via the
spring-data-bom.versionproperty, which importsorg.springframework.data:spring-data-bom. The old parent setspring-data-bom.versionto2024.1.0, which resolvesspring-data-commonsat3.4.0— within the vulnerable range[3.4.0, 3.4.14]for AIKIDO-2026-11183, AIKIDO-2026-11184, AIKIDO-2026-11185, and AIKIDO-2026-11186. The parent bump to3.5.16advancesspring-data-bom.versionto2025.0.13, which resolvesspring-data-commonsat3.5.x(≥ 3.4.15), satisfying all patched-version floors.Spring Boot (spring-boot-starter-parent)
Spring Boot itself is the direct parent POM declared in
demos/archunit-guardrails/pom.xml. Version3.4.0falls within the vulnerable ranges[3.4.0, 3.4.15]for AIKIDO-2026-10660, AIKIDO-2026-10661, AIKIDO-2026-10581, AIKIDO-2026-10583, AIKIDO-2026-10584, and within[3.4.0, 3.4.4]for CVE-2025-22235. Bumping the declared parent version to3.5.16satisfies the≥ 3.4.16(and≥ 3.4.5for CVE-2025-22235) patched-version floors for all listed Spring Boot advisories, and simultaneously delivers all transitive dependency upgrades described above through the updated BOM.Version changes
org.springframework.boot:spring-boot-starter-parent3.4.03.5.16org.apache.tomcat.embed:tomcat-embed-core10.1.3310.1.55spring-boot-dependencies:3.5.16setstomcat.version=10.1.55)org.apache.tomcat.embed:tomcat-embed-websocket10.1.3310.1.55spring-boot-dependencies:3.5.16setstomcat.version=10.1.55)org.apache.tomcat:tomcat-coyote10.1.3310.1.55spring-boot-dependencies:3.5.16setstomcat.version=10.1.55)org.apache.tomcat:tomcat-catalina10.1.3310.1.55spring-boot-dependencies:3.5.16setstomcat.version=10.1.55)org.apache.tomcat:tomcat-util10.1.3310.1.55spring-boot-dependencies:3.5.16setstomcat.version=10.1.55)com.fasterxml.jackson.core:jackson-core2.18.12.21.4spring-boot-dependencies:3.5.16setsjackson-bom.version=2.21.4)com.fasterxml.jackson.core:jackson-databind2.18.12.21.4spring-boot-dependencies:3.5.16setsjackson-bom.version=2.21.4)org.springframework:spring-core6.2.06.2.19spring-boot-dependencies:3.5.16setsspring-framework.version=6.2.19)org.springframework.data:spring-data-commons3.4.03.5.x(viaspring-data-bom:2025.0.13)spring-boot-dependencies:3.5.16setsspring-data-bom.version=2025.0.13)