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

Address XXE vulnerabilities in XML parsers #864

Merged
merged 7 commits into from
Aug 12, 2018

Conversation

sixlettervariables
Copy link
Contributor

Addresses:

  • DocumentBuilderFactory
  • JAXB Unmarshaller

Custom SPA currently uses XML entities and an inline DOCTYPE parser. newUnsafeDocumentBuilder addressees this need, but isn't protected against entity expansion attacks. That would allow a DoS, but from a file unlikely to be shared and easily inspected for tainted code.

@sixlettervariables
Copy link
Contributor Author

Safe to squash on merge.

@sixlettervariables sixlettervariables merged commit cb25d2a into MegaMek:master Aug 12, 2018
@sixlettervariables sixlettervariables deleted the address-xxe branch January 5, 2020 00:50
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.

2 participants