{"id":"UBUNTU-CVE-2024-45409","details":"The Ruby SAML library is for implementing the client side of a SAML authorization. Ruby-SAML in \u003c= 12.2 and 1.13.0 \u003c= 1.16.0 does not properly verify the signature of the SAML Response. An unauthenticated attacker with access to any signed saml document (by the IdP) can thus forge a SAML Response/Assertion with arbitrary contents. This would allow the attacker to log in as arbitrary user within the vulnerable system. This vulnerability is fixed in 1.17.0 and 1.12.3.","modified":"2026-02-04T03:37:47.118384Z","published":"2024-09-10T19:15:00Z","related":["USN-7309-1"],"upstream":["CVE-2024-45409"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-45409"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2024-45409"},{"type":"REPORT","url":"https://github.com/SAML-Toolkits/ruby-saml/security/advisories/GHSA-jw9c-mfg7-9rx2"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-7309-1"}],"affected":[{"package":{"name":"ruby-saml","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/ruby-saml@1.1.2-1ubuntu1+esm1?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.2-1ubuntu1+esm1"}]}],"versions":["0.9.2-1","1.0.0-1","1.1.2-1ubuntu1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_version":"1.1.2-1ubuntu1+esm1","binary_name":"ruby-saml"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-45409.json"}},{"package":{"name":"ruby-saml","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/ruby-saml@1.7.2-1ubuntu0.1~esm1?arch=source&distro=esm-apps/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.7.2-1ubuntu0.1~esm1"}]}],"versions":["1.4.1-1","1.7.2-1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_version":"1.7.2-1ubuntu0.1~esm1","binary_name":"ruby-saml"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-45409.json"}},{"package":{"name":"ruby-saml","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/ruby-saml@1.11.0-1ubuntu0.1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.11.0-1ubuntu0.1"}]}],"versions":["1.7.2-1","1.11.0-1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"1.11.0-1ubuntu0.1","binary_name":"ruby-saml"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-45409.json"}},{"package":{"name":"ruby-saml","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/ruby-saml@1.13.0-1ubuntu0.1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.13.0-1ubuntu0.1"}]}],"versions":["1.11.0-1","1.13.0-1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"1.13.0-1ubuntu0.1","binary_name":"ruby-saml"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-45409.json"}},{"package":{"name":"ruby-saml","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/ruby-saml@1.15.0-1ubuntu0.24.04.1?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.15.0-1ubuntu0.24.04.1"}]}],"versions":["1.15.0-1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"1.15.0-1ubuntu0.24.04.1","binary_name":"ruby-saml"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-45409.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N"},{"type":"Ubuntu","score":"medium"}]}