{"schemaVersion":3,"id":"CVE-2024-45409","aliases":["UBUNTU-CVE-2024-45409","DEBIAN-CVE-2024-45409","DLA-3949-1","DSA-5774-1","GHSA-jw9c-mfg7-9rx2","BIT-gitlab-2024-45409"],"status":"published","duplicateOf":null,"title":null,"description":"The Ruby SAML library is for implementing the client side of a SAML authorization. Ruby-SAML in <= 12.2 and 1.13.0 <= 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.","dates":{"published":"2024-09-10T18:50:12.965Z","modified":"2024-11-11T17:02:31.329Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":10,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":10,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":10,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N","exploitability":10,"impact":9.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Rubygems","score":9.9,"severity":"critical","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Rubygems","score":10,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N","exploitability":10,"impact":9.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.10684,"percentile":0.95781,"severity":"medium","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.10684},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.10684,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.10684,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.10684,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.10684,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.10684,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.10684,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.10684,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.10684,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.10684,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.10684,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.10684,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.10684,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.10684,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.10684,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.10684,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.10684,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.10684,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.10684,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.10684,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.10684,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.10684,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.10684,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.10684,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.10684,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.10684,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.10684,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.10684,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.10684,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.10684,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.10684,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.10684,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.10684,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.10684,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.10684,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.10684,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.10684,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.10684,"percentile":0.95781}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.10684,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.10684,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.10684,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.10684,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.10684,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.10684,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.10684,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.10684,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.10684,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.10684,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.10684,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.10684,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.10684,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.10684,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.10684,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.10684,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.10684,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.10684,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.10684,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.10684,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.10684,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.10684,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.10684,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.10684,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.10684,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.10684,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.10684,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.10684,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.10684,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.10684,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.10684,"percentile":0.95781}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-347","name":"Improper Verification of Cryptographic Signature","description":"The product does not verify, or incorrectly verifies, the cryptographic signature for data.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/347.html"}],"affected":[{"vendor":"debian","product":"ruby-saml","name":"ruby-saml","label":"ruby-saml","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/ruby-saml","purlType":"deb","versions":[{"text":"< 1.13.0-1+deb12u1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.11.0-1+deb11u1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.13.0-1+deb12u1 | < 1.11.0-1+deb11u1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"ruby-saml","name":"ruby-saml","label":"ruby-saml","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/ruby-saml","purlType":"deb","versions":[{"text":"< 1.1.2-1ubuntu1+esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.7.2-1ubuntu0.1~esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.11.0-1ubuntu0.1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.13.0-1ubuntu0.1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.15.0-1ubuntu0.24.04.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.1.2-1ubuntu1+esm1 | < 1.7.2-1ubuntu0.1~esm1 | < 1.11.0-1ubuntu0.1 | < 1.13.0-1ubuntu0.1 | < 1.15.0-1ubuntu0.24.04.1","eol":null,"hubHref":null},{"vendor":"RubyGems","product":"ruby-saml","name":"ruby-saml","label":"ruby-saml","ecosystem":"RubyGems","cpePart":null,"purl":"pkg:gem/ruby-saml","purlType":"gem","versions":[{"text":"< 1.12.3","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.13.0, < 1.17.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.12.3 | ≥ 1.13.0, < 1.17.0","eol":null,"hubHref":null},{"vendor":"gitlab","product":"gitlab","name":"gitlab","label":"gitlab","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 16.11.10","noFixRecorded":false,"fixedIn":null},{"text":"≥ 17.0.0, < 17.0.8","noFixRecorded":false,"fixedIn":null},{"text":"≥ 17.1.0, < 17.1.8","noFixRecorded":false,"fixedIn":null},{"text":"≥ 17.2.0, < 17.2.7","noFixRecorded":false,"fixedIn":null},{"text":"≥ 17.3.0, < 17.3.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 16.11.10 | ≥ 17.0.0, < 17.0.8 | ≥ 17.1.0, < 17.1.8 | ≥ 17.2.0, < 17.2.7 | ≥ 17.3.0, < 17.3.3","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"gitlab","label":"GitLab","category":"server-app"}},"hubHref":"/vendor/gitlab/gitlab"},{"vendor":"omniauth","product":"omniauth_saml","name":"omniauth saml","label":"omniauth_saml","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 1.10.3","noFixRecorded":false,"fixedIn":null},{"text":"2.0.0","noFixRecorded":false,"fixedIn":null},{"text":"2.1.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 1.10.3 | 2.0.0 | 2.1.0","eol":null,"hubHref":"/vendor/omniauth/omniauth_saml"},{"vendor":"onelogin","product":"ruby-saml","name":"ruby-saml","label":"ruby-saml","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.12.3","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.13.0, < 1.17.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.12.3 | ≥ 1.13.0, < 1.17.0","eol":null,"hubHref":"/vendor/onelogin/ruby-saml"},{"vendor":"saml-toolkits","product":"ruby-saml","name":"ruby-saml","label":"ruby-saml","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.12.3","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.13.0, < 1.17.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.12.3 | ≥ 1.13.0, < 1.17.0","eol":null,"hubHref":"/vendor/saml-toolkits/ruby-saml"}],"affectedCount":7,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/SAML-Toolkits/ruby-saml/security/advisories/GHSA-jw9c-mfg7-9rx2","label":"github.com/SAML-Toolkits/ruby-saml/security/advisories/GHSA-jw9c-mfg7-9rx2","hostname":"github.com","tags":["X Refsource CONFIRM","REPORT","WEB","Vendor Advisory"]},{"url":"https://github.com/omniauth/omniauth-saml/security/advisories/GHSA-cvp8-5r8g-fhvq","label":"github.com/omniauth/omniauth-saml/security/advisories/GHSA-cvp8-5r8g-fhvq","hostname":"github.com","tags":["X Refsource MISC","WEB","Vendor Advisory"]},{"url":"https://github.com/SAML-Toolkits/ruby-saml/commit/1ec5392bc506fe43a02dbb66b68741051c5ffeae","label":"github.com/SAML-Toolkits/ruby-saml/commit/1ec5392bc506fe43a02dbb66b68741051c5ffeae","hostname":"github.com","tags":["X Refsource MISC","WEB","Patch"]},{"url":"https://github.com/SAML-Toolkits/ruby-saml/commit/4865d030cae9705ee5cdb12415c654c634093ae7","label":"github.com/SAML-Toolkits/ruby-saml/commit/4865d030cae9705ee5cdb12415c654c634093ae7","hostname":"github.com","tags":["X Refsource MISC","WEB","Patch"]},{"url":"https://ssoready.com/blog/engineering/ruby-saml-pwned-by-xml-signature-wrapping-attacks/","label":"ssoready.com/blog/engineering/ruby-saml-pwned-by-xml-signature-wrapping-attacks/","hostname":"ssoready.com","tags":[]},{"url":"https://news.ycombinator.com/item?id=41586031","label":"news.ycombinator.com/item?id=41586031","hostname":"news.ycombinator.com","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20240926-0008/","label":"security.netapp.com/advisory/ntap-20240926-0008/","hostname":"security.netapp.com","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2024/11/msg00006.html","label":"lists.debian.org/debian-lts-announce/2024/11/msg00006.html","hostname":"lists.debian.org","tags":[]},{"url":"https://ubuntu.com/security/CVE-2024-45409","label":"ubuntu.com/security/CVE-2024-45409","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-45409","label":"www.cve.org/CVERecord?id=CVE-2024-45409","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-7309-1","label":"ubuntu.com/security/notices/USN-7309-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2024-45409","label":"security-tracker.debian.org/tracker/CVE-2024-45409","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-45409","label":"nvd.nist.gov/vuln/detail/CVE-2024-45409","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/omniauth/omniauth-saml/commit/4274e9d57e65f2dcaae4aa3b2accf831494f2ddd","label":"github.com/omniauth/omniauth-saml/commit/4274e9d57e65f2dcaae4aa3b2accf831494f2ddd","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/SAML-Toolkits/ruby-saml","label":"github.com/SAML-Toolkits/ruby-saml","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/omniauth-saml/CVE-2024-45409.yml","label":"github.com/rubysec/ruby-advisory-db/blob/master/gems/omniauth-saml/CVE-2024-45409.yml","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/omniauth-saml/GHSA-cvp8-5r8g-fhvq.yml","label":"github.com/rubysec/ruby-advisory-db/blob/master/gems/omniauth-saml/GHSA-cvp8-5r8g-fhvq.yml","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/ruby-saml/CVE-2024-45409.yml","label":"github.com/rubysec/ruby-advisory-db/blob/master/gems/ruby-saml/CVE-2024-45409.yml","hostname":"github.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":["USN-7309-1"],"duplicates":[],"related":["CGA-3JR3-FGVC-C6FC","CGA-3QVQ-CGM9-2FJM","CGA-C248-8JPV-VH67","CGA-J736-FPJH-3JX2","CGA-VG9W-P4QW-2RF3","CGA-VJV4-WJRG-9MQ2","CGA-XX54-4HXP-H89X","GHSA-CVP8-5R8G-FHVQ","USN-7309-1"]},"timeline":[{"kind":"published","date":"2024-09-10T18:50:12.965Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-11-11T17:02:31.329Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T16:13:06.538Z","stale":false,"partial":false}}