Bug 1954383 (CVE-2020-7731) - CVE-2020-7731 russellhaering/gosaml2: Null pointer dereference via malformed XML signatures allows for denial of service
Summary: CVE-2020-7731 russellhaering/gosaml2: Null pointer dereference via malformed ...
Keywords:
Status: CLOSED WONTFIX
Alias: CVE-2020-7731
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1954384
TreeView+ depends on / blocked
 
Reported: 2021-04-28 04:16 UTC by Sam Fowler
Modified: 2021-05-12 08:34 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2021-05-04 10:46:36 UTC
Embargoed:


Attachments (Terms of Use)

Description Sam Fowler 2021-04-28 04:16:10 UTC
Affected versions of github.com/russellhaering/gosaml2 are vulnerable to Denial of Service (DoS). There is a crash on nil-pointer dereference caused by sending malformed XML signatures.


References:

https://github.com/russellhaering/gosaml2/issues/59
https://stevenjohnstone.net/posts/snyk/

Comment 1 Sam Fowler 2021-05-04 06:00:53 UTC
Mitigated by fix in dependency gosaml2's dependency, github.com/beevik/etree:

https://github.com/beevik/etree/commit/4a2f8b9d084c5fffa2fe44a73bd8efaf7dcda53a

Comment 4 Sam Fowler 2021-05-04 06:05:29 UTC
External Reference:

https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMRUSSELLHAERINGGOSAML2-608302

Comment 5 Product Security DevOps Team 2021-05-04 10:46:36 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2020-7731


Note You need to log in before you can comment on or make changes to this bug.