eclipse-ee4j / metro-saaj

https://eclipse-ee4j.github.io/metro-saaj/
Other
13 stars 16 forks source link

Fix stability and security problem #117

Closed runeflobakk closed 5 years ago

runeflobakk commented 5 years ago

This pull-request fixes several issues.


77 Specially crafted SWA request can take down server with OOM:


Parser-pool "leak", discussed in #73 Make EnvelopeFactory ParserPool capacity configurable:


Re b3bc03e, I am not sure how the glassfish-copyright-maven-plugin works, but it would not let the build pass unless we changed some years in some of the changed files' copyright notices, strangely to 2014, which seems a bit odd. The cherry-picked commits were originally from 2014. Maybe the plugin only regard the latest commit in the commit graph as to resolve which year should be in the copyright notice?


Originally we had to release our own patched version of SAAJ in 2014 to not be affected by this issues in production. To be able to use the latest version of SAAJ we had to include these fixes in a new internal release based on v1.5.1. This has now run in our production environment with a relatively substantial load, and no problems, for about a month. I hope this can be contributed back to the official repository.