Skip to content
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

Fix XXE in XML parsing (related to #366) #379

Merged
merged 1 commit into from
Nov 2, 2016

Conversation

fruechel
Copy link
Contributor

This fixes XXE issues on anything where pysaml2 parses XML directly as part of
issue #366. It doesn't address the xmlsec issues discussed on that ticket as
they are out of reach of a direct fix and need the underlying library to fix
this issue.

This fixes XXE issues on anything where pysaml2 parses XML directly as part of
issue IdentityPython#366. It doesn't address the xmlsec issues discussed on that ticket as
they are out of reach of a direct fix and need the underlying library to fix
this issue.
@fruechel
Copy link
Contributor Author

As noted the xmlsec bit is not fixed here. However, this relies on the underlying library so we can't fix it here. I also noticed that the two usages of parse_xml in sigver.py seem to invoke a function that doesn't even exist. I don't have enough context on any of this and might need some input.

Especially, someone needs to review if I missed any of the XML parsing functions.

@fruechel
Copy link
Contributor Author

fruechel commented Nov 2, 2016

Any comment?

@rohe rohe merged commit 8c2b052 into IdentityPython:master Nov 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants