Conversation
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JAVA-ORGAPACHESTRUTS-14915536
There was a problem hiding this comment.
This PR is being reviewed by Cursor Bugbot
Details
Your team is on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle for each member of your team.
To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.
| <javax-mail.version>1.5.5</javax-mail.version> | ||
| <com.sun.mail.version>1.5.5</com.sun.mail.version> | ||
| <struts2.version>2.5.33</struts2.version> | ||
| <struts2.version>6.1.1</struts2.version> |
There was a problem hiding this comment.
Struts 6 requires Jakarta EE, incompatible with javax
High Severity
Upgrading struts2.version from 2.5.33 to 6.1.1 introduces a Jakarta EE namespace dependency (jakarta.servlet.*), but the project still uses javax.servlet-api 3.0.1, Spring 4.3.x, and Tomcat 8.x which all use the javax.* namespace. Struts 6.x classes expect jakarta.servlet.HttpServletRequest and related types, which are incompatible with the javax.servlet classes provided. This will cause the application to fail at runtime due to class resolution failures.
Snyk has created this PR to fix 1 vulnerabilities in the maven dependencies of this project.
Snyk changed the following file(s):
marlo-parent/pom.xmlVulnerabilities that will be fixed with an upgrade:
SNYK-JAVA-ORGAPACHESTRUTS-14915536
2.5.33->6.1.1org.apache.struts:struts2-convention-plugin:
2.5.33->6.1.1org.apache.struts:struts2-json-plugin:
2.5.33->6.1.1org.apache.struts:struts2-spring-plugin:
2.5.33->6.1.1Major version upgradeNo Path FoundNo Known ExploitImportant
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic
Learn how to fix vulnerabilities with free interactive lessons:
🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.
Note
Major Struts 2 version bump across the project.
struts2.versioninmarlo-parent/pom.xmlfrom2.5.33to6.1.1struts2-coreand plugins (struts2-config-browser-plugin,struts2-convention-plugin,struts2-json-plugin,struts2-spring-plugin,struts2-junit-plugin)Written by Cursor Bugbot for commit 2ae4556. This will update automatically on new commits. Configure here.