Skip to content

Patch Tomcat dependency to unblock Docker build vulnerability gate - #25

Draft
jamilhelal37 with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-docker-build-job
Draft

jamilhelal37 with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-docker-build-job

Conversation

Copilot AI commented Sep 7, 2026

Copy link
Copy Markdown

The Docker build job was failing at the Trivy scan stage due to CRITICAL vulnerabilities in the transitive Tomcat runtime (tomcat-embed-core resolved to 11.0.22). This updates dependency resolution to a patched Tomcat line so the container image no longer fails the security gate on that component.

  • Root cause

    • CI’s Docker/Trivy step flagged CRITICAL CVEs in org.apache.tomcat.embed:tomcat-embed-core from the Spring Boot-managed default version.
  • Change applied

    • Added an explicit Maven property override in pom.xml under existing security overrides:
      • tomcat.version11.0.25
  • Dependency management impact

    • Keeps the change surgical (no parent/BOM migration), while forcing patched Tomcat artifacts across Spring Boot starters that consume embedded Tomcat.
<!-- Security overrides -->
<netty.version>4.2.16.Final</netty.version>
<httpcore5.version>5.4.3</httpcore5.version>
<tomcat.version>11.0.25</tomcat.version>

Co-authored-by: jamilhelal37 <239214190+jamilhelal37@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix failing GitHub Actions job Docker build Patch Tomcat dependency to unblock Docker build vulnerability gate Sep 7, 2026
Copilot AI requested a review from jamilhelal37 September 7, 2026 09:56
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