59 matches found
DHI-CKU3-R4FA-5ALK-RSZ2 gosaml2 is a Pure Go implementation of SAML 2.0. Prior to 0.12.0, ValidateEncodedResponse() calls decryptAssertions()…
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/encryptedassertion.go slices decoded ciphertext without first...
Gosaml2: Unauthenticated Panic Decrypting An EncryptedAssertion With A Short Or Empty CipherValue
Summary An attacker who can supply a crafted SAML Response for parsing can crash a "gosaml2" service provider by sending an "EncryptedAssertion" with AES-GCM encryption metadata and a "CipherValue" shorter than the GCM nonce size 12 bytes. The library panics with "slice bounds out of range" befor...
EUVD-2026-127368
gosaml2: Unauthenticated panic decrypting an EncryptedAssertion with a short or empty CipherValue...
gosaml2: Unauthenticated panic decrypting an EncryptedAssertion with a short or empty CipherValue
Summary An attacker who can supply a crafted SAML Response for parsing can crash a gosaml2 service provider by sending an EncryptedAssertion with AES-GCM encryption metadata and a CipherValue shorter than the GCM nonce size 12 bytes. The library panics with slice bounds out of range before any...
GHSA-5HJ8-Q7FV-QRJ6 gosaml2: Unauthenticated panic decrypting an EncryptedAssertion with a short or empty CipherValue
Summary An attacker who can supply a crafted SAML Response for parsing can crash a gosaml2 service provider by sending an EncryptedAssertion with AES-GCM encryption metadata and a CipherValue shorter than the GCM nonce size 12 bytes. The library panics with slice bounds out of range before any...
CVE-2026-128073
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/encryptedassertion.go slices decoded ciphertext without first...
CVE-2026-128073 gosaml2: Unauthenticated panic decrypting an EncryptedAssertion with a short or empty CipherValue
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/encryptedassertion.go slices decoded ciphertext without first...
CVE-2026-128073 gosaml2: Unauthenticated panic decrypting an EncryptedAssertion with a short or empty CipherValue
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/encryptedassertion.go slices decoded ciphertext without first...
CVE-2026-128073
The gosaml2 SAML 2.0 implementation (prior to version 0.12.0 ) is vulnerable to an unauthenticated panic during the decryption of an EncryptedAssertion . The root cause is located in types/encrypted_assertion.go within the DecryptBytes() function, which fails to validate the length of the nonce o...
CVE-2026-128073
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/encryptedassertion.go slices decoded ciphertext without first...
CVE-2026-128073 gosaml2: Unauthenticated panic decrypting an EncryptedAssertion with a short or empty CipherValue
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/encryptedassertion.go slices decoded ciphertext without first...
PT-2026-149252
Name of the Vulnerable Software and Affected Versions gosaml2 versions prior to 0.12.0 Description The ValidateEncodedResponse function calls decryptAssertions on an EncryptedAssertion before completing signature or content validation. Within types/encrypted assertion.go, the...
CVE-2026-128073: russellhaering gosaml2: gosaml2 is a Pure Go implementation of SAML 2.0
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/encryptedassertion.go slices decoded ciphertext without first...
GHSA-RGQ2-93GJ-FFXG Casdoor doesn't enforce SAML assertion time bounds
Casdoor versions 2.362.0 and earlier do not enforce SAML assertion time bounds. The gosaml2 library reports all time-validation results, including NotOnOrAfter and NotBefore, in the assertionInfo.WarningInfo field. However, ParseSamlResponse never reads this field, meaning that time bounds are...
Casdoor doesn't enforce SAML assertion time bounds
Casdoor versions 2.362.0 and earlier do not enforce SAML assertion time bounds. The gosaml2 library reports all time-validation results, including NotOnOrAfter and NotBefore, in the assertionInfo.WarningInfo field. However, ParseSamlResponse never reads this field, meaning that time bounds are...
CVE-2026-9096
Casdoor versions 2.362.0 and earlier are vulnerable to insufficient session expiration because they fail to enforce SAML assertion time bounds . Although the gosaml2 library correctly computes time-validation results (such as NotOnOrAfter and NotBefore ), the ParseSamlResponse() function fails to...
Casdoor security vulnerability
Casdoor is an open-source platform developed by Casdoor that supports various authentication and authorization protocols. Versions of Casdoor prior to 2.362.0 contained a security vulnerability. This vulnerability stemmed from the lack of enforcement of SAML assertion time ranges. The gosaml2...
GO-2026-4764 Unsigned SAML LogoutRequest Acceptance in gosaml2 in github.com/russellhaering/gosaml2
Unsigned SAML LogoutRequest Acceptance in gosaml2 in github.com/russellhaering/gosaml2...
GO-2026-4760 CBC Padding Panic — Unauthenticated Process Crash in github.com/russellhaering/gosaml2
CBC Padding Panic — Unauthenticated Process Crash in github.com/russellhaering/gosaml2...
GHSA-PCGW-QCV5-H8CH Unsigned SAML LogoutRequest Acceptance in gosaml2
Summary The ValidateEncodedLogoutRequestPOST function in gosaml2 accepts completely unsigned SAML LogoutRequest messages even when SkipSignatureValidation is set to false. When validateElementSignature returns dsig.ErrMissingSignature, the code in decodelogoutrequest.go:60-62 silently falls throu...