[GHSA-qw4h-3xjj-84cc] Apache Tiles: Unvalidated input may lead to path traversal and XXE #6318
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.
Updates
Comments
I submitted this before as #6311 and it was closed. I'm going to give some more context and am asking for another review.
Apache-Tiles originally Struts-Tiles see here was split from the struts source code at at version 2. The first release of Apache-Tiles started at version 2 see here.
Here is a link to tiles and tiles2 in the apache struts1 source code
Here is a link talking about the file name changes in Apache-Tiles vs Struts-Tiles
The file I marked in the link above is here in struts1
Tiles is included in Struts 1. This CVE also impacts tiles in the struts1 packages.
Struts 1 the groupId was struts from 1.1 to 1.2.9 then was changed to org.apache.struts in >=1.3 to the last release 1.3.10. Tiles was included in struts:stuts 1.1-1.2.9 and in struts 1 >=1.3 was moved to org.apache.struts:struts-tiles.