-
Notifications
You must be signed in to change notification settings - Fork 1.8k
C++: Add support for SAXParser to the CWE-611 XXE query. #8948
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
2.9.1 was forked today, so I don't think your change note argument applies? |
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.
Found 1 vulnerability.
Ah, I'll add a change note about broadening the query then (with the intent it will coverer several more PRs). |
Done. |
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.
Few small comments.
Co-authored-by: Jeroen Ketema <93738568+jketema@users.noreply.github.com>
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.
Found 1 vulnerability.
class SAXParserClass extends Class { | ||
SAXParserClass() { this.hasName("SAXParser") } | ||
} |
Check warning
Code scanning / CodeQL
Acronyms should be PascalCase/camelCase.
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.
LGTM. I assume you'll still run a DCA experiment with this?
I wasn't planning to. We did on the first PR, but I don't think any of the DCA projects actually use Xerces, and this is a relatively small change + no library changes. Happy to run it if you think I should. Rest assured that I am doing and will continue to do local performance checking on some relevant projects. |
Fine with me, I trust your judgement here. |
All comments addressed. |
@MathiasVP requested a DCA experiment because of the GVN change. |
Ah, I'll start a DCA run now then... |
Well, at least it only took 25 minutes to fail... |
DCA results look OK to me. |
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.
LGTM!
Add test cases + support for
SAXParser
to the CWE-611 XXE query.Change note covered by the one in recent PR #8736.