{"id":"CVE-2020-7711","aliases":["DEBIAN-CVE-2020-7711","EUVD-2022-7133","GHSA-gq5r-cc4w-g8xf","GHSA-mqqv-chpx-vq25","GO-2020-0046","SNYK-GOLANG-GITHUBCOMRUSSELLHAERINGGOSAML2-608302","UBUNTU-CVE-2020-7711"],"status":"published","title":"Denial of Service (DoS)","description":"This affects all versions of package github.com/russellhaering/goxmldsig. There is a crash on nil-pointer dereference caused by sending malformed XML signatures.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-13","score":0.01804,"percentile":0.78887,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-476"],"published":"2020-08-23T13:35:12Z","modified":"2026-10-26T12:02:15Z","fixes":[{"ecosystem":"Go","package":"github.com/russellhaering/goxmldsig","fixed_in":["1.1.1"],"sources":["ghsa"]},{"ecosystem":"Go","package":"github.com/russellhaering/gosaml2","fixed_in":["0.7.0"],"sources":["ghsa"]},{"ecosystem":"Debian:12","package":"golang-github-russellhaering-goxmldsig","fixed_in":["1.1.1-1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/russellhaering/goxmldsig","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.1"}]}]},{"source":"ghsa","ecosystem":"Go","package":"github.com/russellhaering/gosaml2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.7.0"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"golang-github-russellhaering-goxmldsig","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.1-1"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/russellhaering/goxmldsig","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.1.1"}]}],"bundled":2},{"source":"osv","ecosystem":"Go","package":"github.com/russellhaering/gosaml2","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.7.0"}]}],"bundled":2},{"source":"osv","ecosystem":"Go","package":"github.com/russellhaering/gosaml2","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.7.0"}]}],"bundled":2},{"source":"osv","ecosystem":"Go","package":"github.com/russellhaering/goxmldsig","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.1.1"}]}],"bundled":2},{"source":"osv","ecosystem":"Go","package":"github.com/russellhaering/goxmldsig","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.1.1"}]}],"bundled":2},{"source":"osv","ecosystem":"Go","package":"github.com/russellhaering/gosaml2","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.7.0"}]}],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"golang-github-russellhaering-goxmldsig","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.0~git20170911.b7efc62-1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"golang-github-russellhaering-goxmldsig","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.0~git20170911.b7efc62-1","0.0~git20180430.7acd5e4-1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"golang-github-russellhaering-goxmldsig","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.1.0-1","1.1.1-1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"golang-github-russellhaering-goxmldsig","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.0-1"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"golang-github-russellhaering-goxmldsig","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.0-1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"golang-github-russellhaering-goxmldsig","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.0-1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"golang-github-russellhaering-goxmldsig","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.0-1"]}],"products":[{"vendor":"goxmldsig_project","product":"goxmldsig"}],"references":[{"url":"https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMRUSSELLHAERINGGOXMLDSIG-608301","tags":["x_refsource_MISC","x_transferred","Broken Link","advisory","web","report"]},{"url":"https://github.com/russellhaering/goxmldsig/issues/48","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7731","tags":["advisory"]},{"url":"https://github.com/russellhaering/gosaml2/issues/59","tags":["fix","web"]},{"url":"https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMRUSSELLHAERINGGOSAML2-608302","tags":["advisory","web"]},{"url":"https://github.com/russellhaering/gosaml2/pull/90","tags":["web"]},{"url":"https://github.com/russellhaering/gosaml2/commit/66e3b7affd622b8b24ea1e18845f045e46b23424","tags":["web"]},{"url":"https://github.com/russellhaering/gosaml2/releases/tag/v0.7.0","tags":["web"]},{"url":"https://github.com/advisories/GHSA-gq5r-cc4w-g8xf"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7711","tags":["advisory"]},{"url":"https://pkg.go.dev/vuln/GO-2020-0046","tags":["web"]},{"url":"https://github.com/advisories/GHSA-mqqv-chpx-vq25"},{"url":"https://security-tracker.debian.org/tracker/CVE-2020-7711","tags":["advisory"]},{"url":"https://github.com/russellhaering/gosaml2","tags":["package"]},{"url":"https://github.com/russellhaering/goxmldsig","tags":["package"]},{"url":"https://github.com/russellhaering/gosaml2/security/advisories/GHSA-prjq-f4q3-fvfr","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2020-7711","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-7711","tags":["report"]},{"url":"https://github.com/russellhaering/goxmldsig/pull/71","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2020-7711","title":"Denial of Service (DoS)","description":"This affects all versions of package github.com/russellhaering/goxmldsig. There is a crash on nil-pointer dereference caused by sending malformed XML signatures.","status":"published","published":"2020-08-23T13:35:12.024Z","modified":"2024-09-17T02:15:47.899Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P","level":"high","assessor":"cna"}],"updated_at":"2026-11-02T14:35:58.331892Z"}],"euvd":[{"id":"EUVD-2022-7133","description":"This affects all versions of package github.com/russellhaering/goxmldsig. There is a crash on nil-pointer dereference caused by sending malformed XML signatures.","status":"published","published":"2020-08-23T13:35:12Z","modified":"2024-09-17T02:15:47Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P","level":"high"}],"updated_at":"2026-11-03T00:28:42.412483Z"}],"ghsa":[{"id":"GHSA-gq5r-cc4w-g8xf","title":"Duplicate Advisory: gosaml2 is vulnerable to NULL Pointer Dereference from malformed XML signatures","description":"## Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-prjq-f4q3-fvfr. This link is maintained to preserve external references.\n\n## Original Description\nThis affects all versions less than 0.7.0 of package github.com/russellhaering/gosaml2. There is a crash on null pointer dereference caused by sending malformed XML signatures.","status":"withdrawn","published":"2021-06-23T17:25:08Z","modified":"2024-05-30T05:04:30Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-476"],"updated_at":"2026-11-02T14:37:52.2286Z"},{"id":"GHSA-mqqv-chpx-vq25","title":"goxmldsig vulnerable to crash on nil-pointer dereference caused by sending malformed XML signatures","description":"This affects all versions of package github.com/russellhaering/goxmldsig prior to 1.1.1. There is a crash on nil-pointer dereference caused by sending malformed XML signatures. This issue is patched in version 1.1.1.","status":"published","published":"2022-10-07T07:17:56Z","modified":"2024-05-20T19:24:50Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-476"],"updated_at":"2026-11-02T14:37:50.750599Z"}],"nvd":[{"id":"CVE-2020-7711","description":"This affects all versions of package github.com/russellhaering/goxmldsig. There is a crash on nil-pointer dereference caused by sending malformed XML signatures.","status":"published","published":"2020-08-23T14:15:09.573Z","modified":"2026-06-17T03:25:18.563Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"secondary"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-476"],"updated_at":"2026-11-02T14:06:13.05572Z"}],"osv":[{"id":"CVE-2020-7711","description":"This affects all versions of package github.com/russellhaering/goxmldsig. There is a crash on nil-pointer dereference caused by sending malformed XML signatures.","status":"published","published":"2020-08-23T14:15:09.573Z","modified":"2026-07-08T06:49:53.037130195Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:17.34531Z"},{"id":"CVE-2020-7731","description":"This affects all versions \u003c0.7.0 of package github.com/russellhaering/gosaml2. There is a crash on nil-pointer dereference caused by sending malformed XML signatures.","status":"published","published":"2021-04-30T16:15:07.547Z","modified":"2026-10-20T10:54:24.803431465Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:17.34531Z"},{"id":"DEBIAN-CVE-2020-7711","description":"This affects all versions of package github.com/russellhaering/goxmldsig. There is a crash on nil-pointer dereference caused by sending malformed XML signatures.","status":"published","published":"2020-08-23T14:15:09.573Z","modified":"2026-10-26T12:02:15.320881078Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:34.311861Z"},{"id":"GHSA-gq5r-cc4w-g8xf","title":"Duplicate Advisory: gosaml2 is vulnerable to NULL Pointer Dereference from malformed XML signatures","description":"## Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-prjq-f4q3-fvfr. This link is maintained to preserve external references.\n\n## Original Description\nThis affects all versions less than 0.7.0 of package github.com/russellhaering/gosaml2. There is a crash on null pointer dereference caused by sending malformed XML signatures.","status":"withdrawn","published":"2021-06-23T17:25:08Z","modified":"2026-07-08T06:49:53.037130195Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-476"],"updated_at":"2026-11-02T15:46:48.191583Z"},{"id":"GHSA-mqqv-chpx-vq25","title":"goxmldsig vulnerable to crash on nil-pointer dereference caused by sending malformed XML signatures","description":"This affects all versions of package github.com/russellhaering/goxmldsig prior to 1.1.1. There is a crash on nil-pointer dereference caused by sending malformed XML signatures. This issue is patched in version 1.1.1.","status":"published","published":"2022-10-07T07:17:56Z","modified":"2026-07-08T06:49:53.037130195Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-476"],"updated_at":"2026-11-02T15:46:52.170928Z"},{"id":"GHSA-prjq-f4q3-fvfr","title":"github.com/russellhaering/gosaml2 is vulnerable to NULL Pointer Dereference","description":"### Impact\nIn versions prior to v0.7.0 it was possible for an attacker to supply an invalid assertion which would trigger a panic due to a nil-pointer dereference.\n\n### Patches\nThe issue was patched in v0.7.0, released on March 2, 2022.\n\n### Workarounds\nCallers to `gosaml2` can use `recover()` to handle panics to mitigate a potential DoS.\n\n### References\nSee issue [#59](https://github.com/russellhaering/gosaml2/issues/59) for details.","status":"published","published":"2022-11-15T19:05:07Z","modified":"2026-07-08T06:49:53.037130195Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-476"],"updated_at":"2026-11-02T15:46:53.700556Z"},{"id":"UBUNTU-CVE-2020-7711","description":"This affects all versions of package github.com/russellhaering/goxmldsig. There is a crash on nil-pointer dereference caused by sending malformed XML signatures.","status":"published","published":"2020-08-23T14:15:00Z","modified":"2026-10-17T12:56:57.15525978Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:25.728622Z"},{"id":"GO-2020-0046","title":"Panic due to malformed XML digital signature in github.com/russellhaering/goxmldsig","description":"Due to a nil pointer dereference, a malformed XML Digital Signature can cause a panic during validation. If user supplied signatures are being validated, this may be used as a denial of service vector.","status":"published","published":"2021-04-14T20:04:52Z","modified":"2026-07-08T06:49:53.037130195Z","updated_at":"2026-11-02T15:47:00.604718Z"}]}}
