Conversation
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JAVA-ORGAPACHESTRUTS-14172798
There was a problem hiding this comment.
This PR is being reviewed by Cursor Bugbot
Details
You are on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle.
To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.
| <hibernate.version>4.3.7.Final</hibernate.version> | ||
| <tapestry.version>5.3.8</tapestry.version> | ||
| <struts2.version>2.3.20</struts2.version> | ||
| <struts2.version>6.8.0</struts2.version> |
There was a problem hiding this comment.
Bug: Major version upgrade breaks application without required config changes
Upgrading struts2.version from 2.3.20 to 6.8.0 will break the application. The web.xml file references org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter, but this class package was removed in Struts 2.5+. In Struts 6.x, the correct class path is org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter (without the ng subpackage). Additionally, the struts.xml references the outdated DTD struts-2.0.dtd which is incompatible with Struts 6.x. The application will fail to start after this upgrade without corresponding configuration file updates.
Snyk has created this PR to fix 1 vulnerabilities in the maven dependencies of this project.
Snyk changed the following file(s):
todolist-goof/pom.xmlVulnerabilities that will be fixed with an upgrade:
SNYK-JAVA-ORGAPACHESTRUTS-14172798
2.3.20->6.8.0org.apache.struts:struts2-spring-plugin:
2.3.20->6.8.0Major version upgradeNo Path FoundProof of ConceptImportant
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
Update
struts2.versionintodolist-goof/pom.xmlfrom2.3.20to6.8.0.Written by Cursor Bugbot for commit 4d50823. This will update automatically on new commits. Configure here.