VDB
Sign up
HIGH7.5

GHSA-36p7-xjw8-h6f2

Ruby-saml allows attackers to perform XML signature wrapping attacks

Quick fix

GHSA-36p7-xjw8-h6f2 — ruby-saml: upgrade to the fixed version with the command below.

bundle update ruby-saml

Details

ruby-saml prior to version 1.3.0 is vulnerable to an XML signature wrapping attack in the specific scenario where there was a signature that referenced at the same time 2 elements (but past the scheme validator process since 1 of the element was inside the encrypted assertion). ruby-saml users must update to 1.3.0, which implements 3 extra validations to mitigate this kind of attack.

Are you affected?

Enter the version of the package you're using.

Affected packages

RubyGems/ruby-saml
Introduced in: 0Fixed in: 1.3.0
Fixbundle update ruby-saml

References