GHSA-prjq-f4q3-fvfr

Suggest an improvement
Source
https://github.com/advisories/GHSA-prjq-f4q3-fvfr
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/11/GHSA-prjq-f4q3-fvfr/GHSA-prjq-f4q3-fvfr.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-prjq-f4q3-fvfr
Aliases
Published
2022-11-15T19:05:07Z
Modified
2025-01-14T08:57:23.217115Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
github.com/russellhaering/gosaml2 is vulnerable to NULL Pointer Dereference
Details

Impact

In 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.

Patches

The issue was patched in v0.7.0, released on March 2, 2022.

Workarounds

Callers to gosaml2 can use recover() to handle panics to mitigate a potential DoS.

References

See issue #59 for details.

Database specific
{
    "nvd_published_at": null,
    "cwe_ids": [
        "CWE-476"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2022-11-15T19:05:07Z"
}
References

Affected packages

Go / github.com/russellhaering/gosaml2

Package

Name
github.com/russellhaering/gosaml2
View open source insights on deps.dev
Purl
pkg:golang/github.com/russellhaering/gosaml2

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.7.0

Go / github.com/russellhaering/goxmldsig

Package

Name
github.com/russellhaering/goxmldsig
View open source insights on deps.dev
Purl
pkg:golang/github.com/russellhaering/goxmldsig

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.1.1