-
Notifications
You must be signed in to change notification settings - Fork 5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix CVE-2022-34305 XSS in the examples web application
The session attributes are the primary concern but filter the Principal attributes as well to be on the safe side.
- Loading branch information
Showing
2 changed files
with
13 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
8b60af9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@markt-asf Sorry to contact you like this.
From our team we are getting the CVE-2022-34305 reported by BlackDuck scanning tool for several dependencies of Tomcat which we use from Spring boot, some of the dependencies are listed below
These dependencies does not contain the vulnerable example app code at all and I was wandering this might be a false positive. I couldn't confirm this, so could you please let me know which exact dependency is affected by this CVE?
8b60af9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
None of the 9.0.63 JAR files are affected by this CVE.
8b60af9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@markt-asf If none of the 9.0.63 JAR files are affected by this vulnerability then why it is included in the advisory list of affected ranges here https://lists.apache.org/thread/k04zk0nq6w57m72w5gb0r6z9ryhmvr4k ?
8b60af9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because a Tomcat installation consists of more than just JAR files. This vulnerability was in a JSP.
8b60af9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @markt-asf
Can you please confirm the affected jsp file and the path for that file?
8b60af9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@spartan1998 Try reading the diff at the top of this page.
8b60af9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to know if this is a fix for the vulnerability because according to Apache official page, the fixed version is still not released.
8b60af9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Which part of "Fix CVE-2022-34305" in both the commit comment and the change log entry is unclear?