-
Notifications
You must be signed in to change notification settings - Fork 127
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
Crash on nil-pointer dereference with malformed input #48
Comments
This issue seem to have CVE-2020-7711 assigned. |
Will this issue be addressed? |
Any updates on this fixing this issue? |
While this bug was filed against goxmldsig, it appears the test program above actually tests it using the saml2 library, and this seems to have been fixed (2 days ago) in the saml2 library. I can't get the test program to crash and it seems @russellhaering added code to make sure valid XML was being used here: russellhaering/gosaml2@0f0fb74#diff-184d234308543ccf5984a0bfe952dbde13d02450a1b1d872c19b3184b646007dR375-R376 I suppose this means goxmldsig might technically still have a CVE, but if it's being used from the saml2 library (which is my case and why I was asked to look at this), it appears to be mitigated? |
Hey, sorry for the silence here. I think this was fixed as a side-effect of our resolution to another issue a few months ago, but let me push a quick fix to make it explicit. |
Can you please confirm that 1.1.0 is not affected anymore? |
Explicitly check for case where SignatureValue is nil in order to explicitly prevent the case reported in russellhaering#48 (and get the CVE closed).
Created #71 to explicitly handle the case of SignatureValue being nil which is enough to close this one out once reviewed and merged. |
When will be a new release with official fix to CVE-2020-7711? |
Can you please confirm if this issue is fixed? Synk is still reporting this issue. |
can you please release a security patch for CVE-2020-7711 and make it explicit? The whitesourcescan is still reporting this vulnerability in spite of having the version github.com/russellhaering/goxmldsig v1.1.0. |
See russellhaering/gosaml2#59 for background.
Program which exhibits the issue:
Panic:
Potential fix:
The text was updated successfully, but these errors were encountered: