SCA: security update for github.com/russellhaering/gosaml2 (GHSA-5hj8-q7fv-qrj6)

high Tenable Self-Hosted Container Security Plugin ID 480921

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- gosaml2 is a Pure Go implementation of SAML 2.0. Prior to 0.12.0, ValidateEncodedResponse() calls
decryptAssertions() on an EncryptedAssertion before signature or content validation completes, and
EncryptedAssertion.DecryptBytes() in types/encrypted_assertion.go slices decoded ciphertext without first
validating the required nonce or initialization-vector length. A CipherValue shorter than the 12-byte AES-
GCM nonce causes a slice-bounds panic, and an empty AES-CBC CipherValue passes the modulo block-size check
before causing a slice-bounds panic at the 16-byte initialization-vector split. An attacker needs only the
service provider's public certificate to wrap a symmetric key, and no valid identity-provider signature or
relationship is required. The unrecovered panic can terminate the request goroutine or the service
process. This issue is fixed in version 0.12.0. (CVE-2026-128073)

Solution

Update the github.com/russellhaering/gosaml2 library and its related packages to version 0.12.0 or later.

See Also

https://github.com/advisories/GHSA-5hj8-q7fv-qrj6

Plugin Details

Severity: High

ID: 480921

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 11/20/2026

Updated: 11/20/2026

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.87

Vendor

Vendor Severity: High

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS Score Source: CVE-2026-128073

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 11/19/2026

Vulnerability Publication Date: 11/17/2026

Reference Information

CVE: CVE-2026-128073