PT-2020-19733 · Russell Haering · Goxmldsig+1

·

CVE-2020-7711

·

Published

2020-08-23

·

Updated

2022-11-15

CVSS v3.1

7.5

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions github.com/russellhaering/goxmldsig versions prior to 1.1.1 github.com/russellhaering/gosaml2 versions prior to 0.7.0
Description The issue is caused by a nil-pointer dereference when sending malformed XML signatures, leading to a crash. This can be used as a denial of service vector if user-supplied signatures are being validated. The problem occurs when an attacker supplies an invalid assertion, triggering a panic.
Recommendations For github.com/russellhaering/goxmldsig versions prior to 1.1.1, update to version 1.1.1 to resolve the issue. For github.com/russellhaering/gosaml2 versions prior to 0.7.0, update to version 0.7.0 to resolve the issue. As a temporary workaround for github.com/russellhaering/gosaml2, callers can use recover() to handle panics and mitigate the potential denial of service vector.

Exploit

Fix

NULL Pointer Dereference

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2020-7711
GHSA-GQ5R-CC4W-G8XF
GHSA-MQQV-CHPX-VQ25
GHSA-PRJQ-F4Q3-FVFR
GO-2020-0046
SNYK-GOLANG-GITHUBCOMRUSSELLHAERINGGOSAML2-608302
SNYK-GOLANG-GITHUBCOMRUSSELLHAERINGGOXMLDSIG-608301

Affected Products

Gosaml2
Goxmldsig