CVE-2024-45409Onelogin Ruby-saml
Critical 9.8 No auth needed
Follow: this CVE · Onelogin · Onelogin Ruby-saml We alert you by email or Slack (account required).
- Priority
- 75
- CVSS 3.1
- 9.8
- EPSS
- 9.2% probability of exploitation in 30 days · percentile 96
- Auth required
- No
- Published
- Sep 10, 2024
- Updated
- Nov 4, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-347
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Ruby-saml.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| RubyGems | ruby-saml |
< 1.12.3 |
1.12.3 |
gem "ruby-saml", ">= 1.12.3" |
| RubyGems | ruby-saml |
≥ 1.13.0 < 1.17.0 |
1.17.0 |
gem "ruby-saml", ">= 1.17.0" |
Per OSV / GitHub Advisories (GHSA-jw9c-mfg7-9rx2). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| onelogin | ruby-saml | < 1.12.3 |
| onelogin | ruby-saml | ≥ 1.13.0 < 1.17.0 |
| omniauth | omniauth_saml | ≤ 1.10.3 |
| omniauth | omniauth_saml | 2.0.0 |
| omniauth | omniauth_saml | 2.1.0 |
| gitlab | gitlab | < 16.11.10 |
| gitlab | gitlab | ≥ 17.0.0 < 17.0.8 |
| gitlab | gitlab | ≥ 17.1.0 < 17.1.8 |
| gitlab | gitlab | ≥ 17.2.0 < 17.2.7 |
| gitlab | gitlab | ≥ 17.3.0 < 17.3.3 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Patch
- github.com Vendor Advisory
- github.com Vendor Advisory
- lists.debian.org
- news.ycombinator.com
- security.netapp.com
- ssoready.com